summaryrefslogtreecommitdiff
path: root/elements/gnu-toolchain/stage2-busybox.bst
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2018-07-25 15:05:24 +0100
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2018-07-25 15:05:24 +0100
commit5791e0f2c278be1fc72a1ef7149acec4da21ffa7 (patch)
treee38dcddc386b2607a01bd14b27437847e82068c4 /elements/gnu-toolchain/stage2-busybox.bst
parentdbd5f6fccededb3bd18791eac43fd88d36e90f00 (diff)
downloaddefinitions-5791e0f2c278be1fc72a1ef7149acec4da21ffa7.tar.gz
Revert "Update buildstream to 1.1.3"franred/revert-45bb922a-Update-buildstream-to-1.1.3
This reverts commit 45bb922afeaae26ef5d4e0ee329c678485063c45.
Diffstat (limited to 'elements/gnu-toolchain/stage2-busybox.bst')
-rw-r--r--elements/gnu-toolchain/stage2-busybox.bst4
1 files changed, 2 insertions, 2 deletions
diff --git a/elements/gnu-toolchain/stage2-busybox.bst b/elements/gnu-toolchain/stage2-busybox.bst
index 02345c7e..a1774abd 100644
--- a/elements/gnu-toolchain/stage2-busybox.bst
+++ b/elements/gnu-toolchain/stage2-busybox.bst
@@ -82,7 +82,7 @@ config:
build-commands:
- |
- export STAGE2_SYSROOT="/"
+ export STAGE2_SYSROOT="$(dirname $(dirname $(pwd)))"
export CPPFLAGS="--sysroot=$STAGE2_SYSROOT"
export LDFLAGS="--sysroot=$STAGE2_SYSROOT"
make HOSTCC="/usr/bin/gcc" CROSS_COMPILE=%{target-stage1}- KCONFIG_NOTIMESTAMP=1
@@ -91,7 +91,7 @@ config:
# We expect to be built with a non-standard prefix in stage 2 (i.e. not
# /usr). The install will break if prefix is set to /usr.
- |
- export STAGE2_SYSROOT="/"
+ export STAGE2_SYSROOT="$(dirname $(dirname $(pwd)))"
export CPPFLAGS="--sysroot=$STAGE2_SYSROOT"
export LDFLAGS="--sysroot=$STAGE2_SYSROOT"
make CONFIG_PREFIX="%{install-root}%{prefix}" \