Update the kconfig stuff to match the one in the linux-2.6.27 version.
/trunk/kconfig/zconf.hash.c | 225 110 115 0 +++----
/trunk/kconfig/lkc_proto.h | 4 3 1 0 +
/trunk/kconfig/mconf.c | 217 110 107 0 +++---
/trunk/kconfig/menu.c | 86 60 26 0 ++-
/trunk/kconfig/symbol.c | 212 156 56 0 ++++--
/trunk/kconfig/kconfig.mk | 24 9 15 0 -
/trunk/kconfig/lex.zconf.c | 97 80 17 0 ++-
/trunk/kconfig/util.c | 38 30 8 0 +
/trunk/kconfig/lkc.h | 22 18 4 0 +
/trunk/kconfig/expr.c | 32 19 13 0 +
/trunk/kconfig/confdata.c | 254 172 82 0 +++++---
/trunk/kconfig/lxdialog/dialog.h | 12 9 3 0 +
/trunk/kconfig/lxdialog/inputbox.c | 6 3 3 0
/trunk/kconfig/lxdialog/checklist.c | 4 2 2 0
/trunk/kconfig/lxdialog/menubox.c | 6 3 3 0
/trunk/kconfig/lxdialog/textbox.c | 2 1 1 0
/trunk/kconfig/lxdialog/util.c | 47 30 17 0 +
/trunk/kconfig/lxdialog/yesno.c | 4 2 2 0
/trunk/kconfig/expr.h | 20 10 10 0
/trunk/kconfig/zconf.tab.c | 1441 793 648 0 ++++++++++++++++++++++++-------------------
/trunk/kconfig/conf.c | 276 124 152 0 ++++----
/trunk/kconfig/check-gettext.sh | 14 14 0 0 +
/trunk/ct-ng.in | 2 1 1 0
23 files changed, 1759 insertions(+), 1286 deletions(-)
1 # This file adds the functions to build the GMP library
2 # Copyright 2008 Yann E. MORIN
3 # Licensed under the GPL v2. See COPYING in the root of this package
5 do_print_filename() { :; }
7 do_gmp_extract() { :; }
11 # Overide functions depending on configuration
12 if [ "${CT_GMP_MPFR}" = "y" ]; then
15 [ "${CT_GMP_MPFR}" = "y" ] || return 0
16 echo "gmp-${CT_GMP_VERSION}"
21 CT_GetFile "${CT_GMP_FILE}" {ftp,http}://{ftp.sunet.se/pub,ftp.gnu.org}/gnu/gmp
26 CT_ExtractAndPatch "${CT_GMP_FILE}"
30 mkdir -p "${CT_BUILD_DIR}/build-gmp"
31 cd "${CT_BUILD_DIR}/build-gmp"
33 CT_DoStep INFO "Installing GMP"
35 CT_DoLog EXTRA "Configuring GMP"
36 CFLAGS="${CT_CFLAGS_FOR_HOST}" \
38 "${CT_SRC_DIR}/${CT_GMP_FILE}/configure" \
41 --prefix="${CT_PREFIX_DIR}" \
42 --disable-shared --enable-static \
43 --enable-fft --enable-mpbsd
45 CT_DoLog EXTRA "Building GMP"
46 CT_DoExecLog ALL make ${PARALLELMFLAGS}
48 if [ "${CT_GMP_CHECK}" = "y" ]; then
49 CT_DoLog EXTRA "Checking GMP"
50 CT_DoExecLog ALL make ${PARALLELMFLAGS} -s check
53 CT_DoLog EXTRA "Installing GMP"
54 CT_DoExecLog ALL make install
59 if [ "${CT_GMP_MPFR_TARGET}" = "y" ]; then
62 mkdir -p "${CT_BUILD_DIR}/build-gmp-target"
63 cd "${CT_BUILD_DIR}/build-gmp-target"
65 CT_DoStep INFO "Installing GMP for the target"
67 CT_DoLog EXTRA "Configuring GMP"
68 CFLAGS="${CT_CFLAGS_FOR_TARGET}" \
70 "${CT_SRC_DIR}/${CT_GMP_FILE}/configure" \
74 --disable-shared --enable-static \
75 --enable-fft --enable-mpbsd
77 CT_DoLog EXTRA "Building GMP"
78 CT_DoExecLog ALL make ${PARALLELMFLAGS}
80 # Not possible to check MPFR while X-compiling
82 CT_DoLog EXTRA "Installing GMP"
83 CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" install
88 fi # CT_GMP_MPFR_TARGET == y