diff options
Diffstat (limited to 'runtime/uprobes/Makefile')
-rw-r--r-- | runtime/uprobes/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/uprobes/Makefile b/runtime/uprobes/Makefile index 40af7aa2..a9630e5a 100644 --- a/runtime/uprobes/Makefile +++ b/runtime/uprobes/Makefile @@ -1,8 +1,9 @@ obj-m := uprobes.o KDIR := /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) -DEPENDENCIES := $(shell echo uprobes_arch.[ch] uprobes.[ch] uprobes_*.[ch]) -DEPENDENCIES += Makefile $(KDIR)/Module.symvers +DEPENDENCIES := $(shell echo uprobes.[ch] uprobes_*.[ch]) +DEPENDENCIES += $(shell echo ../uprobes2/uprobes.[ch] ../uprobes2/uprobes_*.[ch]) +DEPENDENCIES += Makefile default: $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules @@ -13,4 +14,5 @@ uprobes.ko: $(DEPENDENCIES) clean: rm -f *.mod.c *.ko *.o .*.cmd *~ + rm -f Module.markers modules.order Module.symvers rm -rf .tmp_versions |