summaryrefslogtreecommitdiff
path: root/packages/0xFFFF
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-05-08 10:36:24 +0000
committerKoen Kooi <koen@openembedded.org>2007-05-08 10:36:24 +0000
commit2ebf00886dba29ae2182ac6130c461c5c9392b40 (patch)
treee2808e58d0d6f5291a72a40f7fe335a52e621d1f /packages/0xFFFF
parenta4117112fc97e5259d333da6d0dde88007540fa2 (diff)
0xFFFF: add native and cross versions of the GPL flasher for nokia internet tablets
Diffstat (limited to 'packages/0xFFFF')
-rw-r--r--packages/0xFFFF/.mtn2git_empty0
-rw-r--r--packages/0xFFFF/0xffff-native_0.1.bb17
-rw-r--r--packages/0xFFFF/0xffff.inc14
-rw-r--r--packages/0xFFFF/0xffff_0.1.bb6
4 files changed, 37 insertions, 0 deletions
diff --git a/packages/0xFFFF/.mtn2git_empty b/packages/0xFFFF/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/0xFFFF/.mtn2git_empty
diff --git a/packages/0xFFFF/0xffff-native_0.1.bb b/packages/0xFFFF/0xffff-native_0.1.bb
new file mode 100644
index 0000000000..b709977179
--- /dev/null
+++ b/packages/0xFFFF/0xffff-native_0.1.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
new file mode 100644
index 0000000000..2618a3b6bc
--- /dev/null
+++ b/packages/0xFFFF/0xffff.inc
@@ -0,0 +1,14 @@
+DESCRIPTION = "The 'Open Free Fiasco Firmware Flasher' aka 0xFFFF utility aims to implement a free (GPL'd) userspace handler for the NOLO bootloader."
+LICENSE = "GPLv2"
+
+SRC_URI = "http://www.nopcode.org/0xFFFF/get/0xFFFF-${PV}.tar.gz"
+
+S = "${WORKDIR}/0xFFFF-${PV}/src"
+
+CFLAGS += '-DVERSION="${PV}"'
+BUILD_CFLAGS += '-DVERSION="${PV}"'
+
+do_compile() {
+ oe_runmake
+}
+
diff --git a/packages/0xFFFF/0xffff_0.1.bb b/packages/0xFFFF/0xffff_0.1.bb
new file mode 100644
index 0000000000..fb3b93d415
--- /dev/null
+++ b/packages/0xFFFF/0xffff_0.1.bb
@@ -0,0 +1,6 @@
+require 0xffff.inc
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 755 0xFFFF ${D}${bindir}
+}