summaryrefslogtreecommitdiff
path: root/classes/nslu2_flashimg.bbclass
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2005-08-11 10:06:12 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-11 10:06:12 +0000
commita126be07197df04761fed6c61d708ff10c8c434c (patch)
tree1277c3b2969f4926b672b129c5fd3c93fdeefc9f /classes/nslu2_flashimg.bbclass
parent20c782f65b4383f43bab866dce70d05d855ea6b2 (diff)
Split nslu2_flashimg.bbclass into nslu2-jffs2-image.bbclass and nslu2-ramdisk-image.bbclass
Diffstat (limited to 'classes/nslu2_flashimg.bbclass')
-rw-r--r--classes/nslu2_flashimg.bbclass18
1 files changed, 0 insertions, 18 deletions
diff --git a/classes/nslu2_flashimg.bbclass b/classes/nslu2_flashimg.bbclass
deleted file mode 100644
index 56ad0f0659..0000000000
--- a/classes/nslu2_flashimg.bbclass
+++ /dev/null
@@ -1,18 +0,0 @@
-NSLU2_SLUGIMAGE_ARGS ?= ""
-
-nslu2_pack_image () {
- install -d ${DEPLOY_DIR_IMAGE}/slug
- install -m 0644 ${STAGING_LIBDIR}/nslu2-binaries/RedBoot \
- ${STAGING_LIBDIR}/nslu2-binaries/Trailer \
- ${STAGING_LIBDIR}/nslu2-binaries/SysConf \
- ${DEPLOY_DIR_IMAGE}/slug/
- install -m 0644 ${DEPLOY_DIR_IMAGE}/zImage-${IMAGE_BASENAME} ${DEPLOY_DIR_IMAGE}/slug/vmlinuz
- install -m 0644 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 ${DEPLOY_DIR_IMAGE}/slug/flashdisk.jffs2
- cd ${DEPLOY_DIR_IMAGE}/slug
- slugimage -p -b RedBoot -s SysConf -r Ramdisk:1,Flashdisk:flashdisk.jffs2 -t Trailer \
- -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.flashdisk.img ${NSLU2_SLUGIMAGE_ARGS}
- rm -rf ${DEPLOY_DIR_IMAGE}/slug
-}
-
-EXTRA_IMAGEDEPENDS += 'slugimage-native nslu2-linksys-firmware'
-IMAGE_POSTPROCESS_COMMAND += "nslu2_pack_image; "