summaryrefslogtreecommitdiff
path: root/simpad-utilities/genboot-native.oe
diff options
context:
space:
mode:
Diffstat (limited to 'simpad-utilities/genboot-native.oe')
-rw-r--r--simpad-utilities/genboot-native.oe14
1 files changed, 14 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}/
+}