Commit 5f7efb4c6da9f90cb306923ced2a6494d065a595

Authored by Arnaud Lacombe
Committed by Michal Marek
1 parent 0359de7dd5

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>

Showing 2 changed files with 4 additions and 3 deletions Side-by-side Diff

... ... @@ -88,11 +88,13 @@
88 88 # 3) Check for missing system calls
89 89 #
90 90  
  91 +always += missing-syscalls
  92 +targets += missing-syscalls
  93 +
91 94 quiet_cmd_syscalls = CALL $<
92 95 cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags)
93 96  
94   -PHONY += missing-syscalls
95   -missing-syscalls: scripts/checksyscalls.sh FORCE
  97 +missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
96 98 $(call cmd,syscalls)
97 99  
98 100 # Keep these two files during make clean
... ... @@ -983,7 +983,6 @@
983 983  
984 984 prepare0: archprepare FORCE
985 985 $(Q)$(MAKE) $(build)=.
986   - $(Q)$(MAKE) $(build)=. missing-syscalls
987 986  
988 987 # All the preparing..
989 988 prepare: prepare0