From: Arnaud Lacombe Date: Thu, 25 Aug 2011 01:03:30 +0000 (-0400) Subject: Kbuild: append missing-syscalls to the default target list X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5f7efb4c6da9f90cb306923ced2a6494d065a595;p=linux-beck.git Kbuild: append missing-syscalls to the default target list This avoid an extra make invocation on `prepare0'. Signed-off-by: Arnaud Lacombe Signed-off-by: Michal Marek --- 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 # 3) Check for missing system calls # +always += missing-syscalls +targets += missing-syscalls + quiet_cmd_syscalls = CALL $< cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) -PHONY += missing-syscalls -missing-syscalls: scripts/checksyscalls.sh FORCE +missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE $(call cmd,syscalls) # 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 prepare0: archprepare FORCE $(Q)$(MAKE) $(build)=. - $(Q)$(MAKE) $(build)=. missing-syscalls # All the preparing.. prepare: prepare0