]> code.ossystems Code Review - meta-freescale.git/commitdiff
libmcc: provide explicit do_install
authorMax Krummenacher <max.oss.09@gmail.com>
Tue, 30 Dec 2014 14:11:05 +0000 (15:11 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 31 Dec 2014 19:06:05 +0000 (17:06 -0200)
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.

Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-bsp/libmcc/libmcc_1.05.bb

index 58593c98b375d3b7e165c15556a60c795accb104..c391347bc81ee1f33c6d55e9687a54496f08634a 100644 (file)
@@ -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
+}