summaryrefslogtreecommitdiff
path: root/packages/0xFFFF
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-07-02 07:46:31 +0000
committerKoen Kooi <koen@openembedded.org>2007-07-02 07:46:31 +0000
commit1fe2b73e84b6da5fa5ffc68fbfc4749c774b1008 (patch)
tree5adcfa3db5ecc73c3272653d5422593d95cba2aa /packages/0xFFFF
parentd051ee075c439ce0e6dff092728454c81a4bca09 (diff)
0xffff: update to 0.2
Diffstat (limited to 'packages/0xFFFF')
-rw-r--r--packages/0xFFFF/0xffff-native_0.2.bb17
-rw-r--r--packages/0xFFFF/0xffff.inc4
-rw-r--r--packages/0xFFFF/0xffff_0.2.bb6
3 files changed, 25 insertions, 2 deletions
diff --git a/packages/0xFFFF/0xffff-native_0.2.bb b/packages/0xFFFF/0xffff-native_0.2.bb
new file mode 100644
index 0000000000..b709977179
--- /dev/null
+++ b/packages/0xFFFF/0xffff-native_0.2.bb
@@ -0,0 +1,17 @@
+require 0xffff.inc
+
+inherit native
+
+do_stage() {
+ install -m 755 0xFFFF ${STAGING_BINDIR_NATIVE}
+}
+
+do_deploy[dirs] = "${S}"
+
+do_deploy() {
+ install -m 755 0xFFFF ${DEPLOY_DIR_IMAGE}
+}
+
+addtask deploy before do_package after do_install
+
+
diff --git a/packages/0xFFFF/0xffff.inc b/packages/0xFFFF/0xffff.inc
index 2618a3b6bc..470db7ccbf 100644
--- a/packages/0xFFFF/0xffff.inc
+++ b/packages/0xFFFF/0xffff.inc
@@ -5,8 +5,8 @@ SRC_URI = "http://www.nopcode.org/0xFFFF/get/0xFFFF-${PV}.tar.gz"
S = "${WORKDIR}/0xFFFF-${PV}/src"
-CFLAGS += '-DVERSION="${PV}"'
-BUILD_CFLAGS += '-DVERSION="${PV}"'
+CFLAGS += '-DVERSION="${PV}" -I.'
+BUILD_CFLAGS += '-DVERSION="${PV}" -I.'
do_compile() {
oe_runmake
diff --git a/packages/0xFFFF/0xffff_0.2.bb b/packages/0xFFFF/0xffff_0.2.bb
new file mode 100644
index 0000000000..fb3b93d415
--- /dev/null
+++ b/packages/0xFFFF/0xffff_0.2.bb
@@ -0,0 +1,6 @@
+require 0xffff.inc
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 755 0xFFFF ${D}${bindir}
+}