Add defaults to Kconfig options
[lttng-modules.git] / Makefile
index 37eb389b4771a12331e5a85e28b59ecb99c154ea..3974ce8bfab8b30a78aa4e8eef9f7ce59f285597 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,6 @@ else # KERNELRELEASE
 
 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
 PWD := $(shell pwd)
-CFLAGS = $(EXTCFLAGS)
 
 default: modules
 
@@ -28,7 +27,12 @@ modules_install:
 clean:
        $(MAKE) -C $(KERNELDIR) M=$(PWD)/src clean
 
+# The following targets are used for development and debugging. They are not
+# part of the build system.
 %.i: %.c
-       $(MAKE) -C $(KERNELDIR) M=$(PWD)/src CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m $@
+       $(MAKE) -C $(KERNELDIR) M=$(PWD) CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m $@
+
+%.o: %.c
+       $(MAKE) -C $(KERNELDIR) M=$(PWD) CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m $@
 
 endif # KERNELRELEASE
This page took 0.022898 seconds and 4 git commands to generate.