summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Becker <chemobejk@gmail.com>2018-03-26 10:23:32 +0300
committerPeter Korsgaard <peter@korsgaard.com>2018-03-26 10:48:19 +0200
commit6697f3bcdb4ecd6f311125670803933c8f5afb1b (patch)
treebf3c67e5ef7e199b94e2e5be9396a3b53a391ec8
parent4b30ee93248f93012d427ebd0211039095a6a3fc (diff)
downloadbuildroot-6697f3bcdb4ecd6f311125670803933c8f5afb1b.tar.gz
buildroot-6697f3bcdb4ecd6f311125670803933c8f5afb1b.zip
Makefile: fix build break in sdk target
After commit 6729050f3a49dba42d2d881d31dbefd6b82b8dad nothing creates $(HOST_DIR)/share/buildroot anymore, causing sdk to fail with: /bin/bash: .../output/host/share/buildroot/sdk-location: No such file or directory Add creation of that directory to the "sdk" build steps itself. Signed-off-by: Stefan Becker <chemobejk@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a3a9d290d9..9e2402d7d9 100644
--- a/Makefile
+++ b/Makefile
@@ -574,6 +574,7 @@ sdk: world
$(TOPDIR)/support/scripts/fix-rpath host
$(TOPDIR)/support/scripts/fix-rpath staging
$(INSTALL) -m 755 $(TOPDIR)/support/misc/relocate-sdk.sh $(HOST_DIR)/relocate-sdk.sh
+ mkdir -p $(HOST_DIR)/share/buildroot
echo $(HOST_DIR) > $(HOST_DIR)/share/buildroot/sdk-location
# Populating the staging with the base directories is handled by the skeleton package
OpenPOWER on IntegriCloud