aboutsummaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'Kbuild')
-rw-r--r--Kbuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/Kbuild b/Kbuild
index 2114113ceca2..b8b708ad6dc3 100644
--- a/Kbuild
+++ b/Kbuild
@@ -88,11 +88,13 @@ $(obj)/$(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s Kbuild
88# 3) Check for missing system calls 88# 3) Check for missing system calls
89# 89#
90 90
91always += missing-syscalls
92targets += missing-syscalls
93
91quiet_cmd_syscalls = CALL $< 94quiet_cmd_syscalls = CALL $<
92 cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) 95 cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) $(missing_syscalls_flags)
93 96
94PHONY += missing-syscalls 97missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
95missing-syscalls: scripts/checksyscalls.sh FORCE
96 $(call cmd,syscalls) 98 $(call cmd,syscalls)
97 99
98# Keep these two files during make clean 100# Keep these two files during make clean