[oe-commits] org.oe.dev Allow kernel image to be created for both uclibc and glibc targets
ifaistos commit
openembedded-commits at lists.openembedded.org
Sat Dec 9 18:48:26 UTC 2006
Allow kernel image to be created for both uclibc and glibc targets
Author: ifaistos at openembedded.org
Branch: org.openembedded.dev
Revision: 3f4b040c23a7e90bc0056cd764c234d38a87df09
ViewMTN: http://monotone.openembedded.org/revision.psp?id=3f4b040c23a7e90bc0056cd764c234d38a87df09
Files:
1
packages/linux/linux-dht-walnut_2.6.12.6.bb
Diffs:
#
# mt diff -r04e2b1d31e319303e9ffe6290c649f8c0cbdb552 -r3f4b040c23a7e90bc0056cd764c234d38a87df09
#
#
#
# patch "packages/linux/linux-dht-walnut_2.6.12.6.bb"
# from [44fd95693ee9a7dd3d5a77ed17403dad49ceb632]
# to [295100bb30cd4535b47daf7900215d6055b45a89]
#
============================================================
--- packages/linux/linux-dht-walnut_2.6.12.6.bb 44fd95693ee9a7dd3d5a77ed17403dad49ceb632
+++ packages/linux/linux-dht-walnut_2.6.12.6.bb 295100bb30cd4535b47daf7900215d6055b45a89
@@ -1,7 +1,7 @@ LICENSE = "GPL"
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
More information about the Openembedded-commits
mailing list