blob: 33caa54b21a597588f4eb07c7c80678ce86351d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
nslu2_pack_image () {
slugimage -p \
-b ${STAGING_LIBDIR}/nslu2-binaries/RedBoot \
-s ${STAGING_LIBDIR}/nslu2-binaries/SysConf \
-k ${DEPLOY_DIR_IMAGE}/zImage-${MACHINE}.bin \
-L ${STAGING_LOADER_DIR}/apex-nslu2.bin \
-r Flashdisk:${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
-m ${STAGING_FIRMWARE_DIR}/NPE-B \
-t ${STAGING_LIBDIR}/nslu2-binaries/Trailer \
-o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-nslu2.bin
slugimage -F -p \
-b ${STAGING_LIBDIR}/nslu2-binaries/RedBoot \
-s ${STAGING_LIBDIR}/nslu2-binaries/SysConf \
-k ${DEPLOY_DIR_IMAGE}/zImage-${MACHINE}.bin \
-L ${STAGING_LOADER_DIR}/apex-nslu2-16mb.bin \
-r Flashdisk:${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
-m ${STAGING_FIRMWARE_DIR}/NPE-B \
-t ${STAGING_LIBDIR}/nslu2-binaries/Trailer \
-o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-nslu2-16mb.bin
}
EXTRA_IMAGEDEPENDS += 'slugimage-native nslu2-linksys-firmware ixp4xx-npe upslug2-native apex-nslu2 apex-nslu2-16mb'
IMAGE_POSTPROCESS_COMMAND += "nslu2_pack_image; "
|