Don't force building target GMP and MPFR when a native gdb is built. Rather,
add a config knob to configure the native gdb to use or not to use GMP and
MPFR; _this_config_knob_ will force building the target GMP and MPFR only if
turned on.
/trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +-
/trunk/config/debug/gdb.in | 21 19 2 0 +++++++++++++++++++--
2 files changed, 20 insertions(+), 3 deletions(-)
1 # Makefile for each steps
2 # Copyright 2006 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
4 CT_STEPS := libc_check_config \
26 @$(CT_NG) RESTART=$@ STOP=$@ build
28 $(patsubst %,+%,$(CT_STEPS)):
29 @$(CT_NG) STOP=$(patsubst +%,%,$@) build
31 $(patsubst %,%+,$(CT_STEPS)):
32 @$(CT_NG) RESTART=$(patsubst %+,%,$@) build
35 @echo ' list-steps - List all build steps'
38 @echo 'Available build steps, in order:'
39 @for step in $(CT_STEPS); do \
42 @echo 'Use "$(CT_NG) <step>" to execute only that step.'
43 @echo 'Use "$(CT_NG) +<step>" to execute up to that step.'
44 @echo 'Use "$(CT_NG) <step>+" to execute from that step onward.'