summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}
+}