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
|
|
|
|
2010-10-03 21:11:27 +00:00
|
|
|
config COMPLIBS_NEEDED
|
|
|
|
bool
|
|
|
|
|
2015-10-24 00:49:56 +00:00
|
|
|
config LIBICONV_NEEDED
|
|
|
|
bool
|
|
|
|
select LIBICONV
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
|
|
|
config GETTEXT_NEEDED
|
|
|
|
bool
|
|
|
|
select GETTEXT
|
|
|
|
select LIBICONV_NEEDED
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2010-10-03 21:11:27 +00:00
|
|
|
config GMP_NEEDED
|
2017-02-19 07:14:52 +00:00
|
|
|
def_bool y
|
2010-10-03 21:11:27 +00:00
|
|
|
select GMP
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
|
|
|
config MPFR_NEEDED
|
2017-02-19 07:14:52 +00:00
|
|
|
def_bool y
|
2010-10-03 21:11:27 +00:00
|
|
|
select MPFR
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2013-05-03 22:08:34 +00:00
|
|
|
config ISL_NEEDED
|
|
|
|
bool
|
|
|
|
select ISL
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2010-10-03 21:11:27 +00:00
|
|
|
config CLOOG_NEEDED
|
|
|
|
bool
|
|
|
|
select CLOOG
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
|
|
|
config MPC_NEEDED
|
2017-02-19 07:14:52 +00:00
|
|
|
def_bool y
|
2010-10-03 21:11:27 +00:00
|
|
|
select MPC
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
|
|
|
config LIBELF_NEEDED
|
|
|
|
bool
|
|
|
|
select LIBELF
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2015-11-07 06:15:11 +00:00
|
|
|
config EXPAT_NEEDED
|
|
|
|
bool
|
|
|
|
select EXPAT
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2015-11-08 07:31:46 +00:00
|
|
|
config NCURSES_NEEDED
|
|
|
|
bool
|
|
|
|
select NCURSES
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2010-02-18 19:43:31 +00:00
|
|
|
config COMPLIBS
|
|
|
|
bool
|
|
|
|
|
2015-10-24 00:49:56 +00:00
|
|
|
config LIBICONV
|
2016-12-16 23:54:11 +00:00
|
|
|
bool "Build local libiconv"
|
|
|
|
default y if CANADIAN || CROSS_NATIVE
|
2015-10-24 00:49:56 +00:00
|
|
|
select COMPLIBS
|
|
|
|
|
|
|
|
config GETTEXT
|
2016-12-16 23:54:11 +00:00
|
|
|
bool "Build local gettext"
|
|
|
|
default y if CANADIAN || CROSS_NATIVE
|
2016-12-19 03:04:37 +00:00
|
|
|
select LIBICONV_NEEDED
|
|
|
|
select NCURSES_NEEDED
|
2015-10-24 00:49:56 +00:00
|
|
|
select COMPLIBS
|
|
|
|
|
2010-02-17 22:47:47 +00:00
|
|
|
config GMP
|
2008-06-20 15:16:43 +00:00
|
|
|
bool
|
2010-02-18 19:43:31 +00:00
|
|
|
select COMPLIBS
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2010-02-17 22:47:47 +00:00
|
|
|
config MPFR
|
|
|
|
bool
|
|
|
|
select GMP
|
2010-02-18 19:43:31 +00:00
|
|
|
select COMPLIBS
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2013-05-03 22:08:34 +00:00
|
|
|
config ISL
|
|
|
|
bool
|
|
|
|
select GMP
|
|
|
|
select COMPLIBS
|
|
|
|
|
2010-02-17 22:47:47 +00:00
|
|
|
config CLOOG
|
|
|
|
bool
|
|
|
|
select GMP
|
2010-02-18 19:43:31 +00:00
|
|
|
select COMPLIBS
|
2010-02-17 22:47:47 +00:00
|
|
|
|
|
|
|
config MPC
|
|
|
|
bool
|
|
|
|
select GMP
|
|
|
|
select MPFR
|
2010-02-18 19:43:31 +00:00
|
|
|
select COMPLIBS
|
2009-05-05 22:04:20 +00:00
|
|
|
|
2010-02-17 22:41:17 +00:00
|
|
|
config LIBELF
|
|
|
|
bool
|
|
|
|
select COMPLIBS
|
|
|
|
|
|
|
|
config LIBELF_TARGET
|
|
|
|
bool
|
|
|
|
|
2015-11-07 06:15:11 +00:00
|
|
|
config EXPAT
|
|
|
|
bool
|
|
|
|
select COMPLIBS
|
|
|
|
|
|
|
|
config EXPAT_TARGET
|
|
|
|
bool
|
|
|
|
|
2015-11-08 07:31:46 +00:00
|
|
|
config NCURSES
|
|
|
|
bool
|
|
|
|
select COMPLIBS
|
|
|
|
|
|
|
|
config NCURSES_TARGET
|
|
|
|
bool
|
|
|
|
|
2017-02-04 01:49:45 +00:00
|
|
|
config ZLIB
|
|
|
|
bool "Build local zlib"
|
|
|
|
|
2017-05-20 04:58:46 +00:00
|
|
|
# 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, just have comments delineating the libs.
|
2017-02-04 01:49:45 +00:00
|
|
|
if ZLIB
|
2017-05-20 04:58:46 +00:00
|
|
|
comment "zlib options"
|
2017-07-05 02:19:42 +00:00
|
|
|
source "config/comp_libs/zlib.in"
|
2017-02-04 01:49:45 +00:00
|
|
|
endif
|
2015-10-24 00:49:56 +00:00
|
|
|
if LIBICONV
|
2017-05-20 04:58:46 +00:00
|
|
|
comment "libiconv options"
|
2017-07-05 02:19:42 +00:00
|
|
|
source "config/comp_libs/libiconv.in"
|
2015-10-24 00:49:56 +00:00
|
|
|
endif
|
|
|
|
if GETTEXT
|
2017-05-20 04:58:46 +00:00
|
|
|
comment "gettext options"
|
2017-07-05 02:19:42 +00:00
|
|
|
source "config/comp_libs/gettext.in"
|
2015-10-24 00:49:56 +00:00
|
|
|
endif
|
2010-08-23 21:18:49 +00:00
|
|
|
if GMP
|
2017-05-20 04:58:46 +00:00
|
|
|
comment "GMP options"
|
2017-07-05 02:19:42 +00:00
|
|
|
source "config/comp_libs/gmp.in"
|
2010-02-17 22:47:47 +00:00
|
|
|
endif
|
2010-08-23 21:18:49 +00:00
|
|
|
if MPFR
|
2017-05-20 04:58:46 +00:00
|
|
|
comment "MPFR options"
|
2017-07-05 02:19:42 +00:00
|
|
|
source "config/comp_libs/mpfr.in"
|
2010-02-17 22:47:47 +00:00
|
|
|
endif
|
2013-05-03 22:08:34 +00:00
|
|
|
if ISL
|
2017-05-20 04:58:46 +00:00
|
|
|
comment "ISL options"
|
2017-07-05 02:19:42 +00:00
|
|
|
source "config/comp_libs/isl.in"
|
2013-05-03 22:08:34 +00:00
|
|
|
endif
|
2010-08-23 21:18:49 +00:00
|
|
|
if CLOOG
|
2017-05-20 04:58:46 +00:00
|
|
|
comment "CLooG options"
|
2017-07-05 02:19:42 +00:00
|
|
|
source "config/comp_libs/cloog.in"
|
2010-02-17 22:47:47 +00:00
|
|
|
endif
|
2010-08-23 21:18:49 +00:00
|
|
|
if MPC
|
2017-05-20 04:58:46 +00:00
|
|
|
comment "MPC options"
|
2017-07-05 02:19:42 +00:00
|
|
|
source "config/comp_libs/mpc.in"
|
2009-05-05 22:04:20 +00:00
|
|
|
endif
|
2010-02-17 22:41:17 +00:00
|
|
|
if LIBELF || LIBELF_TARGET
|
2017-05-20 04:58:46 +00:00
|
|
|
comment "libelf options"
|
2017-07-05 02:19:42 +00:00
|
|
|
source "config/comp_libs/libelf.in"
|
2010-02-17 22:41:17 +00:00
|
|
|
endif
|
2015-11-07 06:15:11 +00:00
|
|
|
if EXPAT || EXPAT_TARGET
|
2017-05-20 04:58:46 +00:00
|
|
|
comment "expat options"
|
2017-07-05 02:19:42 +00:00
|
|
|
source "config/comp_libs/expat.in"
|
2015-11-07 06:15:11 +00:00
|
|
|
endif
|
2015-11-08 07:31:46 +00:00
|
|
|
if NCURSES || NCURSES_TARGET
|
2017-05-20 04:58:46 +00:00
|
|
|
comment "ncurses options"
|
2017-07-05 02:19:42 +00:00
|
|
|
source "config/comp_libs/ncurses.in"
|
2015-11-08 07:31:46 +00:00
|
|
|
endif
|
2009-06-01 17:05:50 +00:00
|
|
|
|
2010-04-10 22:47:23 +00:00
|
|
|
if COMPLIBS
|
|
|
|
|
2009-06-01 17:05:50 +00:00
|
|
|
comment "Companion libraries common options"
|
2010-02-18 19:43:31 +00:00
|
|
|
|
2010-04-10 21:42:28 +00:00
|
|
|
config COMPLIBS_CHECK
|
2009-05-25 19:46:58 +00:00
|
|
|
bool
|
2010-04-10 22:47:23 +00:00
|
|
|
prompt "Check the companion libraries builds (!!! READ HELP!!!)"
|
2009-05-25 19:46:58 +00:00
|
|
|
help
|
|
|
|
It is highly recommended to check the newly built companion libraries.
|
|
|
|
Unfortunately, this is a very intensive task, and takes a loooong time.
|
2009-06-14 20:56:26 +00:00
|
|
|
|
2009-05-25 19:46:58 +00:00
|
|
|
Checking the newly built companion libraries is thus disabled by default,
|
2009-05-25 20:04:12 +00:00
|
|
|
but it is suggested that you check them at least once on your machine,
|
2009-05-25 19:46:58 +00:00
|
|
|
and if they work, disable the check on subsequent builds.
|
2009-06-14 20:56:26 +00:00
|
|
|
|
2009-05-25 19:46:58 +00:00
|
|
|
If you suspect that one (or more) of your companion libraries is the
|
|
|
|
cause for incorrectly generated code, you should answer 'Y' here.
|
2015-11-23 03:13:53 +00:00
|
|
|
Note however that this will take a really long time.
|
2009-05-25 19:46:58 +00:00
|
|
|
|
2010-04-10 22:47:23 +00:00
|
|
|
endif # COMPLIBS
|
|
|
|
|
2008-06-20 15:16:43 +00:00
|
|
|
endmenu
|