Patchwork [2/2] mqxboot: add missing build dependency on kernel-module-mcc

login
register
mail settings
Submitter Andy Voltz
Date Feb. 20, 2014, 3:29 p.m.
Message ID <1392910175-27675-3-git-send-email-andy.voltz@timesys.com>
Download mbox | patch
Permalink /patch/67063/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Andy Voltz - Feb. 20, 2014, 3:29 p.m.
mqxboot pulls in a header from kernel-module-mcc

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

Patch

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)"