From 2b8f679ffe5929b5a11eb71e514aa4997c36f13e Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sat, 22 May 2004 16:47:36 +0000 Subject: 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 --- pad/pad-native.oe | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'pad') 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}/ +} -- cgit v1.2.3