aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2011-08-24 21:03:30 -0400
committerMichal Marek <mmarek@suse.cz>2011-11-01 19:24:01 -0400
commit5f7efb4c6da9f90cb306923ced2a6494d065a595 (patch)
tree09de567dace3a1d7beb425e4db280b01145e25f4
parent0359de7dd501f694f01b61364c9b633eab41f494 (diff)
Kbuild: append missing-syscalls to the default target list
This avoid an extra make invocation on `prepare0'. Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r--Kbuild6
-rw-r--r--Makefile1
2 files changed, 4 insertions, 3 deletions
diff --git a/Kbuild b/Kbuild
index 2114113ceca2..4caab4f6cba7 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)
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
diff --git a/Makefile b/Makefile
index ab38311014e6..2e78b0800334 100644
--- a/Makefile
+++ b/Makefile
@@ -983,7 +983,6 @@ archprepare: prepare1 scripts_basic
983 983
984prepare0: archprepare FORCE 984prepare0: 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..
989prepare: prepare0 988prepare: prepare0