From 920f7ff74ac8482916f6ea6ac6e85fcd572cd240 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sat, 22 May 2004 21:22:15 +0000 Subject: Merge openembedded@openembedded.bkbits.net:packages into hyperion.(none):/home/kergoth/code/projects/packages 2004/05/22 16:22:08-05:00 (none)!kergoth Few more fixes from teh latest filesdir/workdir changes. BKrev: 40afc487IJsDawUMj3rylp5CkQMTxw --- makedevs/makedevs-native_1.0.0.oe | 10 +--------- makedevs/makedevs_1.0.0.oe | 5 ++--- 2 files changed, 3 insertions(+), 12 deletions(-) (limited to 'makedevs') diff --git a/makedevs/makedevs-native_1.0.0.oe b/makedevs/makedevs-native_1.0.0.oe index 52c560fad7..2bf659f3ac 100644 --- a/makedevs/makedevs-native_1.0.0.oe +++ b/makedevs/makedevs-native_1.0.0.oe @@ -1,15 +1,7 @@ +include makedevs_${PV}.oe inherit native FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/makedevs-${PV}" -S = "${WORKDIR}/makedevs-native-${PV}" - -do_configure() { - cp -f ${WORKDIR}/makedevs.c ${S}/ -} - -do_compile() { - ${CC} ${CFLAGS} -o ${S}/makedevs ${S}/makedevs.c -} do_stage() { install -d ${STAGING_BINDIR}/ diff --git a/makedevs/makedevs_1.0.0.oe b/makedevs/makedevs_1.0.0.oe index d81519f63a..a2ed001f82 100644 --- a/makedevs/makedevs_1.0.0.oe +++ b/makedevs/makedevs_1.0.0.oe @@ -1,9 +1,8 @@ -SRC_URI = "file://makedevs.c \ - file://makedevs.c" +SRC_URI = "file://makedevs.c" S = "${WORKDIR}/makedevs-${PV}" do_configure() { - cp -f ${WORKDIR}/makedevs.c ${S}/ + install -m 0644 ${WORKDIR}/makedevs.c ${S}/ } do_compile() { -- cgit v1.2.3