* [PATCH] libc/newlib: Add extra config for newlib
@ 2011-11-22 11:25 Zhenqiang Chen
2011-11-22 22:42 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Zhenqiang Chen @ 2011-11-22 11:25 UTC (permalink / raw)
To: yann.morin.1998; +Cc: crossgcc
# HG changeset patch
# User Zhenqiang Chen <zhenqiang.chen@linaro.org>
# Date 1321588050 -28800
# Node ID 00cde9fb9661f99d1fb62a935e56ac318b320668
# Parent a6c68712024f406df7d2da4af377f51982615833
libc/newlib: Add extra config for newlib.
So users can input config like --enable-newlib-register-fini.
Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
diff --git a/config/libc/newlib.in.2 b/config/libc/newlib.in.2
--- a/config/libc/newlib.in.2
+++ b/config/libc/newlib.in.2
@@ -35,3 +35,9 @@
_write... If you plan to port newlib to a new
platform/board, say Yes.
+config LIBC_NEWLIB_EXTRA_CONFIG_ARRAY
+ string
+ prompt "Extra config for newlib"
+ default ""
+ help
+ Extra flags to pass onto ./configure when configuring the newlib.
diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh
--- a/scripts/build/libc/newlib.sh
+++ b/scripts/build/libc/newlib.sh
@@ -99,7 +99,8 @@
--host=${CT_BUILD} \
--target=${CT_TARGET} \
--prefix=${CT_PREFIX_DIR} \
- "${newlib_opts[@]}"
+ "${newlib_opts[@]}" \
+ "${CT_LIBC_NEWLIB_EXTRA_CONFIG_ARRAY[@]}"
CT_DoLog EXTRA "Building C library"
CT_DoExecLog ALL make ${JOBSFLAGS}
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] libc/newlib: Add extra config for newlib
2011-11-22 11:25 [PATCH] libc/newlib: Add extra config for newlib Zhenqiang Chen
@ 2011-11-22 22:42 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2011-11-22 22:42 UTC (permalink / raw)
To: crossgcc; +Cc: Zhenqiang Chen
Zhenqiang, All,
On Tuesday 22 November 2011 12:24:33 Zhenqiang Chen wrote:
> # HG changeset patch
> # User Zhenqiang Chen <zhenqiang.chen@linaro.org>
> # Date 1321588050 -28800
> # Node ID 00cde9fb9661f99d1fb62a935e56ac318b320668
> # Parent a6c68712024f406df7d2da4af377f51982615833
> libc/newlib: Add extra config for newlib.
Applied as #504b0759c149. Thank you!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-22 22:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-22 11:25 [PATCH] libc/newlib: Add extra config for newlib Zhenqiang Chen
2011-11-22 22:42 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).