]> code.ossystems Code Review - meta-freescale.git/commitdiff
fmlib: fix compile error with linux-libc-headers
authorChunrong Guo <B40290@freescale.com>
Mon, 30 Sep 2013 05:31:06 +0000 (05:31 +0000)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Mon, 30 Sep 2013 06:52:43 +0000 (14:52 +0800)
    * 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@freescale.com>
meta-fsl-ppc/recipes-dpaa/fmlib/fmlib_git.bb

index 7a7b8f2683d36e4b41e0ecee4ba30a67bec7a019..9d34fcc408fd86e2534d8718864b3969e9b6be0b 100644 (file)
@@ -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