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

login
register
mail settings
Submitter Andy Voltz
Date Feb. 20, 2014, 1:39 a.m.
Message ID <1392860357-14897-2-git-send-email-andy.voltz@timesys.com>
Download mbox | patch
Permalink /patch/67015/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Andy Voltz - Feb. 20, 2014, 1:39 a.m.
kernel-module-mcc provides a header which libmcc includes.
also add cflags to pull this in

Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
---
 recipes-bsp/libmcc/libmcc_1.03.bb |    2 ++
 1 file changed, 2 insertions(+)
Otavio Salvador - Feb. 20, 2014, 12:33 p.m.
Hello Andy,

Glad to see you active here again :)

On Wed, Feb 19, 2014 at 10:39 PM, Andy Voltz <andy.voltz@timesys.com> wrote:
> kernel-module-mcc provides a header which libmcc includes.
> also add cflags to pull this in
>
> Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
> ---
>  recipes-bsp/libmcc/libmcc_1.03.bb |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes-bsp/libmcc/libmcc_1.03.bb b/recipes-bsp/libmcc/libmcc_1.03.bb
> index 18fc84e..ed98d79 100644
> --- a/recipes-bsp/libmcc/libmcc_1.03.bb
> +++ b/recipes-bsp/libmcc/libmcc_1.03.bb
> @@ -5,6 +5,7 @@ LICENSE = "GPL-2.0"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
>
>  RDEPENDS_${PN} = "kernel-module-mcc"
> +DEPENDS = "kernel-module-mcc"

Please put DEPENDS before RDEPENDS.

Patch

diff --git a/recipes-bsp/libmcc/libmcc_1.03.bb b/recipes-bsp/libmcc/libmcc_1.03.bb
index 18fc84e..ed98d79 100644
--- a/recipes-bsp/libmcc/libmcc_1.03.bb
+++ b/recipes-bsp/libmcc/libmcc_1.03.bb
@@ -5,6 +5,7 @@  LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
 
 RDEPENDS_${PN} = "kernel-module-mcc"
+DEPENDS = "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)"