From cc422983fc29e667b2454b701748dc9beab8b7db Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Fri, 30 Apr 2021 11:28:13 -0400 Subject: [PATCH] Makefile: add .o wildcard target Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers Change-Id: Ia421852ef9f778d79d810a36c45daaba27727efb --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1a30e257..dd40e0bb 100644 --- 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 -- 2.34.1