Skip to contentSkip to conversation

libmcc: provide explicit do_install

PATCH New Max Krummenacher 1 participant 2 messages Dec 30, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libmcc: provide explicit do_install

libmcc is a pure make project. Inheriting autotools provided an implicit do_install task, however with the change to seperate builddirs in dizzy (${B} != ${S}) do_install fails.
Removing autotools and providing an explicit do_install task fixes this.

---
 recipes-bsp/libmcc/libmcc_1.05.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
recipes-bsp/libmcc/libmcc_1.05.bb +4 -2
index 58593c9..c391347 100644
@@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
 
 DEPENDS = "kernel-module-mcc"
 
-inherit autotools
-
 SRC_URI = "http://repository.timesys.com/buildsources/l/libmcc/libmcc-${PV}/libmcc-${PV}.tar.bz2"
 
 SRC_URI[md5sum] = "cc3965f162dd20b8e6b9babf5dd963ee"
@@ -19,3 +17,7 @@ CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
 RDEPENDS_${PN} = "kernel-module-mcc"
 
 COMPATIBLE_MACHINE = "(vf60)"
+
+do_install() {
+    oe_runmake 'DESTDIR=${D}' install
+}
Signature · 1 line
1.8.4.5
#1 lore raw

PATCH 2/2 mqxboot: provide explicit do_install

mqxboot is a pure make project. Inheriting autotools provided an implicit do_install task, however with the change to seperate builddirs in dizzy (${B} != ${S}) do_install fails.
Removing autotools and providing an explicit do_install task fixes this.

---
 recipes-bsp/mqxboot/mqxboot_1.0.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
recipes-bsp/mqxboot/mqxboot_1.0.bb +4 -2
index 1293928..5009209 100644
@@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
 
 DEPENDS = "kernel-module-mcc"
 
-inherit autotools
-
 SRC_URI = "http://repository.timesys.com/buildsources/m/mqxboot/mqxboot-${PV}/mqxboot-${PV}.tar.bz2"
 
 SRC_URI[md5sum] = "3de3c8b5f8cd6664870587d29c04c421"
@@ -19,3 +17,7 @@ CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
 RDEPENDS_${PN} = "kernel-module-mcc"
 
 COMPATIBLE_MACHINE = "(vf60)"
+
+do_install() {
+    oe_runmake 'DESTDIR=${D}' install
+}
Signature · 1 line
1.8.4.5