Commit 5f7efb4c authored by Arnaud Lacombe's avatar Arnaud Lacombe Committed by Michal Marek
Browse files

Kbuild: append missing-syscalls to the default target list

This avoid an extra make invocation on `prepare0'.

Signed-off-by: default avatarArnaud Lacombe <>
Signed-off-by: default avatarMichal Marek <>
parent 0359de7d
......@@ -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/ FORCE
missing-syscalls: scripts/ $(offsets-file) FORCE
$(call cmd,syscalls)
# Keep these two files during make clean
......@@ -983,7 +983,6 @@ archprepare: prepare1 scripts_basic
prepare0: archprepare FORCE
$(Q)$(MAKE) $(build)=.
$(Q)$(MAKE) $(build)=. missing-syscalls
# All the preparing..
prepare: prepare0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment