summaryrefslogtreecommitdiff
path: root/packages/apex/apex_1.2.19.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/apex/apex_1.2.19.bb')
-rw-r--r--packages/apex/apex_1.2.19.bb27
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
+}