summaryrefslogtreecommitdiff
path: root/packages/apex
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2007-08-18 13:09:48 +0000
committerRod Whitby <rod@whitby.id.au>2007-08-18 13:09:48 +0000
commit5e4a316240328e9393a890bd76aaeb541cba69f4 (patch)
tree42f7034ae121df9b0f0ceaeebb3806fd77870314 /packages/apex
parent7a639ad1913a57b05b18134492d7a6d5cb9309a8 (diff)
apex-env: New package to modify an apex bootloader environment
Diffstat (limited to 'packages/apex')
-rw-r--r--packages/apex/apex-env_1.5.8.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/apex/apex-env_1.5.8.bb b/packages/apex/apex-env_1.5.8.bb
new file mode 100644
index 0000000000..0f310f107e
--- /dev/null
+++ b/packages/apex/apex-env_1.5.8.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "APEX Boot Loader Environment User Modification Tool"
+SECTION = "util"
+PRIORITY = "optional"
+HOMEPAGE = "http://wiki.buici.com/twiki/bin/view/Main/ApexBootloader"
+LICENSE = "GPL"
+# PR = "r1"
+
+SRC_URI = "ftp://ftp.buici.com/pub/apex/apex-${PV}.tar.gz"
+S = ${WORKDIR}/apex-${PV}/usr
+
+EXTRA_OEMAKE_append = " CROSS_COMPILE=${CROSS_DIR}/bin/${HOST_PREFIX}"
+
+oe_runmake() {
+ oenote make ${PARALLEL_MAKE} CROSS_COMPILE=${CROSS_DIR}/bin/${TARGET_PREFIX} "$@"
+ make ${PARALLEL_MAKE} LDFLAGS= CROSS_COMPILE=${CROSS_DIR}/bin/${TARGET_PREFIX} "$@" || die "oe_runmake failed"
+}
+
+do_install() {
+ ${STRIP} ${S}/apex-env
+ install -d ${D}/${sbindir}
+ install -m 755 ${S}/apex-env ${D}/${sbindir}
+}