- rephrase r19284 -- explicitely list base targets for World
Needed for toplevel parallel builds to work properly.
This commit is contained in:
parent
e1c9fa056c
commit
b3efde23cc
9
Makefile
9
Makefile
@ -209,12 +209,13 @@ TARGETS+=erase-fakeroots
|
|||||||
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
|
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
|
||||||
TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS))
|
TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS))
|
||||||
TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
|
TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
|
||||||
|
TARGETS_ALL:=$(patsubst %,__real_tgt_%,$(TARGETS))
|
||||||
# all targets depend on the crosscompiler and it's prerequisites
|
# all targets depend on the crosscompiler and it's prerequisites
|
||||||
$(TARGETS): $(BASE_TARGETS)
|
$(TARGETS_ALL): __real_tgt_%: $(BASE_TARGETS) %
|
||||||
|
|
||||||
$(BR2_DEPENDS_DIR): .config
|
$(BR2_DEPENDS_DIR): .config
|
||||||
rm -rf $@
|
rm -rf $@
|
||||||
|
mkdir -p $(@D)
|
||||||
cp -dpRf $(CONFIG)/buildroot-config $@
|
cp -dpRf $(CONFIG)/buildroot-config $@
|
||||||
|
|
||||||
dirs: $(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
dirs: $(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||||
@ -223,11 +224,11 @@ dirs: $(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
|||||||
|
|
||||||
$(BASE_TARGETS): dirs
|
$(BASE_TARGETS): dirs
|
||||||
|
|
||||||
world: dependencies dirs target-host-info $(BASE_TARGETS) $(TARGETS)
|
world: dependencies dirs target-host-info $(BASE_TARGETS) $(TARGETS_ALL)
|
||||||
|
|
||||||
|
|
||||||
.PHONY: all world dirs clean dirclean distclean source \
|
.PHONY: all world dirs clean dirclean distclean source \
|
||||||
$(BASE_TARGETS) $(TARGETS) \
|
$(BASE_TARGETS) $(TARGETS) $(TARGETS_ALL) \
|
||||||
$(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) \
|
$(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) \
|
||||||
$(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
$(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||||
$(BR2_DEPENDS_DIR) \
|
$(BR2_DEPENDS_DIR) \
|
||||||
|
Loading…
Reference in New Issue
Block a user