diff options
Diffstat (limited to 'elements/gnu-toolchain/stage2-busybox.bst')
-rw-r--r-- | elements/gnu-toolchain/stage2-busybox.bst | 4 |
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}" \ |