diff options
author | HariGopal Gollamudi <harigopal.gollamudi@linaro.org> | 2014-09-13 22:45:37 +0530 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2014-12-10 09:33:48 +0000 |
commit | ff701f023114d1ea7da8e625d8446cb5b978d56d (patch) | |
tree | 6b2bc7adbc4000d0c47262a44e4f320eb540fefd | |
parent | 599884842e6c23e72246965d8e1b9a91326f2cf1 (diff) |
Create uImage from vexpress kernel
Change-Id: I61c288f5fdeb775593d87d2f88fa16e8fb0d8049
-rw-r--r--[-rwxr-xr-x] | build-scripts/create-user-kernel-script | 3 |
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 |