diff options
Diffstat (limited to 'makedevs')
-rw-r--r-- | makedevs/makedevs-native_1.0.0.oe | 10 | ||||
-rw-r--r-- | makedevs/makedevs_1.0.0.oe | 5 |
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() { |