Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mail.openembedded.org (Postfix) with ESMTP id 65783763F0 for ; Sat, 22 Aug 2015 17:00:10 +0000 (UTC) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 22 Aug 2015 10:00:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,728,1432623600"; d="scan'208";a="753503592" Received: from juro-precision-t5610.jf.intel.com ([10.7.198.145]) by orsmga001.jf.intel.com with ESMTP; 22 Aug 2015 10:00:09 -0700 From: Juro Bystricky To: openembedded-core@lists.openembedded.org, jurobystricky@hotmail.com Date: Sat, 22 Aug 2015 09:55:17 -0700 Message-Id: <1440262519-13582-4-git-send-email-juro.bystricky@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440262519-13582-1-git-send-email-juro.bystricky@intel.com> References: <1440262519-13582-1-git-send-email-juro.bystricky@intel.com> Subject: [PATCH 3/5] gcc-cross.inc: overrides for libc-baremetal X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Aug 2015 17:00:11 -0000 Modifications to to support build for TCLIBC="baremetal" Signed-off-by: Juro Bystricky --- meta/recipes-devtools/gcc/gcc-cross.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc index 9792950..aa10633 100644 --- a/meta/recipes-devtools/gcc/gcc-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-cross.inc @@ -24,6 +24,10 @@ EXTRA_OECONF += "\ --with-system-zlib \ " +DEPENDS_remove_libc-baremetal := "virtual/${TARGET_PREFIX}libc-for-gcc" +EXTRA_OECONF_append_libc-baremetal = " --without-headers" +EXTRA_OECONF_remove_libc-baremetal = "--enable-threads=posix" + EXTRA_OECONF_PATHS = "\ --with-gxx-include-dir=/not/exist${target_includedir}/c++/${BINV} \ --with-sysroot=/not/exist \ -- 1.9.1