summaryrefslogtreecommitdiff
path: root/simpad-utilities
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-05-22 16:47:36 +0000
committerChris Larson <clarson@kergoth.com>2004-05-22 16:47:36 +0000
commit2b8f679ffe5929b5a11eb71e514aa4997c36f13e (patch)
treecab0f25aca03f6162bd268a401945fbfbb63bff9 /simpad-utilities
parent5df179157f90b18f437c6978efb451f515e3d1c9 (diff)
Merges.
2004/05/22 12:46:48-04:00 local!kergoth Bugfixes per the recent FILESDIR cleanup. 2004/05/22 01:03:38-04:00 local!kergoth Run a perl script against the repo to kill off direct FILESDIR usage in favor of relative file:// paths in SRC_URI, and WORKDIR references in functions. 2004/05/21 23:07:58-04:00 local!kergoth Switch file:// FILESDIR uris in SRC_URI to the new relative path format. BKrev: 40af8428aNyDLBX0MRtyso3VCpMv1w
Diffstat (limited to 'simpad-utilities')
-rw-r--r--simpad-utilities/genboot-native.oe14
-rw-r--r--simpad-utilities/serload-native.oe13
2 files changed, 27 insertions, 0 deletions
diff --git a/simpad-utilities/genboot-native.oe b/simpad-utilities/genboot-native.oe
index e69de29bb2..2bed1af940 100644
--- a/simpad-utilities/genboot-native.oe
+++ b/simpad-utilities/genboot-native.oe
@@ -0,0 +1,14 @@
+DESCRIPTION = "Console utility for generating a SIMpad boot image for the proprietary SIEMENS Switzerland bootloader"
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/genboot"
+
+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/simpad-utilities/serload-native.oe b/simpad-utilities/serload-native.oe
index e69de29bb2..ee15cabc60 100644
--- a/simpad-utilities/serload-native.oe
+++ b/simpad-utilities/serload-native.oe
@@ -0,0 +1,13 @@
+DESCRIPTION = "Console utility for transferring a SIMpad boot image via serial a SIMpad"
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/serload"
+
+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}/
+}