diff options
Diffstat (limited to 'simpad-utilities')
-rw-r--r-- | simpad-utilities/genboot-native.oe | 14 | ||||
-rw-r--r-- | simpad-utilities/serload-native.oe | 13 |
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}/ +} |