Makefile: add .o wildcard target
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 30 Apr 2021 15:28:13 +0000 (11:28 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 30 Apr 2021 19:50:22 +0000 (15:50 -0400)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ia421852ef9f778d79d810a36c45daaba27727efb

Makefile

index 1a30e2579815269675b30e5e2d0dd6303771c508..dd40e0bbd4646543d04a7d593dead0317aba3708 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,9 +28,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
This page took 0.026053 seconds and 4 git commands to generate.