Ioannis E. VENETIS <venetis@mail.capsl.udel.edu> pointed out that GMP and MPFR were not used by gcc.
Turned out that none could use GMP and MPFR as the config option changed its name, but the change was not propagated to all users.
/trunk/scripts/build/binutils.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +-
/trunk/scripts/build/cc_gcc.sh | 6 3 3 0 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
1 # ===========================================================================
2 # crosstool-NG configuration targets
3 # These targets are used from top-level makefile
5 # Derive the project version from, well, the project version:
6 export PROJECTVERSION=$(CT_VERSION)
8 KCONFIG_TOP = config/config.in
9 obj = $(CT_TOP_DIR)/kconfig
10 PHONY += clean help oldconfig menuconfig config defoldconfig extractconfig
12 # Darwin (MacOS-X) does not have proper libintl support
13 ifeq ($(shell uname -s),Darwin)
17 ifneq ($(KBUILD_NO_NLS),)
18 CFLAGS += -DKBUILD_NO_NLS
21 # Build a list of all config files
22 ARCHS = $(patsubst $(CT_LIB_DIR)/arch/%,%,$(wildcard $(CT_LIB_DIR)/arch/*))
23 ARCH_CONFIG_FILE = $(wildcard $(CT_LIB_DIR)/arch/*/*.in)
24 DEBUG_CONFIG_FILES = $(wildcard $(CT_LIB_DIR)/config/debug/*.in)
25 TOOLS_CONFIG_FILES = $(wildcard $(CT_LIB_DIR)/config/tools/*.in)
27 STATIC_CONFIG_FILES = $(shell find $(CT_LIB_DIR)/config -type f -name '*.in')
28 GEN_CONFIG_FILES=$(CT_TOP_DIR)/config.gen/arch.in \
29 $(CT_TOP_DIR)/config.gen/debug.in \
30 $(CT_TOP_DIR)/config.gen/tools.in
32 CONFIG_FILES=$(STATIC_CONFIG_FILES) $(GEN_CONFIG_FILES)
34 $(GEN_CONFIG_FILES):: $(CT_TOP_DIR)/config.gen
36 $(CT_TOP_DIR)/config.gen:
37 @mkdir -p $(CT_TOP_DIR)/config.gen
39 $(CT_TOP_DIR)/config.gen/arch.in:: $(ARCH_CONFIG_FILES)
40 @(echo "# Architectures menu"; \
41 echo "# Generated file, do not edit!!!"; \
43 for arch in $(ARCHS); do \
44 echo "config ARCH_$${arch}"; \
46 printf " prompt \"$${arch}"; \
47 if [ -f $(CT_LIB_DIR)/arch/$${arch}/experimental ]; then \
48 echo " (EXPERIMENTAL)\""; \
49 echo " depends on EXPERIMENTAL"; \
53 echo "if ARCH_$${arch}"; \
55 echo " default \"$${arch}\" if ARCH_$${arch}"; \
56 echo "source config/arch/$${arch}/config.in"; \
62 $(CT_TOP_DIR)/config.gen/debug.in:: $(DEBUG_CONFIG_FILES)
63 @echo "# Debug facilities menu" >$@
64 @echo "# Generated file, do not edit!!!" >>$@
65 @echo "menu \"Debug facilities\"" >>$@
66 @for f in $(patsubst $(CT_TOP_DIR)/%,%,$(wildcard $(CT_TOP_DIR)/config/debug/*.in)); do \
67 echo "source $${f}"; \
71 $(CT_TOP_DIR)/config.gen/tools.in:: $(TOOLS_CONFIG_FILES)
72 @echo "# Tools facilities menu" >$@
73 @echo "# Generated file, do not edit!!!" >>$@
74 @echo "menu \"Tools facilities\"" >>$@
75 @for f in $(patsubst $(CT_TOP_DIR)/%,%,$(wildcard $(CT_TOP_DIR)/config/tools/*.in)); do \
76 echo "source $${f}"; \
80 config menuconfig oldconfig defoldconfig extractconfig:: $(KCONFIG_TOP)
83 @ln -sf $(CT_LIB_DIR)/config config
85 menuconfig:: $(obj)/mconf $(CONFIG_FILES)
88 config:: $(obj)/conf $(CONFIG_FILES)
91 oldconfig:: $(obj)/conf $(CONFIG_FILES)
94 defoldconfig:: $(obj)/conf $(CONFIG_FILES)
95 @yes "" |$< -s $(KCONFIG_TOP) >/dev/null
97 extractconfig:: $(obj)/conf $(CONFIG_FILES)
98 @$(CT_LIB_DIR)/tools/extract-config.sh >.config
101 # Help text used by make help
103 @echo ' config - Update current config using a line-oriented program'
104 @echo ' menuconfig - Update current config using a menu based program'
105 @echo ' oldconfig - Update current config using a provided .config as base'
106 @echo ' extractconfig - Create a new config using options extracted from a'
107 @echo ' build log piped into stdin'
111 SHIPPED := $(CT_LIB_DIR)/kconfig/zconf.tab.c $(CT_LIB_DIR)/kconfig/lex.zconf.c $(CT_LIB_DIR)/kconfig/zconf.hash.c
114 @ln -s $(notdir $<) $@
116 $(obj)/conf $(obj)/mconf:: $(obj)
121 $(obj)/mconf:: $(SHIPPED) $(CT_LIB_DIR)/kconfig/mconf.c
122 @$(HOST_CC) $(CFLAGS) -o $@ $(CT_LIB_DIR)/kconfig/{mconf.c,zconf.tab.c,lxdialog/*.c} \
123 $(shell $(CT_LIB_DIR)/kconfig/lxdialog/check-lxdialog.sh -ccflags) \
124 $(shell $(CT_LIB_DIR)/kconfig/lxdialog/check-lxdialog.sh -ldflags $(HOST_CC))
126 $(obj)/conf:: $(SHIPPED) $(CT_LIB_DIR)/kconfig/conf.c
127 @$(HOST_CC) $(CFLAGS) -o $@ $(CT_LIB_DIR)/kconfig/{conf.c,zconf.tab.c}
130 @rm -f $(CT_TOP_DIR)/kconfig/{,m}conf
132 @rmdir --ignore-fail-on-non-empty $(CT_TOP_DIR)/kconfig 2>/dev/null || true
133 @rm -f $(CT_TOP_DIR)/config 2>/dev/null || true
134 @rm -rf $(CT_TOP_DIR)/config.gen