diff options
Diffstat (limited to 'pad')
-rw-r--r-- | pad/pad-native.oe | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pad/pad-native.oe b/pad/pad-native.oe index e69de29bb2..adf6d28f59 100644 --- a/pad/pad-native.oe +++ b/pad/pad-native.oe @@ -0,0 +1,13 @@ +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" + +inherit native + +do_compile() { + cp ${WORKDIR}/*.c . + ${CC} -I. -o pad pad.c +} + +do_stage() { + install -m 0755 pad ${STAGING_BINDIR}/ +} |