aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHariGopal Gollamudi <harigopal.gollamudi@linaro.org>2014-09-13 22:45:37 +0530
committerFathi Boudra <fathi.boudra@linaro.org>2014-12-10 09:33:48 +0000
commitff701f023114d1ea7da8e625d8446cb5b978d56d (patch)
tree6b2bc7adbc4000d0c47262a44e4f320eb540fefd
parent599884842e6c23e72246965d8e1b9a91326f2cf1 (diff)
downloadlinaro-android-build-tools-ff701f023114d1ea7da8e625d8446cb5b978d56d.tar.gz
Create uImage from vexpress kernel
Change-Id: I61c288f5fdeb775593d87d2f88fa16e8fb0d8049
-rw-r--r--[-rwxr-xr-x]build-scripts/create-user-kernel-script3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-scripts/create-user-kernel-script b/build-scripts/create-user-kernel-script
index bb1ec52..eff7521 100755..100644
--- a/build-scripts/create-user-kernel-script
+++ b/build-scripts/create-user-kernel-script
@@ -109,6 +109,9 @@ else
KERNEL_IMAGE=uImage
fi
make -j\${CPUS} O=out ARCH=arm CROSS_COMPILE=\$CROSS_COMPILE \$KERNEL_IMAGE modules
+if [[ \`grep 'CONFIG_ARCH_VEXPRESS=y' out/.config\` ]]; then
+ mkimage -A arm -O linux -T kernel -n "Android Kernel" -C none -a 0x60008000 -e 0x60008000 -d out/arch/arm/boot/zImage out/arch/arm/boot/uImage
+fi
mkdir out/modules_for_android
make O=out ARCH=arm modules_install INSTALL_MOD_PATH=modules_for_android
EOF