diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2014-12-15 09:33:43 -0800 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2014-12-15 09:33:43 -0800 |
commit | 0ee9ecbcf709b0e90dd825768bb917ca89db5e77 (patch) | |
tree | bdd2bb04b5a1ac92c567d5fd82b65d70b413a696 /config/libc | |
parent | 7275900f9ffce61fabc90e0ff870fec175976ffb (diff) | |
parent | 163a1737b8464ae241c0bfc1dfe61bbc668b3428 (diff) | |
download | crosstool-ng-0ee9ecbcf709b0e90dd825768bb917ca89db5e77.tar.gz crosstool-ng-0ee9ecbcf709b0e90dd825768bb917ca89db5e77.tar.bz2 crosstool-ng-0ee9ecbcf709b0e90dd825768bb917ca89db5e77.zip |
Merge pull request #6 from davidholsgrove/libc_custom_location
Libc custom location
Diffstat (limited to 'config/libc')
-rw-r--r-- | config/libc/eglibc.in | 25 | ||||
-rw-r--r-- | config/libc/glibc.in | 23 |
2 files changed, 48 insertions, 0 deletions
diff --git a/config/libc/eglibc.in b/config/libc/eglibc.in index e939d03b..8504cbf3 100644 --- a/config/libc/eglibc.in +++ b/config/libc/eglibc.in @@ -79,6 +79,13 @@ config LIBC_EGLIBC_V_TRUNK help Selecting this will export the trunk of the eglibc subversion repository. +config LIBC_EGLIBC_CUSTOM + bool + prompt "Custom eglibc" + depends on EXPERIMENTAL + select LIBC_EGLIBC_2_16_or_later + select LIBC_CUSTOM + endchoice config LIBC_VERSION @@ -96,10 +103,27 @@ config LIBC_VERSION default "2_10" if LIBC_EGLIBC_V_2_10 default "2_9" if LIBC_EGLIBC_V_2_9 default "trunk" if LIBC_EGLIBC_V_TRUNK + default "custom" if LIBC_EGLIBC_CUSTOM config LIBC_EGLIBC_2_16_or_later bool +config LIBC_CUSTOM + bool + +if LIBC_EGLIBC_CUSTOM + +config LIBC_EGLIBC_CUSTOM_LOCATION + string + prompt "Full path to custom eglibc source" + default "" + help + Enter the path to the directory (or tarball) of your source for eglibc, + or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/eglibc + +endif # LIBC_EGLIBC_CUSTOM +if ! LIBC_EGLIBC_CUSTOM + if CONFIGURE_has_svn config EGLIBC_REVISION @@ -149,6 +173,7 @@ comment "| - or have a LAN mirror with a pre-downloaded tarball" comment "otherwise you won't be able to download eglibc" endif # ! CONFIGURE_has_svn +endif # ! LIBC_EGLIBC_CUSTOM config EGLIBC_OPT_SIZE bool diff --git a/config/libc/glibc.in b/config/libc/glibc.in index d349dfb1..f107438f 100644 --- a/config/libc/glibc.in +++ b/config/libc/glibc.in @@ -95,11 +95,33 @@ config LIBC_GLIBC_V_2_8 prompt "2.8" select LIBC_GLIBC_PORTS_EXTERNAL +config LIBC_GLIBC_CUSTOM + bool + prompt "Custom glibc" + depends on EXPERIMENTAL + select LIBC_CUSTOM + select LIBC_GLIBC_2_20_or_later + endchoice config LIBC_GLIBC_2_20_or_later bool +config LIBC_CUSTOM + bool + +if LIBC_GLIBC_CUSTOM + +config LIBC_GLIBC_CUSTOM_LOCATION + string + prompt "Full path to custom glibc source" + default "" + help + Enter the path to the directory (or tarball) of your source for glibc, + or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/glibc + +endif # LIBC_GLIBC_CUSTOM + config LIBC_VERSION string # Don't remove next line @@ -120,3 +142,4 @@ config LIBC_VERSION default "2.10.1" if LIBC_GLIBC_V_2_10_1 default "2.9" if LIBC_GLIBC_V_2_9 default "2.8" if LIBC_GLIBC_V_2_8 + default "custom" if LIBC_GLIBC_CUSTOM |