summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d56d925)
The chroot maintenance doesn't work as make(1). This needs rethinking.
Stashing these dependencies as recursive make(1) invocations is
hopelessly unsafe.
$(BUILD_CHROOTS): chroot/%: $(STATE)/stamp/chroot.%
.PHONY: setup-chroots $(BUILD_CHROOTS)
$(BUILD_CHROOTS): chroot/%: $(STATE)/stamp/chroot.%
.PHONY: setup-chroots $(BUILD_CHROOTS)
-$(CHROOT_STAMPS): $(STATE)/stamp/chroot.%: \
- $$(call chroot-deps,$(STATE)/stamp/cross-tools.,$$*)
+$(CHROOT_STAMPS): $(STATE)/stamp/chroot.%:
$(V_AT)mkdir -p $(dir $@) log/
$(MAKE) \
$(STATE)/bin/mkbuildchroot $(STATE)/bin/install-cross-tools \
$(V_AT)mkdir -p $(dir $@) log/
$(MAKE) \
$(STATE)/bin/mkbuildchroot $(STATE)/bin/install-cross-tools \
- $(STATE)/etc/schroot/sbuild.schroot
+ $(STATE)/etc/schroot/sbuild.schroot \
+ $$(call chroot-deps,$(STATE)/stamp/cross-tools.,$$*)
$(call v_tag,CHROOT)$(call v_log,setup-chroot.$*, \
$(SILENCE_LVM); \
$(ROOTLY) $(STATE)/bin/mkbuildchroot \
$(call v_tag,CHROOT)$(call v_log,setup-chroot.$*, \
$(SILENCE_LVM); \
$(ROOTLY) $(STATE)/bin/mkbuildchroot \