fmlib: fix compile error with linux-libc-headers
PATCH 1/1 fmlib: fix compile error with linux-libc-headers
From: Chunrong Guo <[email protected]>
* 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
--- recipes-dpaa/fmlib/fmlib_git.bb | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
recipes-dpaa/fmlib/fmlib_git.bb +1 -2
@@ -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
Signature · 1 line
1.7.5.4
Luo Zhenhua-B19537
AppliedApplied in dora/master, thanks.
Best Regards,
Zhenhua
Quoted 49 lines
-----Original Message-----
From: Guo Chunrong-B40290
Sent: Monday, September 30, 2013 1:31 PM
To: [email protected]
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290
Subject: [meta-fsl-ppc master][PATCH] fmlib: fix compile error with linux-libc-headersFrom: Chunrong Guo <[email protected]>
* 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
directorySigned-off-by Chunrong Guo <[email protected]>--- recipes-dpaa/fmlib/fmlib_git.bb | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)recipes- renamed from recipes-dpaa/fmlib/fmlib_git.bb +0
-0dpaa/fmlib/fmlib_git.bb index 7a7b8f2..9d34fcc 100644
recipes-dpaa/fmlib/fmlib_git.bb +0
-0@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM ="file://COPYING;md5=3f16fa8e677e45af3127c5c4bafc3c00"
PR = "r1"
recipes-dpaa/fmlib/fmlib_git.bb +0
-2-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