summaryrefslogtreecommitdiffstats
path: root/platforms
diff options
context:
space:
mode:
authorJon Ringle <jon@ringle.org>2010-03-03 20:36:54 -0500
committerJon Ringle <jon@ringle.org>2010-03-03 20:36:54 -0500
commit7a1725d697b39f5140404d8563cfd425b47e1bdf (patch)
tree6b081290a1824cf7cd0fb20619977b8e1e4c55f3 /platforms
parent5954e9a0426ec53e47573be02d4013c0c56c672b (diff)
downloadptxdist-7a1725d697b39f5140404d8563cfd425b47e1bdf.tar.gz
ptxdist-7a1725d697b39f5140404d8563cfd425b47e1bdf.tar.xz
[toolchain] Add support for detecting uClibc toolchain
Signed-off-by: Jon Ringle <jon@ringle.org>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/toolchain.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/platforms/toolchain.in b/platforms/toolchain.in
index 097b5eb5f..90d62ad6e 100644
--- a/platforms/toolchain.in
+++ b/platforms/toolchain.in
@@ -26,6 +26,24 @@ config CROSSCHAIN_CHECK
to avoid compilation with the wrong compiler version
when you use your own external toolchain.
+choice
+ prompt "c library "
+ default LIBC_GLIBC
+
+ config LIBC_GLIBC
+ bool
+ prompt "glibc "
+ help
+ This menu entry lets you select components from the
+ standard C library called glibc. It depends on the
+ system what components are required.
+
+ config LIBC_UCLIBC
+ bool
+ prompt "uClibc "
+endchoice
+
+if LIBC_GLIBC
config GLIBC_VERSION
string
prompt "check for specific glibc version"
@@ -34,6 +52,18 @@ config GLIBC_VERSION
Specify the glibc version this BSP shall be built with. This information
is used to guess the toolchain path if you use "ptxdist toolchain"
without an argument.
+endif
+
+if LIBC_UCLIBC
+config UCLIBC_VERSION
+ string
+ prompt "check for specific uClibc version"
+ default "0.9.30.2"
+ help
+ Specify the uClibc version this BSP shall be built with. This information
+ is used to guess the toolchain path if you use "ptxdist toolchain"
+ without an argument.
+endif
config GNU_TARGET
string