[meta-freescale] [meta-fsl-ppc master][PATCH] fmlib: fix compile error with linux-libc-headers

Luo Zhenhua-B19537 B19537 at freescale.com
Sun Sep 29 23:44:16 PDT 2013


Applied in dora/master, thanks. 


Best Regards,

Zhenhua


> -----Original Message-----
> From: Guo Chunrong-B40290
> Sent: Monday, September 30, 2013 1:31 PM
> To: meta-freescale at yoctoproject.org
> Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290
> Subject: [meta-fsl-ppc master][PATCH] fmlib: fix compile error with
> linux-libc-headers
> 
> From: Chunrong Guo <B40290 at freescale.com>
> 
>     * fix the below error
>     | NOTE: make -j 48 DESTDIR=/poky/build/tmp/work/ppce500mc-poky-
> linux/fmlib/git-r1/image PREFIX=/usr LIB_DEST_DIR=/usr/lib    |
> CROSS_COMPILE=powerpc-poky-linux-
> KERNEL_SRC=/poky/build/tmp/sysroots/p4080ds/usr libfm-ppce500mc.a
>     | (CC)  libfm-ppce500mc.o
>     | src/fm_lib.c:56:23: fatal error: fm_ioctls.h: No such file or
> directory
> 
> Signed-off-by: Chunrong Guo <B40290 at freescale.com>
> ---
>  recipes-dpaa/fmlib/fmlib_git.bb |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-
> dpaa/fmlib/fmlib_git.bb index 7a7b8f2..9d34fcc 100644
> --- a/recipes-dpaa/fmlib/fmlib_git.bb
> +++ b/recipes-dpaa/fmlib/fmlib_git.bb
> @@ -5,7 +5,6 @@ LIC_FILES_CHKSUM =
> "file://COPYING;md5=3f16fa8e677e45af3127c5c4bafc3c00"
> 
>  PR = "r1"
> 
> -DEPENDS = "linux-libc-headers"
>  DEPENDS_virtclass-native = ""
> 
>  SRC_URI = "git://git.freescale.com/ppc/sdk/fmlib.git"
> @@ -20,7 +19,7 @@ COMPATIBLE_HOST_fslmachine = ".*"
>  COMPATIBLE_HOST ?= "(none)"
> 
>  EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \
> -        CROSS_COMPILE=${TARGET_PREFIX}
> KERNEL_SRC=${STAGING_EXECPREFIXDIR}"
> +        CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}"
> 
>  do_compile () {
>        oe_runmake libfm-${TARGET_ARCH_FMLIB}.a
> --
> 1.7.5.4





More information about the meta-freescale mailing list