Merge pull request #138 from kszaq/wetek-amlpkg

scripts/image: create SD card image wtih amlpkg
This commit is contained in:
MilhouseVH 2016-04-11 12:19:04 +01:00
commit 8810d7cd2b

View File

@ -332,7 +332,7 @@ fi
tar cf $TARGET_IMG/$IMAGE_NAME.tar -C target $IMAGE_NAME
# create image files if requested
if [ "$1" = "mkimage" -a -n "$BOOTLOADER" ]; then
if [[ ( "$1" = "amlpkg" || "$1" = "mkimage" ) && -n "$BOOTLOADER" ]]; then
# projects can set KERNEL_NAME (kernel.img)
if [ -z "$KERNEL_NAME" ] ; then
KERNEL_NAME="KERNEL"