Move headers under include/
[lttng-modules.git] / Makefile
index a96ab73cc2855a1e2fd1e5e05c3ab57061edf24e..9de6aed152cef0d6ad1012a08663f09bbb129544 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ ifneq ($(KERNELRELEASE),)
 
   include $(TOP_LTTNG_MODULES_DIR)/Kbuild.common
 
-  ccflags-y += -I$(TOP_LTTNG_MODULES_DIR)
+  ccflags-y += -I$(TOP_LTTNG_MODULES_DIR)/include
 
   obj-$(CONFIG_LTTNG) += lttng-ring-buffer-client-discard.o
   obj-$(CONFIG_LTTNG) += lttng-ring-buffer-client-overwrite.o
@@ -63,8 +63,8 @@ ifneq ($(KERNELRELEASE),)
                        lttng-context-interruptible.o \
                        lttng-context-need-reschedule.o \
                        lttng-context-callstack.o lttng-calibrate.o \
-                       lttng-context-hostname.o wrapper/random.o \
-                       probes/lttng.o wrapper/trace-clock.o \
+                       lttng-context-hostname.o \
+                       probes/lttng.o trace-clock.o \
                        lttng-tracker-id.o \
                        lttng-filter.o lttng-filter-interpreter.o \
                        lttng-filter-specialize.o \
@@ -89,10 +89,7 @@ ifneq ($(KERNELRELEASE),)
     lttng-tracer-objs += lttng-context-preemptible.o
   endif
 
-  lttng-tracer-objs += $(shell \
-    if [ $(VERSION) -ge 4 \
-      -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 15 \) ] ; then \
-      echo "lttng-tracepoint.o" ; fi;)
+  lttng-tracer-objs += lttng-tracepoint.o
 
   lttng-tracer-objs += lttng-context-cgroup-ns.o
 
This page took 0.023829 seconds and 4 git commands to generate.