diff options
author | Stelios Koroneos <skoroneos@digital-opsis.com> | 2006-12-09 18:43:08 +0000 |
---|---|---|
committer | Stelios Koroneos <skoroneos@digital-opsis.com> | 2006-12-09 18:43:08 +0000 |
commit | 6e4fd45337ef61c2a91b5d6a5c8052be5ff256d4 (patch) | |
tree | f201c81ca0c68c2d0495cd42f2641d0fd978e999 /packages/linux | |
parent | cd5cedea48636ad822cfb4f5bcf189dd1cc18c34 (diff) |
Allow kernel image to be created for both uclibc and glibc targets
Diffstat (limited to 'packages/linux')
-rw-r--r-- | packages/linux/linux-dht-walnut_2.6.12.6.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/linux/linux-dht-walnut_2.6.12.6.bb b/packages/linux/linux-dht-walnut_2.6.12.6.bb index 15a6946331..decb5d2e5e 100644 --- a/packages/linux/linux-dht-walnut_2.6.12.6.bb +++ b/packages/linux/linux-dht-walnut_2.6.12.6.bb @@ -1,7 +1,7 @@ SECTION = "kernel" DESCRIPTION = "Linux kernel for DHT-Walnut (ppc) machine" LICENSE = "GPL" -PR = "r1" +PR = "r2" DEPENDS = "u-boot" KERNEL_CCSUFFIX = "-3.4.4" @@ -55,7 +55,7 @@ do_install_append () { install -d ${DEPLOY_DIR}/images install -m 0755 arch/ppc/boot/images/zImage.elf ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.elf install -m 0755 vmlinux ${DEPLOY_DIR}/images/ - powerpc-linux-uclibc-objcopy -O binary -R .note -R .comment -S ${DEPLOY_DIR}/images/vmlinux ${DEPLOY_DIR}/images/linux.bin + powerpc-${TARGET_OS}-objcopy -O binary -R .note -R .comment -S ${DEPLOY_DIR}/images/vmlinux ${DEPLOY_DIR}/images/linux.bin gzip -f -9 ${DEPLOY_DIR}/images/linux.bin mkimage -A ppc -O linux -T kernel -C gzip -a 0 -e 0 -n "owmnr"+${PV}+"-ppc" -d ${DEPLOY_DIR}/images/linux.bin.gz ${DEPLOY_DIR}/images/uImage-${PV}-${MACHINE}-${DATETIME}.bin rm ${DEPLOY_DIR}/images/vmlinux |