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