summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-11-15 23:59:52 +0000
committerRod Whitby <rod@whitby.id.au>2006-11-15 23:59:52 +0000
commitb584f0d4587ca165ce993c2e2a4e0e525279ece0 (patch)
tree314757a64173e77003d569c2b2eddb0ec6804eb3
parentdb90c2e6b62dc803a50ee5587db177f6039c0ee2 (diff)
apex: Now works for LE too
-rw-r--r--packages/apex/apex_1.4.7.bb11
1 files changed, 9 insertions, 2 deletions
diff --git a/packages/apex/apex_1.4.7.bb b/packages/apex/apex_1.4.7.bb
index 0a7d5520fc..bb45a310b0 100644
--- a/packages/apex/apex_1.4.7.bb
+++ b/packages/apex/apex_1.4.7.bb
@@ -3,7 +3,7 @@ SECTION = ""
PRIORITY = "optional"
HOMEPAGE = "http://wiki.buici.com/twiki/bin/view/Main/ApexBootloader"
LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
SRC_URI = "ftp://ftp.buici.com/pub/apex/apex-${PV}.tar.gz \
file://defconfig"
@@ -39,8 +39,15 @@ do_configure() {
oe_runmake oldconfig
}
+DEPENDS += "devio-native"
+
do_populate_staging() {
install -d ${STAGING_LOADER_DIR}
# FIXME - arch-arm should not be hard-coded
- install -m 0755 src/arch-arm/rom/apex.bin ${STAGING_LOADER_DIR}/apex.bin
+ if test '${ARCH_BYTE_SEX}' = be
+ then
+ cp src/arch-arm/rom/apex.bin ${STAGING_LOADER_DIR}/apex.bin
+ else
+ devio '<<'src/arch-arm/rom/apex.bin >${STAGING_LOADER_DIR}/apex.bin 'xp $,4'
+ fi
}