From 64acb085a8ee18772c9f90a2fd7c09ac79a5e0e9 2018-11-10 21:09:42 From: Unknown Date: 2018-11-10 21:09:42 Subject: [PATCH] syntax --- diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index a83d655..c7efeec 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -246,7 +246,8 @@ if [ -n "$SET_ARCH" ] RELEASE_ARCH=${RELEASE_ARCH:=armel} KERNEL_IMAGE=${KERNEL_IMAGE:=kernel.img} CROSS_COMPILE=${CROSS_COMPILE:=arm-linux-gnueabi-} - elif [ "$RPI_MODEL" = 2 ] || [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ] ; then + fi + if [ "$RPI_MODEL" = 2 ] || [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ] ; then REQUIRED_PACKAGES="${REQUIRED_PACKAGES} crossbuild-essential-armhf" KERNEL_DEFCONFIG=${KERNEL_DEFCONFIG:=bcm2709_defconfig} RELEASE_ARCH=${RELEASE_ARCH:=armhf}