diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/binutils/binutils.in.2 | 4 | ||||
-rw-r--r-- | config/cc/gcc.in.2 | 3 | ||||
-rw-r--r-- | config/companion_libs.in | 6 | ||||
-rw-r--r-- | config/companion_libs/zlib.in | 19 | ||||
-rw-r--r-- | config/libc/uClibc.in | 6 |
5 files changed, 36 insertions, 2 deletions
diff --git a/config/binutils/binutils.in.2 b/config/binutils/binutils.in.2 index 7a1291f..dfb00bd 100644 --- a/config/binutils/binutils.in.2 +++ b/config/binutils/binutils.in.2 @@ -2,6 +2,10 @@ if ARCH_BINFMT_FLAT +config ELF2FLT_REQUIRES_ZLIB + def_bool y + select ZLIB + comment "elf2flt" choice diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2 index 2c5d45e..aad488b 100644 --- a/config/cc/gcc.in.2 +++ b/config/cc/gcc.in.2 @@ -81,6 +81,9 @@ config CC_GCC_SYSTEM_ZLIB help Do not use bundled zlib, and use the zlib already available for the host (eg. the system library). + + If zlib is built as a companion library, selecting this option + will use it. If you want to build a static toolchain, you will need to also install the static version of zlib for your host. diff --git a/config/companion_libs.in b/config/companion_libs.in index 7d1d4f7..02f2ecb 100644 --- a/config/companion_libs.in +++ b/config/companion_libs.in @@ -119,6 +119,12 @@ config NCURSES config NCURSES_TARGET bool +config ZLIB + bool "Build local zlib" + +if ZLIB +source "config/companion_libs/zlib.in" +endif if LIBICONV source "config/companion_libs/libiconv.in" endif diff --git a/config/companion_libs/zlib.in b/config/companion_libs/zlib.in new file mode 100644 index 0000000..df93682 --- /dev/null +++ b/config/companion_libs/zlib.in @@ -0,0 +1,19 @@ +# Zlib options + +choice + bool + prompt "zlib version" +# Don't remove next line +# CT_INSERT_VERSION_BELOW + +config ZLIB_V_1_2_11 + bool + prompt "1.2.11" + +endchoice + +config ZLIB_VERSION + string +# Don't remove next line +# CT_INSERT_VERSION_STRING_BELOW + default "1.2.11" if ZLIB_V_1_2_11 diff --git a/config/libc/uClibc.in b/config/libc/uClibc.in index 219426a..e830662 100644 --- a/config/libc/uClibc.in +++ b/config/libc/uClibc.in @@ -35,7 +35,8 @@ choice prompt "uClibc Version Name" config LIBC_UCLIBC_CUSTOM_UCLIBC - bool "uClibc" + bool "uClibc (OBSOLETE)" + depends on OBSOLETE select LIBC_UCLIBC_0_9_33_2_or_later config LIBC_UCLIBC_CUSTOM_UCLIBC_NG @@ -100,7 +101,8 @@ config LIBC_UCLIBC_NG_V_1_0_20 config LIBC_UCLIBC_V_0_9_33_2 bool - prompt "0.9.33.2" + prompt "0.9.33.2 (OBSOLETE)" + depends on OBSOLETE select LIBC_UCLIBC_0_9_33_2_or_later endchoice |