summaryrefslogtreecommitdiff
path: root/pad/pad-native.oe
diff options
context:
space:
mode:
Diffstat (limited to 'pad/pad-native.oe')
-rw-r--r--pad/pad-native.oe3
1 files changed, 2 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
}