X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=Makefile;h=3974ce8bfab8b30a78aa4e8eef9f7ce59f285597;hb=57239593796b186e3435720ae72becc11496e8f0;hp=1a30e2579815269675b30e5e2d0dd6303771c508;hpb=4e16f2eed91ce720b36dbe331fe0b6b5ecc5885a;p=lttng-modules.git diff --git a/Makefile b/Makefile index 1a30e257..3974ce8b 100644 --- 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,9 +27,12 @@ modules_install: clean: $(MAKE) -C $(KERNELDIR) M=$(PWD)/src clean -# The following target is used for development and debugging. It's not part of -# the build system. +# The following targets are used for development and debugging. They are not +# part of the build system. %.i: %.c $(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