forked from Minki/linux
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>
This commit is contained in:
parent
0359de7dd5
commit
5f7efb4c6d
6
Kbuild
6
Kbuild
@ -88,11 +88,13 @@ $(obj)/$(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s Kbuild
|
|||||||
# 3) Check for missing system calls
|
# 3) Check for missing system calls
|
||||||
#
|
#
|
||||||
|
|
||||||
|
always += missing-syscalls
|
||||||
|
targets += missing-syscalls
|
||||||
|
|
||||||
quiet_cmd_syscalls = CALL $<
|
quiet_cmd_syscalls = CALL $<
|
||||||
cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags)
|
cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags)
|
||||||
|
|
||||||
PHONY += missing-syscalls
|
missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
|
||||||
missing-syscalls: scripts/checksyscalls.sh FORCE
|
|
||||||
$(call cmd,syscalls)
|
$(call cmd,syscalls)
|
||||||
|
|
||||||
# Keep these two files during make clean
|
# Keep these two files during make clean
|
||||||
|
Loading…
Reference in New Issue
Block a user