X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=Makefile;h=dd40e0bbd4646543d04a7d593dead0317aba3708;hb=e978f27486ddac0b9cbea5577fc413c67bc61141;hp=37eb389b4771a12331e5a85e28b59ecb99c154ea;hpb=600da0c9c2a133a3154bd5ad6df428d8e3256e30;p=lttng-modules.git diff --git a/Makefile b/Makefile index 37eb389b..dd40e0bb 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,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