All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel: Clean up generated syscall_entries.h file
@ 2024-06-26 19:26 Richard Weinberger
  2024-06-27  6:29 ` Jan Kiszka
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Weinberger @ 2024-06-26 19:26 UTC (permalink / raw)
  To: xenomai; +Cc: upstream+xenomai, Richard Weinberger

Add it to the clean-files list, such that Kbuild will remove it
up make clean.
Also drop it from the target list, this variable seems unused
is most likely a copy&paste relict from the past.

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 kernel/cobalt/posix/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cobalt/posix/Makefile b/kernel/cobalt/posix/Makefile
index 5b4f3214a..9e2f3f6e0 100644
--- a/kernel/cobalt/posix/Makefile
+++ b/kernel/cobalt/posix/Makefile
@@ -31,7 +31,7 @@ quiet_cmd_syscall_entries = GEN     $@
 $(obj)/syscall_entries.h: $(syscall_entries) $(wildcard $(srctree)/$(src)/*.c) FORCE
 	$(call if_changed,syscall_entries)
 
-target += syscall_entries.h
+clean-files += syscall_entries.h
 
 $(obj)/syscall.o: $(obj)/syscall_entries.h
 
-- 
2.35.3


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

end of thread, other threads:[~2024-06-27 11:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26 19:26 [PATCH] kernel: Clean up generated syscall_entries.h file Richard Weinberger
2024-06-27  6:29 ` Jan Kiszka
2024-06-27  7:25   ` Richard Weinberger
2024-06-27  7:36     ` Jan Kiszka
2024-06-27  8:20       ` Richard Weinberger
2024-06-27 11:31         ` Jan Kiszka

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.