Merge pull request #2330 from codesnake/aml_dtb_image_sdcard

[LE 9.0] mkimage: Fix an issue when device tree image is not included into SD card images for WeTek devices
This commit is contained in:
Radostan Riedel 2017-12-17 17:09:17 +01:00 committed by GitHub
commit 4fcd5b31c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,6 +263,11 @@ EOF
mcopy $RELEASE_DIR/target/KERNEL.md5 "::/$KERNEL_NAME.md5"
mcopy $RELEASE_DIR/target/SYSTEM.md5 ::/SYSTEM.md5
# copy Amlogic device tree image
if [ -f "$RELEASE_DIR/3rdparty/bootloader/dtb.img" ]; then
mcopy $RELEASE_DIR/3rdparty/bootloader/dtb.img ::
fi
elif [ "$BOOTLOADER" = "u-boot" ]; then
echo "to make an image using u-boot UBOOT_SYSTEM must be set"
cleanup