From 68445ff3af6b40c9da2df307d39d93100d793913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Fri, 12 Oct 2018 16:37:26 +0200 Subject: [PATCH] ti-old-omap-card-kernel-write-overo.sh: rework override MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- scripts/ti-old-omap-card-kernel-write-overo.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/ti-old-omap-card-kernel-write-overo.sh b/scripts/ti-old-omap-card-kernel-write-overo.sh index ab217e2..2dcb7b3 100755 --- a/scripts/ti-old-omap-card-kernel-write-overo.sh +++ b/scripts/ti-old-omap-card-kernel-write-overo.sh @@ -6,11 +6,14 @@ # # This script writes image to sdcard and aligns rootfs partition to max size. +# overo builds uImage instead of zImage +if [ -z "$KernelImageType" ]; then + KernelImageType='uImage' +fi + # Includes . `dirname $0`/include/common-helpers.inc . `dirname $0`/include/card-helpers.inc . `dirname $0`/include/machine-ti-old-omap.inc -DEFAULT_KERNEL_IMAGE_TYPE='zImage' - StartCardKernelWrite