[Buildroot] [PATCH 2/3] OVERRIDE_SOURCEDIR: Fix build with per-package infrastructure
Andreas Naumann
anaumann at ultratronik.de
Thu Nov 1 14:02:30 UTC 2018
The host/target per-package dirs are not created during the rsync step, so
make up for it in the configure_prepare step.
Signed-off-by: Andreas Naumann <anaumann at ultratronik.de>
---
package/pkg-generic.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 2cb4582d97..6d6a16e927 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -227,6 +227,7 @@ $(foreach dir,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR)),\
$(BUILD_DIR)/%/.stamp_configure_prepared:
@$(call step_start,configure_prepared)
@$(call MESSAGE,"Prepare per-package host")
+ @mkdir -p $(HOST_DIR) $(STAGING_DIR)
$(foreach pkg,$($(PKG)_FINAL_DEPENDENCIES),\
rsync -a --link-dest=$(PER_PACKAGE_DIR)/$(pkg)/host/ \
$(PER_PACKAGE_DIR)/$(pkg)/host/ \
--
2.19.1
More information about the buildroot
mailing list