scripts/build: set strip binary for arm/arm64

This commit is contained in:
Adam Green 2018-01-04 23:54:21 +00:00
parent 886915d8a6
commit a15ea8777b
No known key found for this signature in database
GPG Key ID: 52B701B6EF2F2E58

View File

@ -216,6 +216,7 @@ fi
if [ "$PKG_IS_KERNEL_PKG" = "yes" ]; then if [ "$PKG_IS_KERNEL_PKG" = "yes" ]; then
if [ "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then if [ "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then
TARGET_PREFIX=$TOOLCHAIN/lib/gcc-linaro-aarch64-linux-gnu/bin/aarch64-linux-gnu- TARGET_PREFIX=$TOOLCHAIN/lib/gcc-linaro-aarch64-linux-gnu/bin/aarch64-linux-gnu-
STRIP=${TARGET_PREFIX}strip
fi fi
fi fi