From eb123bc9784b4f0b5e8782078c2cff0d207f6fbf 2017-01-06 21:18:32 From: drtyhlpr Date: 2017-01-06 21:18:32 Subject: [PATCH] Fixed: Added device-tree-compiler for U-Boot --- diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index 0e721a2..85a1b41 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -242,6 +242,11 @@ if [ "$ENABLE_INITRAMFS" = true ] && [ "$BUILD_KERNEL" = true ] ; then APT_INCLUDES="${APT_INCLUDES},initramfs-tools" fi +# Add device-tree-compiler required for building the U-Boot bootloader +if [ "$ENABLE_UBOOT" = true ] ; then + APT_INCLUDES="${APT_INCLUDES},device-tree-compiler" +fi + # Check if all required packages are installed on the build system for package in $REQUIRED_PACKAGES ; do if [ "`dpkg-query -W -f='${Status}' $package`" != "install ok installed" ] ; then