summaryrefslogtreecommitdiff
path: root/packages/neuros-pkggen/neuros-pkggen-native.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-07-07 20:45:00 +0000
committerKoen Kooi <koen@openembedded.org>2008-07-07 20:45:00 +0000
commitf556eb47ca170da06fc44bc6ea96e41d1e2f496d (patch)
tree3a1f8ec46a8c4d8a657a3b6b22612be08e743331 /packages/neuros-pkggen/neuros-pkggen-native.bb
parentde146d9244042609a485b4906ffdcf57864c0f07 (diff)
neuros-pkggen native: add tool to generate ready to flash upk images
Diffstat (limited to 'packages/neuros-pkggen/neuros-pkggen-native.bb')
-rw-r--r--packages/neuros-pkggen/neuros-pkggen-native.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/neuros-pkggen/neuros-pkggen-native.bb b/packages/neuros-pkggen/neuros-pkggen-native.bb
new file mode 100644
index 0000000000..db1a9a9e15
--- /dev/null
+++ b/packages/neuros-pkggen/neuros-pkggen-native.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Tool to generate ready to flash .pkg files for neuros machines"
+LICENSE = "GPLv2"
+
+inherit native
+
+SRC_URI = "file://Makefile \
+ file://Makefile.rules \
+ file://config \
+ file://crc32.c \
+ file://package.c \
+ file://package.h \
+ file://readme \
+ file://zlib.h \
+"
+
+do_compile_prepend() {
+ ( cd ${WORKDIR} ; cp Makefile Makefile.rules config crc32.c package.c package.h readme zlib.h ${S} )
+}
+
+do_stage() {
+ install -m 0755 packet_osd2 ${STAGING_DIR_NATIVE}
+}
+
+