summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holsgrove <david.holsgrove@xilinx.com>2014-12-15 02:11:52 (GMT)
committerDavid Holsgrove <david.holsgrove@xilinx.com>2014-12-15 04:40:15 (GMT)
commit59485ba5197e9bbfc1da1c18b2e7d1efc8ad7aed (patch)
treead1913ef1a4b0e5327588ab5cafdb0434e39d978
parent7275900f9ffce61fabc90e0ff870fec175976ffb (diff)
libc/newlib: Canadian baremetal builds require core pass-1
Can safely skip the core pass-1 for normal baremetal builds, but when building a canadian baremetal, the repair_cc functionality (GCC_FOR_TARGET) in gcc.sh will force the core pass-2 to attempt to build gcc and libgcc without a ${CT_TARGET}-gcc existing, causing a failure on ${CT_TARGET}-gcc -dumpspecs > tmp-specs Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
-rw-r--r--config/libc/newlib.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
index 1beedb4..fe21a70 100644
--- a/config/libc/newlib.in
+++ b/config/libc/newlib.in
@@ -3,7 +3,8 @@
## depends on BARE_METAL
##
## select LIBC_SUPPORT_THREADS_NONE
-## select CC_CORE_PASS_2_NEEDED
+## select CC_CORE_PASSES_NEEDED if CANADIAN
+## select CC_CORE_PASS_2_NEEDED if ! CANADIAN
##
## help Newlib is a C library intended for use on embedded systems. It is a
## help conglomeration of several library parts, all under free software