[meta-freescale] [meta-fsl-arm][master][dizzy][PATCH 2/2] mqxboot: provide explicit do_install

Max Krummenacher max.oss.09 at gmail.com
Tue Dec 30 06:11:06 PST 2014


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.

Signed-off-by: Max Krummenacher <max.oss.09 at gmail.com>
---
 recipes-bsp/mqxboot/mqxboot_1.0.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/mqxboot/mqxboot_1.0.bb b/recipes-bsp/mqxboot/mqxboot_1.0.bb
index 1293928..5009209 100644
--- a/recipes-bsp/mqxboot/mqxboot_1.0.bb
+++ b/recipes-bsp/mqxboot/mqxboot_1.0.bb
@@ -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
+}
-- 
1.8.4.5



More information about the meta-freescale mailing list