summaryrefslogtreecommitdiff
path: root/makedevs
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-05-22 21:22:15 +0000
committerChris Larson <clarson@kergoth.com>2004-05-22 21:22:15 +0000
commit920f7ff74ac8482916f6ea6ac6e85fcd572cd240 (patch)
tree77d634b322839ae30b00038710132236b9411377 /makedevs
parentb93b3c20932a2910c9335e9b298833c4c14e3139 (diff)
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
Diffstat (limited to 'makedevs')
-rw-r--r--makedevs/makedevs-native_1.0.0.oe10
-rw-r--r--makedevs/makedevs_1.0.0.oe5
2 files changed, 3 insertions, 12 deletions
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() {