diff options
-rw-r--r-- | Kbuild | 6 | ||||
-rw-r--r-- | Makefile | 1 |
2 files changed, 4 insertions, 3 deletions
@@ -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 | ||
91 | always += missing-syscalls | ||
92 | targets += missing-syscalls | ||
93 | |||
91 | quiet_cmd_syscalls = CALL $< | 94 | quiet_cmd_syscalls = CALL $< |
92 | cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) | 95 | cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) |
93 | 96 | ||
94 | PHONY += missing-syscalls | 97 | missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE |
95 | missing-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 |
@@ -983,7 +983,6 @@ archprepare: prepare1 scripts_basic | |||
983 | 983 | ||
984 | prepare0: archprepare FORCE | 984 | prepare0: archprepare FORCE |
985 | $(Q)$(MAKE) $(build)=. | 985 | $(Q)$(MAKE) $(build)=. |
986 | $(Q)$(MAKE) $(build)=. missing-syscalls | ||
987 | 986 | ||
988 | # All the preparing.. | 987 | # All the preparing.. |
989 | prepare: prepare0 | 988 | prepare: prepare0 |