All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juro Bystricky <juro.bystricky@intel.com>
To: openembedded-core@lists.openembedded.org, jurobystricky@hotmail.com
Subject: [PATCH 3/5] gcc-cross.inc: overrides for libc-baremetal
Date: Sat, 22 Aug 2015 09:55:17 -0700	[thread overview]
Message-ID: <1440262519-13582-4-git-send-email-juro.bystricky@intel.com> (raw)
In-Reply-To: <1440262519-13582-1-git-send-email-juro.bystricky@intel.com>

Modifications to to support build for TCLIBC="baremetal"

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
---
 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



  parent reply	other threads:[~2015-08-22 17:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-22 16:55 [PATCH 0/5] Support for "baremetal" toolchains Juro Bystricky
2015-08-22 16:55 ` [PATCH 1/5] tclibc-baremetal.inc: baremetal specific distro policy file Juro Bystricky
2015-08-22 16:55 ` [PATCH 2/5] gcc-cross-canadian.inc: overrides for libc-baremetal Juro Bystricky
2015-08-22 16:55 ` Juro Bystricky [this message]
2015-08-22 16:55 ` [PATCH 4/5] libgcc-common.inc: " Juro Bystricky
2015-08-22 16:55 ` [PATCH 5/5] cross-canadian.bbclass: support for TCLIBC="baremetal" Juro Bystricky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1440262519-13582-4-git-send-email-juro.bystricky@intel.com \
    --to=juro.bystricky@intel.com \
    --cc=jurobystricky@hotmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.