2009-05-03 21:10:15 +00:00
|
|
|
# Companion libraries config options
|
|
|
|
# Those libraries are required for different versions of gcc,
|
|
|
|
# and can be used by binutils and gdb (maybe others as well).
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2009-05-03 21:10:15 +00:00
|
|
|
menu "Companion libraries"
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2017-11-29 00:14:04 -08:00
|
|
|
config COMPLIBS_CHECK
|
2010-10-03 23:11:27 +02:00
|
|
|
bool
|
2017-11-29 00:14:04 -08:00
|
|
|
prompt "Check the companion libraries builds (!!! READ HELP!!!)"
|
|
|
|
help
|
|
|
|
It is highly recommended to check the newly built companion libraries.
|
|
|
|
Unfortunately, this is a very intensive task, and takes a loooong time.
|
|
|
|
|
|
|
|
Checking the newly built companion libraries is thus disabled by default,
|
|
|
|
but it is suggested that you check them at least once on your machine,
|
|
|
|
and if they work, disable the check on subsequent builds.
|
|
|
|
|
|
|
|
If you suspect that one (or more) of your companion libraries is the
|
|
|
|
cause for incorrectly generated code, you should answer 'Y' here.
|
|
|
|
Note however that this will take a really long time.
|
|
|
|
|
|
|
|
source "config/gen/comp_libs.in"
|
|
|
|
|
|
|
|
# FIXME this needs to have a list of options
|
|
|
|
# [ ] libfoo for build
|
|
|
|
# [ ] libfoo for host (if canadian)
|
|
|
|
# [ ] libfoo for target
|
|
|
|
# libfoo options -->
|
|
|
|
#
|
|
|
|
# Then have other packages *set default* for build/host
|
|
|
|
# (but not select, so that user can utilize build's or host's system library)
|
|
|
|
# and *select* the target (so that we build it if we must, and let user optionally
|
|
|
|
# build it if he wants). Upon any of these options LIBFOO_{BUILD,HOST,TARGET}
|
|
|
|
# being set, set LIBFOO_ENABLED and use that as a qualifier for submenu.
|
|
|
|
# For now, LIBFOO_NEEDED symbol may or may not user-selectable, and COMP_LIBS_LIBFOO
|
|
|
|
# determines whether it is actually built. LIBFOO_NEEDED is currently for build/host
|
|
|
|
# and LIBFOO_TARGET (if exists) is for target.
|
2010-10-03 23:11:27 +02:00
|
|
|
|
2015-10-24 01:49:56 +01:00
|
|
|
config LIBICONV_NEEDED
|
2017-11-29 00:14:04 -08:00
|
|
|
bool "Build local libiconv"
|
|
|
|
default y if CANADIAN || CROSS_NATIVE
|
|
|
|
select COMP_LIBS_LIBICONV
|
2015-10-24 01:49:56 +01:00
|
|
|
|
|
|
|
config GETTEXT_NEEDED
|
2017-11-29 00:14:04 -08:00
|
|
|
bool "Build local gettext"
|
|
|
|
default y if CANADIAN || CROSS_NATIVE
|
2015-10-24 01:49:56 +01:00
|
|
|
select LIBICONV_NEEDED
|
2017-11-29 00:14:04 -08:00
|
|
|
select NCURSES_NEEDED
|
|
|
|
select COMP_LIBS_GETTEXT
|
2015-10-24 01:49:56 +01:00
|
|
|
|
2010-10-03 23:11:27 +02:00
|
|
|
config GMP_NEEDED
|
2017-02-18 23:14:52 -08:00
|
|
|
def_bool y
|
2017-11-29 00:14:04 -08:00
|
|
|
select COMP_LIBS_GMP
|
2010-10-03 23:11:27 +02:00
|
|
|
|
2021-09-16 21:30:46 +12:00
|
|
|
config GMP_TARGET
|
|
|
|
bool
|
|
|
|
select COMP_LIBS_GMP
|
|
|
|
|
2010-10-03 23:11:27 +02:00
|
|
|
config MPFR_NEEDED
|
2017-02-18 23:14:52 -08:00
|
|
|
def_bool y
|
2017-11-29 00:14:04 -08:00
|
|
|
select GMP_NEEDED
|
|
|
|
select COMP_LIBS_MPFR
|
2010-10-03 23:11:27 +02:00
|
|
|
|
2013-05-04 00:08:34 +02:00
|
|
|
config ISL_NEEDED
|
|
|
|
bool
|
2017-11-29 00:14:04 -08:00
|
|
|
select GMP_NEEDED
|
|
|
|
select COMP_LIBS_ISL
|
2013-05-04 00:08:34 +02:00
|
|
|
|
2010-10-03 23:11:27 +02:00
|
|
|
config CLOOG_NEEDED
|
|
|
|
bool
|
2017-11-29 00:14:04 -08:00
|
|
|
select GMP_NEEDED
|
|
|
|
select COMP_LIBS_CLOOG
|
2010-10-03 23:11:27 +02:00
|
|
|
|
|
|
|
config MPC_NEEDED
|
2017-02-18 23:14:52 -08:00
|
|
|
def_bool y
|
2017-11-29 00:14:04 -08:00
|
|
|
select GMP_NEEDED
|
|
|
|
select MPFR_NEEDED
|
|
|
|
select COMP_LIBS_MPC
|
2010-10-03 23:11:27 +02:00
|
|
|
|
|
|
|
config LIBELF_NEEDED
|
|
|
|
bool
|
2017-11-29 00:14:04 -08:00
|
|
|
select COMP_LIBS_LIBELF
|
|
|
|
|
|
|
|
config LIBELF_TARGET
|
|
|
|
bool
|
|
|
|
select COMP_LIBS_LIBELF
|
2010-10-03 23:11:27 +02:00
|
|
|
|
2015-11-06 22:15:11 -08:00
|
|
|
config EXPAT_NEEDED
|
|
|
|
bool
|
2017-11-29 00:14:04 -08:00
|
|
|
select COMP_LIBS_EXPAT
|
|
|
|
|
|
|
|
config EXPAT_TARGET
|
|
|
|
bool
|
|
|
|
select COMP_LIBS_EXPAT
|
2015-11-06 22:15:11 -08:00
|
|
|
|
2015-11-07 23:31:46 -08:00
|
|
|
config NCURSES_NEEDED
|
|
|
|
bool
|
2017-11-29 00:14:04 -08:00
|
|
|
select COMP_LIBS_NCURSES
|
2015-11-07 23:31:46 -08:00
|
|
|
|
2017-11-29 00:14:04 -08:00
|
|
|
config NCURSES_TARGET
|
2010-02-18 20:43:31 +01:00
|
|
|
bool
|
2017-11-29 00:14:04 -08:00
|
|
|
select COMP_LIBS_NCURSES
|
2010-02-18 20:43:31 +01:00
|
|
|
|
2017-11-29 00:14:04 -08:00
|
|
|
config ZLIB_NEEDED
|
|
|
|
bool "Build local zlib"
|
|
|
|
select COMP_LIBS_ZLIB
|
|
|
|
|
|
|
|
# FIXME remove these legacy knobs
|
2015-10-24 01:49:56 +01:00
|
|
|
config LIBICONV
|
2017-11-29 00:14:04 -08:00
|
|
|
def_bool y
|
|
|
|
depends on LIBICONV_NEEDED
|
2015-10-24 01:49:56 +01:00
|
|
|
|
|
|
|
config GETTEXT
|
2017-11-29 00:14:04 -08:00
|
|
|
def_bool y
|
|
|
|
depends on GETTEXT_NEEDED
|
2015-10-24 01:49:56 +01:00
|
|
|
|
2010-02-17 23:47:47 +01:00
|
|
|
config GMP
|
2017-11-29 00:14:04 -08:00
|
|
|
def_bool y
|
|
|
|
depends on GMP_NEEDED
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2010-02-17 23:47:47 +01:00
|
|
|
config MPFR
|
2017-11-29 00:14:04 -08:00
|
|
|
def_bool y
|
|
|
|
depends on MPFR_NEEDED
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2013-05-04 00:08:34 +02:00
|
|
|
config ISL
|
2017-11-29 00:14:04 -08:00
|
|
|
def_bool y
|
|
|
|
depends on ISL_NEEDED
|
2013-05-04 00:08:34 +02:00
|
|
|
|
2010-02-17 23:47:47 +01:00
|
|
|
config CLOOG
|
2017-11-29 00:14:04 -08:00
|
|
|
def_bool y
|
|
|
|
depends on CLOOG_NEEDED
|
2010-02-17 23:47:47 +01:00
|
|
|
|
|
|
|
config MPC
|
2017-11-29 00:14:04 -08:00
|
|
|
def_bool y
|
|
|
|
depends on MPC_NEEDED
|
2009-05-05 22:04:20 +00:00
|
|
|
|
2010-02-17 23:41:17 +01:00
|
|
|
config LIBELF
|
2017-11-29 00:14:04 -08:00
|
|
|
def_bool y
|
|
|
|
depends on LIBELF_NEEDED
|
2010-02-17 23:41:17 +01:00
|
|
|
|
2015-11-06 22:15:11 -08:00
|
|
|
config EXPAT
|
2017-11-29 00:14:04 -08:00
|
|
|
def_bool y
|
|
|
|
depends on EXPAT_NEEDED
|
2015-11-06 22:15:11 -08:00
|
|
|
|
2015-11-07 23:31:46 -08:00
|
|
|
config NCURSES
|
2017-11-29 00:14:04 -08:00
|
|
|
def_bool y
|
|
|
|
depends on NCURSES_NEEDED
|
2015-11-07 23:31:46 -08:00
|
|
|
|
2017-02-03 17:49:45 -08:00
|
|
|
config ZLIB
|
2017-11-29 00:14:04 -08:00
|
|
|
def_bool y
|
|
|
|
depends on ZLIB_NEEDED
|
2010-04-11 00:47:23 +02:00
|
|
|
|
2008-06-20 15:16:43 +00:00
|
|
|
endmenu
|