summaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-06 10:09:29 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-06 10:09:29 +0000
commit68b4a982025df49713ae88c08c9a430c3c8866c7 (patch)
tree87d8b5f23f248329f7107b9b4f0ef2d7d3e4d025 /Makefile.tpl
parent8a86cf44d44dcdab6ddf46e3e447f58bb79637e9 (diff)
downloadgcc-68b4a982025df49713ae88c08c9a430c3c8866c7.tar.gz
2004-10-06 Paolo Bonzini <bonzini@gnu.org>
Fix wrong conflict resolution in: 2004-08-16 Paolo Bonzini <bonzini@gnu.org> * Makefile.in: Regenerate. * Makefile.tpl (Autogenerated `all-*' targets): Invoke $(TARGET-*) in the recursive `make', instead of hardwiring `all'. (Autogenerated TARGET-* variables): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88594 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index 06ea94a9639..3fb09f7d8bb 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -909,6 +909,7 @@ configure-[+module+]:
.PHONY: all-[+module+] maybe-all-[+module+]
maybe-all-[+module+]:
@if [+module+]
+TARGET-[+module+]=[+ IF target +][+target+][+ ELSE +]all[+ ENDIF target +]
maybe-all-[+module+]: all-[+module+]
all-[+module+]: configure-[+module+]
@[+ IF bootstrap +]test -f stage_last && exit 0; \
@@ -916,13 +917,8 @@ all-[+module+]: configure-[+module+]
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(SET_LIB_PATH) \
$(HOST_EXPORTS) \
- (cd [+module+] && $(MAKE) $(FLAGS_TO_PASS)[+
- IF with_x
- +] $(X11_FLAGS_TO_PASS)[+
- ENDIF with_x +] [+extra_make_flags+] [+
- IF (== (get "module") "gcc") +] \
- `if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi` [+
- ELSE +]all[+ ENDIF +])
+ (cd [+module+] && $(MAKE) $(FLAGS_TO_PASS) [+extra_make_flags+] \
+ $(TARGET-[+module+]))
@endif [+module+]
.PHONY: check-[+module+] maybe-check-[+module+]