diff options
author | Rod Whitby <rod@whitby.id.au> | 2006-11-16 03:05:30 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2006-11-16 03:05:30 +0000 |
commit | 0d11e43989c4d2041c00cae5a16f315bac99a713 (patch) | |
tree | 90a50be99c5b4f655bbff618b13c2928df116657 /packages | |
parent | 613eec68116d896501033b3e88d85ea0ebef668d (diff) | |
parent | b584f0d4587ca165ce993c2e2a4e0e525279ece0 (diff) |
merge of 77597089ce5ed314082981a36edf9b5c471b77de
and 9fa712a912c1f89cf7bb372e23f6ae41bf7485dc
Diffstat (limited to 'packages')
-rw-r--r-- | packages/apex/apex_1.4.7.bb | 11 |
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 } |