[meta-freescale] [PATCH 14/27] lxc_0.8.0-rc1.bb: point lxc at kernel source

Matthew McClintock msm at freescale.com
Thu Nov 29 11:15:38 PST 2012


Fixes:

| powerpc-fsl-linux-gcc: error: default/arch/powerpc/include/asm/unistd.h: No such file or directory
| powerpc-fsl-linux-gcc: fatal error: no input files
| compilation terminated.
| attach.c:45:19: fatal error: setns.h: No such file or directory
| compilation terminated.
| make[3]: [setns.h] Error 1 (ignored)
| powerpc-fsl-linux-gcc -E --sysroot=/opt/yocto/cache-build/p4080ds/build_p4080ds_release/tmp/sysroots/p4080ds  -m32 -mhard-float  -mcpu=e500mc  -dM default/arch/powerpc/include/asm/unistd.h |grep setns > setns.h
| make[3]: *** [liblxc_so-attach.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| powerpc-fsl-linux-gcc: error: default/arch/powerpc/include/asm/unistd.h: No such file or directory
| powerpc-fsl-linux-gcc: fatal error: no input files
| compilation terminated.
| make[3]: [setns.h] Error 1 (ignored)
| make[3]: Leaving directory `/opt/yocto/cache-build/p4080ds/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/lxc-0.8.0-rc1-r4/lxc-0.8.0-rc1/src/lxc'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/opt/yocto/cache-build/p4080ds/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/lxc-0.8.0-rc1-r4/lxc-0.8.0-rc1/src'
| make[1]: *** [all] Error 2
| make[1]: Leaving directory `/opt/yocto/cache-build/p4080ds/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/lxc-0.8.0-rc1-r4/lxc-0.8.0-rc1/src'
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed

Signed-off-by: Matthew McClintock <msm at freescale.com>
---
 recipes-tools/lxc/lxc_0.8.0-rc1.bb |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-tools/lxc/lxc_0.8.0-rc1.bb b/recipes-tools/lxc/lxc_0.8.0-rc1.bb
index 64f36b3..accc16f 100644
--- a/recipes-tools/lxc/lxc_0.8.0-rc1.bb
+++ b/recipes-tools/lxc/lxc_0.8.0-rc1.bb
@@ -3,8 +3,8 @@ SECTION = "console/utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 PRIORITY = "optional"
-PR = "r4"
-DEPENDS = "libxml2 libcap"
+PR = "r5"
+DEPENDS = "libxml2 libcap virtual/kernel"
 RDEPENDS_${PN} = " \
 		rsync \
 		gzip \
@@ -31,7 +31,7 @@ SRC_URI[sha256sum] = "32bf83902c07387646c55de440d6d12cf61bd54c97417109c2d1ac47d1
 
 S = "${WORKDIR}/${PN}-${PV}"
 
-EXTRA_OECONF = "--disable-doc --disable-rpath"
+EXTRA_OECONF = "--disable-doc --disable-rpath --with-linuxdir=${STAGING_KERNEL_DIR}"
 
 inherit autotools
 
-- 
1.7.9.7





More information about the meta-freescale mailing list