aboutsummaryrefslogtreecommitdiffstats
path: root/target/imagebuilder/Makefile
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2020-11-02 11:35:39 -1000
committerDaniel Golle <daniel@makrotopia.org>2020-11-09 10:54:30 +0000
commit2e282537d00267774526ea5b4386ea3167b69c6a (patch)
tree622b8c033b45b4992e9ad8bd6ba253a561d95d16 /target/imagebuilder/Makefile
parent753309c7ddbe2efc7adf288af7f5b170f4f29674 (diff)
downloadupstream-2e282537d00267774526ea5b4386ea3167b69c6a.tar.gz
upstream-2e282537d00267774526ea5b4386ea3167b69c6a.tar.bz2
upstream-2e282537d00267774526ea5b4386ea3167b69c6a.zip
imagebuilder: fix sstrip
Without an absolute path to staging_dir/host/bin/sstrip the Makefile tries to run a host installed version of sstrip, which is likely not available. Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'target/imagebuilder/Makefile')
-rw-r--r--target/imagebuilder/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile
index 1575f59b61..8b2f4e5af6 100644
--- a/target/imagebuilder/Makefile
+++ b/target/imagebuilder/Makefile
@@ -90,7 +90,7 @@ endif
(cd $(PKG_BUILD_DIR); find staging_dir/host/bin/ $(IB_LDIR)/scripts/dtc/ -type f | \
$(XARGS) $(SCRIPT_DIR)/bundle-libraries.sh $(PKG_BUILD_DIR)/staging_dir/host)
$(CP) $(TOPDIR)/staging_dir/host/lib/libfakeroot* $(PKG_BUILD_DIR)/staging_dir/host/lib
- STRIP=sstrip $(SCRIPT_DIR)/rstrip.sh $(PKG_BUILD_DIR)/staging_dir/host/bin/
+ STRIP=$(STAGING_DIR_HOST)/bin/sstrip $(SCRIPT_DIR)/rstrip.sh $(PKG_BUILD_DIR)/staging_dir/host/bin/
(cd $(BUILD_DIR); \
tar -I '$(STAGING_DIR_HOST)/bin/xz -7e -T$(if $(filter 1,$(NPROC)),2,0)' -cf $@ $(IB_NAME) \
--mtime="$(shell date --date=@$(SOURCE_DATE_EPOCH))"; \