X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2FMakefile;h=225803c39747d2790723af3fa7b37092361976db;hb=5b6852cbbae3e67d742454dd50c171332dbaaa75;hp=088cd5f107c6403a697e2b918fd68013ba4f82d0;hpb=b87700e318c27267890cbd6fb5e50b687279131b;p=lttng-modules.git diff --git a/probes/Makefile b/probes/Makefile index 088cd5f1..225803c3 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -8,7 +8,6 @@ ifneq ($(CONFIG_TRACEPOINTS),) ccflags-y += -I$(PWD)/probes obj-m += lttng-types.o -obj-m += lttng-probe-lttng.o obj-m += lttng-probe-sched.o obj-m += lttng-probe-irq.o obj-m += lttng-probe-timer.o @@ -189,10 +188,12 @@ endif obj-m += lttng-probe-workqueue.o +ifneq ($(CONFIG_KALLSYMS_ALL),) obj-m += $(shell \ if [ $(VERSION) -ge 3 \ -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 36 \) ] ; then \ echo "lttng-probe-writeback.o" ; fi;) +endif ifneq ($(CONFIG_KPROBES),)