summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pad/pad-native.oe3
-rw-r--r--simpad-utilities/serload-native.oe1
2 files changed, 3 insertions, 1 deletions
diff --git a/pad/pad-native.oe b/pad/pad-native.oe
index adf6d28f59..83e9f6779e 100644
--- a/pad/pad-native.oe
+++ b/pad/pad-native.oe
@@ -1,10 +1,11 @@
DESCRIPTION = "Console utility for padding a file (filling with 0 to reach a specified length)"
FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/pad"
+SRC_URI = "file://pad.c"
inherit native
do_compile() {
- cp ${WORKDIR}/*.c .
+ cp ${WORKDIR}/pad.c .
${CC} -I. -o pad pad.c
}
diff --git a/simpad-utilities/serload-native.oe b/simpad-utilities/serload-native.oe
index ee15cabc60..bebfd4820f 100644
--- a/simpad-utilities/serload-native.oe
+++ b/simpad-utilities/serload-native.oe
@@ -1,5 +1,6 @@
DESCRIPTION = "Console utility for transferring a SIMpad boot image via serial a SIMpad"
FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/serload"
+SRC_URI = "file://serialdownload.cpp file://main.cpp file://serialdownload.h"
inherit native