]> code.ossystems Code Review - meta-freescale.git/commitdiff
mqxboot: add missing build dependency on kernel-module-mcc
authorAndy Voltz <andy.voltz@timesys.com>
Thu, 20 Feb 2014 15:29:35 +0000 (10:29 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 21 Feb 2014 12:02:53 +0000 (09:02 -0300)
mqxboot pulls in a header from kernel-module-mcc

Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
meta-fsl-arm/recipes-bsp/mqxboot/mqxboot_1.0.bb

index 17f02331384f1ac355b7eda76d123f441f6ada56..707cfbaa0ed34f1de53b74d123cc44c3d2778d13 100644 (file)
@@ -4,6 +4,7 @@ DESCRIPTION = "Timesys MQX Image loader - starts an MQX image on the M4"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
 
+DEPENDS = "kernel-module-mcc"
 RDEPENDS_${PN} = "kernel-module-mcc"
 
 inherit autotools
@@ -14,5 +15,6 @@ SRC_URI[md5sum] = "3de3c8b5f8cd6664870587d29c04c421"
 SRC_URI[sha256sum] = "c2f66ae962fe2529578d5c007e3f91a36085b714a0ea276f47bc3aea90e69699"
 
 S = "${WORKDIR}/mqxboot-${PV}"
+CFLAGS += " -I${STAGING_KERNEL_DIR}/include"
 
 COMPATIBLE_MACHINE = "(vf60)"