summaryrefslogtreecommitdiff
path: root/makedevs
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-03-28 18:20:45 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-03-28 18:20:45 +0000
commitcae1f59c9a16743fb50ad366a5cb3f7a36856ff8 (patch)
tree15a8644da0649235aba2323c96d0053f5f9f473b /makedevs
parent5f5f5481d604b8ac9ca28f1aea24128b0502a9a4 (diff)
makedevs is also needed on target
BKrev: 4067177dXpzwM1pNjWPZ2tRIjPLxug
Diffstat (limited to 'makedevs')
-rw-r--r--makedevs/makedevs-1.0.0/makedevs.c (renamed from makedevs/makedevs-native-1.0.0/makedevs.c)0
-rw-r--r--makedevs/makedevs-native_1.0.0.oe18
-rw-r--r--makedevs/makedevs_1.0.0.oe0
3 files changed, 18 insertions, 0 deletions
diff --git a/makedevs/makedevs-native-1.0.0/makedevs.c b/makedevs/makedevs-1.0.0/makedevs.c
index e69de29bb2..e69de29bb2 100644
--- a/makedevs/makedevs-native-1.0.0/makedevs.c
+++ b/makedevs/makedevs-1.0.0/makedevs.c
diff --git a/makedevs/makedevs-native_1.0.0.oe b/makedevs/makedevs-native_1.0.0.oe
index e69de29bb2..6fe5c8bf18 100644
--- a/makedevs/makedevs-native_1.0.0.oe
+++ b/makedevs/makedevs-native_1.0.0.oe
@@ -0,0 +1,18 @@
+inherit native
+
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/makedevs-${PV}"
+S = "${WORKDIR}/makedevs-native-${PV}"
+
+do_configure() {
+ cp -f ${FILESDIR}/makedevs.c ${S}/
+}
+
+do_compile() {
+ ${CC} ${CFLAGS} -o ${S}/makedevs ${S}/makedevs.c
+}
+
+do_stage() {
+ install -d ${STAGING_BINDIR}/
+ install -m 0755 ${S}/makedevs ${STAGING_BINDIR}/
+}
+
diff --git a/makedevs/makedevs_1.0.0.oe b/makedevs/makedevs_1.0.0.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/makedevs/makedevs_1.0.0.oe