diff options
author | Rod Whitby <rod@whitby.id.au> | 2005-12-04 23:56:58 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-12-04 23:56:58 +0000 |
commit | a5ee70e9036d6c3b1a02470cbc8b09c3647a07de (patch) | |
tree | 7f6198e851ff5aa77ecae4fd19cff49cf1e83d8b /packages/linux | |
parent | e2bf92dbb5ce4e66ccc90fca09662a4d8b874d22 (diff) |
unslung-kernel: Removed modification of kernel (left-over from the binary version)
Diffstat (limited to 'packages/linux')
-rw-r--r-- | packages/linux/unslung-kernel_2.4.22.l2.3r63.bb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/packages/linux/unslung-kernel_2.4.22.l2.3r63.bb b/packages/linux/unslung-kernel_2.4.22.l2.3r63.bb index 0ef2944c6b..3b84269891 100644 --- a/packages/linux/unslung-kernel_2.4.22.l2.3r63.bb +++ b/packages/linux/unslung-kernel_2.4.22.l2.3r63.bb @@ -33,24 +33,3 @@ python () { if mach != 'nslu2': raise bb.parse.SkipPackage("Unslung only builds for the Linksys NSLU2") } - -DEPENDS += "nslu2-linksys-firmware" - -do_deploy_append() { - cp ${STAGING_LIBDIR}/nslu2-binaries/vmlinuz ${WORKDIR}/vmlinuz - dd if=${WORKDIR}/vmlinuz bs=1 count=11732 > ${WORKDIR}/vmlinuh - dd if=${WORKDIR}/vmlinuz bs=1 skip=11732 count=975109 | gzip -dc > ${WORKDIR}/vmlinux - dd if=${WORKDIR}/vmlinuz bs=1 skip=986841 > ${WORKDIR}/vmlinut - cat ${WORKDIR}/vmlinux | sed \ - -e 's/ram0/slug/' \ - -e 's/\x01\x31\x2c\xff/\x00\x1e\x84\x7f/' \ - | gzip -9 -c > ${WORKDIR}/vmlinux.gz -# -e 's/flash_sda\x00/hdd_sda\x00\x00\x00/' \ -# -e 's/flash_\x00/hdd_\x00\x00\x00/' \ -# -e 's/flash_sd%c\x00/hdd_sd%c\x00\x00\x00/' \ - cat ${WORKDIR}/vmlinuh ${WORKDIR}/vmlinux.gz ${WORKDIR}/vmlinut > ${WORKDIR}/vmlinuz -# dd if=/dev/zero of=${WORKDIR}/padding bs=1 count=9 -# cat ${WORKDIR}/vmlinuh ${WORKDIR}/vmlinux.gz ${WORKDIR}/padding ${WORKDIR}/vmlinut > ${WORKDIR}/vmlinuz - install -d ${DEPLOY_DIR}/images - install -m 0644 ${WORKDIR}/vmlinuz ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${KERNEL_SUFFIX} -} |