summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2007-08-18 13:46:30 +0000
committerRod Whitby <rod@whitby.id.au>2007-08-18 13:46:30 +0000
commit8ada12e06fcd97e2a081270a7bc2621bb8766b87 (patch)
treee83e6c0649fc87b036dec1fc0aa1bb6b857cfe3f
parenteb1bc6e2d48c04db954aa69f738109873dcbbcd3 (diff)
parentd62e0d6ede9dffb3fadf2cba31414b1619dda0b5 (diff)
merge of '33469de643b1cad4022de73b7ce97d808320e465'
and 'f012bf85fd4c2065b5824f7a0b63bb0a53cccb06'
-rw-r--r--classes/nslu2-image.bbclass2
-rw-r--r--packages/apex/apex-env_1.5.8.bb22
2 files changed, 23 insertions, 1 deletions
diff --git a/classes/nslu2-image.bbclass b/classes/nslu2-image.bbclass
index 662be2910a..edd23ae07f 100644
--- a/classes/nslu2-image.bbclass
+++ b/classes/nslu2-image.bbclass
@@ -6,7 +6,7 @@ nslu2_pack_image () {
${STAGING_LOADER_DIR}/apex-nslu2.bin \
${STAGING_LOADER_DIR}/apex-nslu2-16mb.bin \
${DEPLOY_DIR_IMAGE}/slug/
- install -m 0644 ${DEPLOY_DIR_IMAGE}/zImage-nslu2${SITEINFO_ENDIANESS} \
+ install -m 0644 ${DEPLOY_DIR_IMAGE}/zImage-ixp4xx${SITEINFO_ENDIANESS} \
${DEPLOY_DIR_IMAGE}/slug/vmlinuz
install -m 0644 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
${DEPLOY_DIR_IMAGE}/slug/flashdisk.jffs2
diff --git a/packages/apex/apex-env_1.5.8.bb b/packages/apex/apex-env_1.5.8.bb
new file mode 100644
index 0000000000..0f310f107e
--- /dev/null
+++ b/packages/apex/apex-env_1.5.8.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "APEX Boot Loader Environment User Modification Tool"
+SECTION = "util"
+PRIORITY = "optional"
+HOMEPAGE = "http://wiki.buici.com/twiki/bin/view/Main/ApexBootloader"
+LICENSE = "GPL"
+# PR = "r1"
+
+SRC_URI = "ftp://ftp.buici.com/pub/apex/apex-${PV}.tar.gz"
+S = ${WORKDIR}/apex-${PV}/usr
+
+EXTRA_OEMAKE_append = " CROSS_COMPILE=${CROSS_DIR}/bin/${HOST_PREFIX}"
+
+oe_runmake() {
+ oenote make ${PARALLEL_MAKE} CROSS_COMPILE=${CROSS_DIR}/bin/${TARGET_PREFIX} "$@"
+ make ${PARALLEL_MAKE} LDFLAGS= CROSS_COMPILE=${CROSS_DIR}/bin/${TARGET_PREFIX} "$@" || die "oe_runmake failed"
+}
+
+do_install() {
+ ${STRIP} ${S}/apex-env
+ install -d ${D}/${sbindir}
+ install -m 755 ${S}/apex-env ${D}/${sbindir}
+}