[meta-freescale] [PATCH 2/2] mqxboot: add missing build dependency on kernel-module-mcc

Andy Voltz andy.voltz at timesys.com
Thu Feb 20 07:29:35 PST 2014


mqxboot pulls in a header from kernel-module-mcc

Signed-off-by: Andy Voltz <andy.voltz at timesys.com>
---
 recipes-bsp/mqxboot/mqxboot_1.0.bb |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-bsp/mqxboot/mqxboot_1.0.bb b/recipes-bsp/mqxboot/mqxboot_1.0.bb
index 17f0233..707cfba 100644
--- a/recipes-bsp/mqxboot/mqxboot_1.0.bb
+++ b/recipes-bsp/mqxboot/mqxboot_1.0.bb
@@ -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)"
-- 
1.7.9.5



More information about the meta-freescale mailing list