scripts/build: don't redefine TARGET_PREFIX on 64/32 builds

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2018-02-14 13:37:59 +01:00
parent 13c3bdf238
commit d41e3ac239

View File

@ -213,13 +213,6 @@ if [ "$(type -t configure_package)" = "function" ]; then
configure_package
fi
if [ "$PKG_IS_KERNEL_PKG" = "yes" ]; then
if [ "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then
TARGET_PREFIX=$TOOLCHAIN/lib/gcc-linaro-aarch64-linux-gnu/bin/aarch64-linux-gnu-
STRIP=${TARGET_PREFIX}strip
fi
fi
# build dependencies, only when PKG_DEPENDS_? is filled
unset _pkg_depends
case "$TARGET" in