2006-11-16 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (clean-target-libgcc): Test for gcc Makefile presence. (unstage): Test for stage_last presence. PR bootstrap/29802 * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Add HOST_SUBDIR in STAGE_PREFIX. * Makefile.in: Regenerate.
This commit is contained in:
parent
52077eb28c
commit
0b66ef4c9d
@ -1,3 +1,12 @@
|
|||||||
|
2006-11-16 Paolo Bonzini <bonzini@gnu.org>
|
||||||
|
|
||||||
|
* Makefile.tpl (clean-target-libgcc): Test for gcc Makefile presence.
|
||||||
|
(unstage): Test for stage_last presence.
|
||||||
|
|
||||||
|
PR bootstrap/29802
|
||||||
|
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Add HOST_SUBDIR in STAGE_PREFIX.
|
||||||
|
* Makefile.in: Regenerate.
|
||||||
|
|
||||||
2006-11-14 DJ Delorie <dj@redhat.com>
|
2006-11-14 DJ Delorie <dj@redhat.com>
|
||||||
|
|
||||||
* Makefile.tpl (clean-stage*): Sync with GCC (clean).
|
* Makefile.tpl (clean-stage*): Sync with GCC (clean).
|
||||||
|
28
Makefile.in
28
Makefile.in
@ -2084,7 +2084,7 @@ realclean: maintainer-clean
|
|||||||
# Extra dependency for clean-target, owing to the mixed nature of gcc.
|
# Extra dependency for clean-target, owing to the mixed nature of gcc.
|
||||||
clean-target: clean-target-libgcc
|
clean-target: clean-target-libgcc
|
||||||
clean-target-libgcc:
|
clean-target-libgcc:
|
||||||
test ! -d gcc || (cd gcc && $(MAKE) $@)
|
if test -f gcc/Makefile; then cd gcc && $(MAKE) $@; else :; fi
|
||||||
|
|
||||||
# Check target.
|
# Check target.
|
||||||
|
|
||||||
@ -4470,7 +4470,7 @@ configure-stage1-bfd:
|
|||||||
$(SHELL) $${libsrcdir}/configure \
|
$(SHELL) $${libsrcdir}/configure \
|
||||||
$(HOST_CONFIGARGS) $${srcdiroption} \
|
$(HOST_CONFIGARGS) $${srcdiroption} \
|
||||||
\
|
\
|
||||||
--disable-intermodule --enable-checking --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
--disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
||||||
@endif bfd-bootstrap
|
@endif bfd-bootstrap
|
||||||
|
|
||||||
.PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
|
.PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
|
||||||
@ -5225,7 +5225,7 @@ configure-stage1-opcodes:
|
|||||||
$(SHELL) $${libsrcdir}/configure \
|
$(SHELL) $${libsrcdir}/configure \
|
||||||
$(HOST_CONFIGARGS) $${srcdiroption} \
|
$(HOST_CONFIGARGS) $${srcdiroption} \
|
||||||
\
|
\
|
||||||
--disable-intermodule --enable-checking --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
--disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
||||||
@endif opcodes-bootstrap
|
@endif opcodes-bootstrap
|
||||||
|
|
||||||
.PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
|
.PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
|
||||||
@ -5980,7 +5980,7 @@ configure-stage1-binutils:
|
|||||||
$(SHELL) $${libsrcdir}/configure \
|
$(SHELL) $${libsrcdir}/configure \
|
||||||
$(HOST_CONFIGARGS) $${srcdiroption} \
|
$(HOST_CONFIGARGS) $${srcdiroption} \
|
||||||
\
|
\
|
||||||
--disable-intermodule --enable-checking --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
--disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
||||||
@endif binutils-bootstrap
|
@endif binutils-bootstrap
|
||||||
|
|
||||||
.PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
|
.PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
|
||||||
@ -11792,7 +11792,7 @@ configure-stage1-gas:
|
|||||||
$(SHELL) $${libsrcdir}/configure \
|
$(SHELL) $${libsrcdir}/configure \
|
||||||
$(HOST_CONFIGARGS) $${srcdiroption} \
|
$(HOST_CONFIGARGS) $${srcdiroption} \
|
||||||
\
|
\
|
||||||
--disable-intermodule --enable-checking --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
--disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
||||||
@endif gas-bootstrap
|
@endif gas-bootstrap
|
||||||
|
|
||||||
.PHONY: configure-stage2-gas maybe-configure-stage2-gas
|
.PHONY: configure-stage2-gas maybe-configure-stage2-gas
|
||||||
@ -12547,7 +12547,7 @@ configure-stage1-gcc:
|
|||||||
$(SHELL) $${libsrcdir}/configure \
|
$(SHELL) $${libsrcdir}/configure \
|
||||||
$(HOST_CONFIGARGS) $${srcdiroption} \
|
$(HOST_CONFIGARGS) $${srcdiroption} \
|
||||||
\
|
\
|
||||||
--disable-intermodule --enable-checking --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
--disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
||||||
@endif gcc-bootstrap
|
@endif gcc-bootstrap
|
||||||
|
|
||||||
.PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
|
.PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
|
||||||
@ -16074,7 +16074,7 @@ configure-stage1-intl:
|
|||||||
$(SHELL) $${libsrcdir}/configure \
|
$(SHELL) $${libsrcdir}/configure \
|
||||||
$(HOST_CONFIGARGS) $${srcdiroption} \
|
$(HOST_CONFIGARGS) $${srcdiroption} \
|
||||||
\
|
\
|
||||||
--disable-intermodule --enable-checking --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
--disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
||||||
@endif intl-bootstrap
|
@endif intl-bootstrap
|
||||||
|
|
||||||
.PHONY: configure-stage2-intl maybe-configure-stage2-intl
|
.PHONY: configure-stage2-intl maybe-configure-stage2-intl
|
||||||
@ -17606,7 +17606,7 @@ configure-stage1-ld:
|
|||||||
$(SHELL) $${libsrcdir}/configure \
|
$(SHELL) $${libsrcdir}/configure \
|
||||||
$(HOST_CONFIGARGS) $${srcdiroption} \
|
$(HOST_CONFIGARGS) $${srcdiroption} \
|
||||||
\
|
\
|
||||||
--disable-intermodule --enable-checking --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
--disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
||||||
@endif ld-bootstrap
|
@endif ld-bootstrap
|
||||||
|
|
||||||
.PHONY: configure-stage2-ld maybe-configure-stage2-ld
|
.PHONY: configure-stage2-ld maybe-configure-stage2-ld
|
||||||
@ -18361,7 +18361,7 @@ configure-stage1-libcpp:
|
|||||||
$(SHELL) $${libsrcdir}/configure \
|
$(SHELL) $${libsrcdir}/configure \
|
||||||
$(HOST_CONFIGARGS) $${srcdiroption} \
|
$(HOST_CONFIGARGS) $${srcdiroption} \
|
||||||
\
|
\
|
||||||
--disable-intermodule --enable-checking --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
--disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
||||||
@endif libcpp-bootstrap
|
@endif libcpp-bootstrap
|
||||||
|
|
||||||
.PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
|
.PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
|
||||||
@ -19116,7 +19116,7 @@ configure-stage1-libdecnumber:
|
|||||||
$(SHELL) $${libsrcdir}/configure \
|
$(SHELL) $${libsrcdir}/configure \
|
||||||
$(HOST_CONFIGARGS) $${srcdiroption} \
|
$(HOST_CONFIGARGS) $${srcdiroption} \
|
||||||
\
|
\
|
||||||
--disable-intermodule --enable-checking --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
--disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
||||||
@endif libdecnumber-bootstrap
|
@endif libdecnumber-bootstrap
|
||||||
|
|
||||||
.PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
|
.PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
|
||||||
@ -20267,7 +20267,7 @@ configure-stage1-libiberty:
|
|||||||
$(SHELL) $${libsrcdir}/configure \
|
$(SHELL) $${libsrcdir}/configure \
|
||||||
$(HOST_CONFIGARGS) $${srcdiroption} \
|
$(HOST_CONFIGARGS) $${srcdiroption} \
|
||||||
\
|
\
|
||||||
--disable-intermodule --enable-checking --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
--disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
||||||
@endif libiberty-bootstrap
|
@endif libiberty-bootstrap
|
||||||
|
|
||||||
.PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
|
.PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
|
||||||
@ -30109,7 +30109,7 @@ configure-stage1-zlib:
|
|||||||
$(SHELL) $${libsrcdir}/configure \
|
$(SHELL) $${libsrcdir}/configure \
|
||||||
$(HOST_CONFIGARGS) $${srcdiroption} \
|
$(HOST_CONFIGARGS) $${srcdiroption} \
|
||||||
\
|
\
|
||||||
--disable-intermodule --enable-checking --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
--disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
|
||||||
@endif zlib-bootstrap
|
@endif zlib-bootstrap
|
||||||
|
|
||||||
.PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
|
.PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
|
||||||
@ -41812,7 +41812,7 @@ stage = :
|
|||||||
current_stage = ""
|
current_stage = ""
|
||||||
|
|
||||||
@if gcc-bootstrap
|
@if gcc-bootstrap
|
||||||
unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
|
unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
|
||||||
stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
|
stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
|
||||||
current_stage = "`cat stage_current 2> /dev/null`"
|
current_stage = "`cat stage_current 2> /dev/null`"
|
||||||
@endif gcc-bootstrap
|
@endif gcc-bootstrap
|
||||||
@ -41855,7 +41855,7 @@ objext = .o
|
|||||||
# Flags to pass to stage2 and later makes.
|
# Flags to pass to stage2 and later makes.
|
||||||
POSTSTAGE1_FLAGS_TO_PASS = \
|
POSTSTAGE1_FLAGS_TO_PASS = \
|
||||||
CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
|
CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
|
||||||
STAGE_PREFIX=$$r/prev-gcc/ \
|
STAGE_PREFIX="$$r/$(HOST_SUBDIR)/prev-gcc/" \
|
||||||
CFLAGS="$(BOOT_CFLAGS)" \
|
CFLAGS="$(BOOT_CFLAGS)" \
|
||||||
LIBCFLAGS="$(BOOT_CFLAGS)" \
|
LIBCFLAGS="$(BOOT_CFLAGS)" \
|
||||||
LDFLAGS="$(BOOT_LDFLAGS)" \
|
LDFLAGS="$(BOOT_LDFLAGS)" \
|
||||||
|
@ -591,7 +591,7 @@ realclean: maintainer-clean
|
|||||||
# Extra dependency for clean-target, owing to the mixed nature of gcc.
|
# Extra dependency for clean-target, owing to the mixed nature of gcc.
|
||||||
clean-target: clean-target-libgcc
|
clean-target: clean-target-libgcc
|
||||||
clean-target-libgcc:
|
clean-target-libgcc:
|
||||||
test ! -d gcc || (cd gcc && $(MAKE) $@)
|
if test -f gcc/Makefile; then cd gcc && $(MAKE) $@; else :; fi
|
||||||
|
|
||||||
# Check target.
|
# Check target.
|
||||||
|
|
||||||
@ -1215,7 +1215,7 @@ stage = :
|
|||||||
current_stage = ""
|
current_stage = ""
|
||||||
|
|
||||||
@if gcc-bootstrap
|
@if gcc-bootstrap
|
||||||
unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
|
unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
|
||||||
stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
|
stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
|
||||||
current_stage = "`cat stage_current 2> /dev/null`"
|
current_stage = "`cat stage_current 2> /dev/null`"
|
||||||
@endif gcc-bootstrap
|
@endif gcc-bootstrap
|
||||||
@ -1258,7 +1258,7 @@ objext = .o
|
|||||||
# Flags to pass to stage2 and later makes.
|
# Flags to pass to stage2 and later makes.
|
||||||
POSTSTAGE1_FLAGS_TO_PASS = \
|
POSTSTAGE1_FLAGS_TO_PASS = \
|
||||||
CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
|
CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
|
||||||
STAGE_PREFIX=$$r/prev-gcc/ \
|
STAGE_PREFIX="$$r/$(HOST_SUBDIR)/prev-gcc/" \
|
||||||
CFLAGS="$(BOOT_CFLAGS)" \
|
CFLAGS="$(BOOT_CFLAGS)" \
|
||||||
LIBCFLAGS="$(BOOT_CFLAGS)" \
|
LIBCFLAGS="$(BOOT_CFLAGS)" \
|
||||||
LDFLAGS="$(BOOT_LDFLAGS)" \
|
LDFLAGS="$(BOOT_LDFLAGS)" \
|
||||||
|
Loading…
Reference in New Issue
Block a user