diff options
author | Chris Larson <clarson@kergoth.com> | 2004-05-22 16:47:36 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-05-22 16:47:36 +0000 |
commit | 2b8f679ffe5929b5a11eb71e514aa4997c36f13e (patch) | |
tree | cab0f25aca03f6162bd268a401945fbfbb63bff9 /pad/pad-native.oe | |
parent | 5df179157f90b18f437c6978efb451f515e3d1c9 (diff) |
Merges.
2004/05/22 12:46:48-04:00 local!kergoth
Bugfixes per the recent FILESDIR cleanup.
2004/05/22 01:03:38-04:00 local!kergoth
Run a perl script against the repo to kill off direct FILESDIR usage
in favor of relative file:// paths in SRC_URI, and WORKDIR references
in functions.
2004/05/21 23:07:58-04:00 local!kergoth
Switch file:// FILESDIR uris in SRC_URI to the new relative path format.
BKrev: 40af8428aNyDLBX0MRtyso3VCpMv1w
Diffstat (limited to 'pad/pad-native.oe')
-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}/ +} |