summaryrefslogtreecommitdiff
path: root/packages/simpad-utilities/serload-native.bb
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/serload-native.bb
parentac47004c827f83ead796ad6c424846b0249597ea (diff)
Many files:
Adding license BKrev: 41f7de57sqtuxQQDJhll7nZI8E5lwQ
Diffstat (limited to 'packages/simpad-utilities/serload-native.bb')
-rw-r--r--packages/simpad-utilities/serload-native.bb16
1 files changed, 16 insertions, 0 deletions
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}/
+}