summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorArnaud Lacombe2011-08-25 03:03:30 +0200
committerMichal Marek2011-11-02 00:24:01 +0100
commit5f7efb4c6da9f90cb306923ced2a6494d065a595 (patch)
tree09de567dace3a1d7beb425e4db280b01145e25f4 /Kbuild
parentgenksyms: Regenerate lexer and parser (diff)
downloadkernel-qcow2-linux-5f7efb4c6da9f90cb306923ced2a6494d065a595.tar.gz
kernel-qcow2-linux-5f7efb4c6da9f90cb306923ced2a6494d065a595.tar.xz
kernel-qcow2-linux-5f7efb4c6da9f90cb306923ced2a6494d065a595.zip
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>
Diffstat (limited to 'Kbuild')
-rw-r--r--Kbuild6
1 files changed, 4 insertions, 2 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
# 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