From b584f0d4587ca165ce993c2e2a4e0e525279ece0 Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Wed, 15 Nov 2006 23:59:52 +0000 Subject: apex: Now works for LE too --- packages/apex/apex_1.4.7.bb | 11 +++++++++-- 1 file 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 } -- cgit v1.2.3