summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStelios Koroneos <skoroneos@digital-opsis.com>2007-05-23 16:25:11 +0000
committerStelios Koroneos <skoroneos@digital-opsis.com>2007-05-23 16:25:11 +0000
commit18a91f4f868df037ae3fe79c55707a2a6a116e05 (patch)
tree28dfaca50692a80aa99cdef58298029753844a05
parent71534ae1c9c9079ce6484ee6449d69b01fc426a5 (diff)
packages/linux/linux-dht-walnut_2.6.20.b: Add TARGET_VENDOR to the
objcopy so that it supports distro's that use. It should make no difference is TARGET_VENDOR is not set
-rw-r--r--packages/linux/linux-dht-walnut_2.6.20.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/linux/linux-dht-walnut_2.6.20.bb b/packages/linux/linux-dht-walnut_2.6.20.bb
index 4a93954dfe..c770c6aa79 100644
--- a/packages/linux/linux-dht-walnut_2.6.20.bb
+++ b/packages/linux/linux-dht-walnut_2.6.20.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"
@@ -49,7 +49,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-${TARGET_OS}-objcopy -O binary -R .note -R .comment -S ${DEPLOY_DIR}/images/vmlinux ${DEPLOY_DIR}/images/linux.bin
+ powerpc${TARGET_VENDOR}-${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 "ppc405"+${PV} -d ${DEPLOY_DIR}/images/linux.bin.gz ${DEPLOY_DIR}/images/uImage-${PV}-${MACHINE}-${DATETIME}.bin
rm ${DEPLOY_DIR}/images/vmlinux