From 433852708c983e5f0b7538cfc59bd878d2a710a2 2018-11-10 01:04:13 From: Unknown Date: 2018-11-10 01:04:13 Subject: [PATCH] fix R_ARCH=arm64 check for crosscompiler dep. was nested in if-check for R_ARCH=arm - thus never could never be true --- diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index d8d008a..b3c9565 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -306,9 +306,9 @@ if [ "$BUILD_KERNEL" = true ] ; then if [ "$RELEASE_ARCH" = "armhf" ]; then REQUIRED_PACKAGES="${REQUIRED_PACKAGES} crossbuild-essential-armhf" fi - if [ "$RELEASE_ARCH" = "arm64" ]; then - REQUIRED_PACKAGES="${REQUIRED_PACKAGES} crossbuild-essential-arm64" - fi + fi + if [ "$RELEASE_ARCH" = "arm64" ]; then + REQUIRED_PACKAGES="${REQUIRED_PACKAGES} crossbuild-essential-arm64" fi fi