All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH testsuite 1/2] tests/module_load: simplify the clean target
@ 2021-09-06 10:54 Ondrej Mosnacek
  2021-09-06 10:54 ` [PATCH testsuite 2/2] tests/module_load: use the right compiler to build kernel modules Ondrej Mosnacek
  2021-09-11 18:34 ` [PATCH testsuite 1/2] tests/module_load: simplify the clean target Ondrej Mosnacek
  0 siblings, 2 replies; 3+ messages in thread
From: Ondrej Mosnacek @ 2021-09-06 10:54 UTC (permalink / raw)
  To: selinux

No need to guess all the wildcards to remove the intermediate files from
module build - we can just use the kernel module build system to clean
them up for us.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
---
 tests/module_load/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/module_load/Makefile b/tests/module_load/Makefile
index b6eba25..ce34241 100644
--- a/tests/module_load/Makefile
+++ b/tests/module_load/Makefile
@@ -9,4 +9,4 @@ all: $(TARGETS)
 
 clean:
 	rm -f $(TARGETS)
-	rm -f *.a *.o *.ko *.cmd *.mod *.mod.c .*.cmd Module.symvers modules.order
+	$(MAKE) -C $(KDIR) M=$(PWD) clean
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-11 18:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-06 10:54 [PATCH testsuite 1/2] tests/module_load: simplify the clean target Ondrej Mosnacek
2021-09-06 10:54 ` [PATCH testsuite 2/2] tests/module_load: use the right compiler to build kernel modules Ondrej Mosnacek
2021-09-11 18:34 ` [PATCH testsuite 1/2] tests/module_load: simplify the clean target Ondrej Mosnacek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.