summaryrefslogtreecommitdiff
path: root/packages/simpad-utilities
diff options
context:
space:
mode:
authorGreg Gilbert <greg@treke.net>2005-01-26 18:15:51 +0000
committerGreg Gilbert <greg@treke.net>2005-01-26 18:15:51 +0000
commit7019681b3cd4be0861f35870cb66a3aaa1dd1e2a (patch)
treec4c1a6d12603c5b9cef30d75a13e64434e2232c5 /packages/simpad-utilities
parentac47004c827f83ead796ad6c424846b0249597ea (diff)
Many files:
Adding license BKrev: 41f7de57sqtuxQQDJhll7nZI8E5lwQ
Diffstat (limited to 'packages/simpad-utilities')
-rw-r--r--packages/simpad-utilities/genboot-native.bb20
-rw-r--r--packages/simpad-utilities/serload-native.bb16
2 files changed, 36 insertions, 0 deletions
diff --git a/packages/simpad-utilities/genboot-native.bb b/packages/simpad-utilities/genboot-native.bb
index e69de29bb2..3e98947eca 100644
--- a/packages/simpad-utilities/genboot-native.bb
+++ b/packages/simpad-utilities/genboot-native.bb
@@ -0,0 +1,20 @@
+SECTION = "console/utils"
+PR = "r1"
+DESCRIPTION = "Console utility for generating a SIMpad boot image for the proprietary SIEMENS Switzerland bootloader"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/genboot"
+SRC_URI = "file://gen_boot.c file://arnold_boot.h file://simpad-make-flashimg"
+LICENSE = "GPL"
+
+DEPENDS = "pad-native"
+
+inherit native
+
+do_compile() {
+ cp ${WORKDIR}/*.h ${WORKDIR}/*.c .
+ ${CC} -I. -o genboot gen_boot.c
+}
+
+do_stage() {
+ install -m 0755 genboot ${STAGING_BINDIR}/
+ install -m 0755 ${WORKDIR}/simpad-make-flashimg ${STAGING_BINDIR}/
+}
diff --git a/packages/simpad-utilities/serload-native.bb b/packages/simpad-utilities/serload-native.bb
index e69de29bb2..9be199f1e8 100644
--- a/packages/simpad-utilities/serload-native.bb
+++ b/packages/simpad-utilities/serload-native.bb
@@ -0,0 +1,16 @@
+SECTION = "console/utils"
+LICENSE= "GPL"
+DESCRIPTION = "Console utility for transferring a SIMpad boot image via serial a SIMpad"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/serload"
+SRC_URI = "file://serialdownload.cpp file://main.cpp file://serialdownload.h"
+
+inherit native
+
+do_compile() {
+ cp ${WORKDIR}/*.h ${WORKDIR}/*.cpp .
+ ${CXX} -I. -o serload main.cpp serialdownload.cpp
+}
+
+do_stage() {
+ install -m 0755 serload ${STAGING_BINDIR}/
+}