Modify configure arguments (EXTRA_OECONF) to support build for TCLIBC="baremetal"
Signed-off-by: Juro Bystricky <juro.bystri...@intel.com> --- meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc index 07ecfee..54e4881 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc @@ -169,5 +169,9 @@ EXTRA_OECONF += "\ --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix} \ " +EXTRA_OECONF_append_libc-baremetal = " --without-headers" +EXTRA_OECONF_remove_libc-baremetal = "--with-sysroot=/not/exist" +EXTRA_OECONF_remove_libc-baremetal = "--with-build-sysroot=${STAGING_DIR_TARGET}" + # gcc 4.7 needs -isystem export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}" -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core