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

login
register
mail settings
Submitter Andy Voltz
Date Feb. 20, 2014, 3:11 p.m.
Message ID <1392909096-27237-2-git-send-email-andy.voltz@timesys.com>
Download mbox | patch
Permalink /patch/67057/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Andy Voltz - Feb. 20, 2014, 3:11 p.m.
kernel-module-mcc provides a header which libmcc includes.
also add cflags to pull this in
---
 recipes-bsp/libmcc/libmcc_1.03.bb |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/recipes-bsp/libmcc/libmcc_1.03.bb b/recipes-bsp/libmcc/libmcc_1.03.bb
index 18fc84e..950495c 100644
--- a/recipes-bsp/libmcc/libmcc_1.03.bb
+++ b/recipes-bsp/libmcc/libmcc_1.03.bb
@@ -4,6 +4,7 @@  DESCRIPTION = "Timesys Multicore communication Library"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
 
+DEPENDS = "kernel-module-mcc"
 RDEPENDS_${PN} = "kernel-module-mcc"
 
 inherit autotools
@@ -16,5 +17,6 @@  SRC_URI[md5sum] = "adac15d52206be21a4589b2b923af4cc"
 SRC_URI[sha256sum] = "8b4d88f260d4d3a67ee2c16e20112e0584403f350182087daa1cfafeceb16a7f"
 
 S = "${WORKDIR}/libmcc-${PV}"
+CFLAGS += " -I${STAGING_KERNEL_DIR}/include"
 
 COMPATIBLE_MACHINE = "(vf60)"