diff options
author | Rod Whitby <rod@whitby.id.au> | 2005-07-19 20:16:23 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-19 20:16:23 +0000 |
commit | 8b1c4a494721baaffe283cb55c204d444ca57770 (patch) | |
tree | 547b50304921819cf7b786972d0a3413386c96a8 /packages/apex/apex_1.2.19.bb | |
parent | cb488f4ae17a5d675fede6b25f86034cd790bf60 (diff) |
Added the Apex bootloader (initially configured for nslu2)
Diffstat (limited to 'packages/apex/apex_1.2.19.bb')
-rw-r--r-- | packages/apex/apex_1.2.19.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/apex/apex_1.2.19.bb b/packages/apex/apex_1.2.19.bb new file mode 100644 index 0000000000..2b022e94e7 --- /dev/null +++ b/packages/apex/apex_1.2.19.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "APEX Boot Loader" +SECTION = "" +PRIORITY = "optional" +MAINTAINER = "NSLU2 Linux <www.nslu2-linux.org>" +HOMEPAGE = "http://wiki.buici.com/twiki/bin/view/Main/ApexBootloader" +LICENSE = "GPL" +PR = "r0" + +SRC_URI = "ftp://ftp.buici.com/pub/apex/apex-${PV}.tar.gz \ + file://defconfig" + +EXTRA_OEMAKE_append = " CROSS_COMPILE=${CROSS_DIR}/bin/${HOST_PREFIX}" + +oe_runmake() { + oenote make ${PARALLEL_MAKE} CROSS_COMPILE=/home/slug/openslug/tmp/cross/bin/armeb-linux- "$@" + make ${PARALLEL_MAKE} LDFLAGS= CROSS_COMPILE=/home/slug/openslug/tmp/cross/bin/armeb-linux- "$@" || die "oe_runmake failed" +} + +do_configure() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config + oe_runmake oldconfig +} + +do_populate_staging() { + install -d ${STAGING_LOADER_DIR} + install -m 0755 src/arch-arm/rom/apex.bin ${STAGING_LOADER_DIR}/apex.bin +} |