build system: more fixes to parallel build
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
4
Makefile
4
Makefile
@@ -359,8 +359,10 @@ scripts_basic:
|
|||||||
scripts/basic/%: scripts_basic ;
|
scripts/basic/%: scripts_basic ;
|
||||||
|
|
||||||
# bbox: we have helpers in applets/
|
# bbox: we have helpers in applets/
|
||||||
|
# we depend on scripts_basic, since scripts/basic/fixdep
|
||||||
|
# must be built before any other host prog
|
||||||
PHONY += applets_dir
|
PHONY += applets_dir
|
||||||
applets_dir:
|
applets_dir: scripts_basic
|
||||||
$(Q)$(MAKE) $(build)=applets
|
$(Q)$(MAKE) $(build)=applets
|
||||||
|
|
||||||
applets/%: applets_dir ;
|
applets/%: applets_dir ;
|
||||||
|
|||||||
@@ -12,9 +12,6 @@ hostprogs-y += usage usage_pod applet_tables
|
|||||||
|
|
||||||
always:= $(hostprogs-y)
|
always:= $(hostprogs-y)
|
||||||
|
|
||||||
# fixdep is needed to compile other host programs
|
|
||||||
$(addprefix $(obj)/,$(always)): $(objtree)/scripts/basic/fixdep
|
|
||||||
|
|
||||||
# Generated files need additional love
|
# Generated files need additional love
|
||||||
|
|
||||||
# This trick decreases amount of rebuilds
|
# This trick decreases amount of rebuilds
|
||||||
|
|||||||
Reference in New Issue
Block a user