summaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorkraai <kraai@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-08 07:22:47 +0000
committerkraai <kraai@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-08 07:22:47 +0000
commit7799fdb2b36530020f630e912bebe878851b5c95 (patch)
treea02b790d6b9275accc0b7a9106b33c5dc1c954a9 /Makefile.tpl
parent76c056c0666fcd1761c156654551b57496a146a3 (diff)
downloadgcc-7799fdb2b36530020f630e912bebe878851b5c95.tar.gz
* Makefile.tpl: Generate normal dependencies if the LHS module is
not bootstrapped. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91857 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index da82258e438..44c15fd53cc 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -1625,8 +1625,8 @@ configure-target-[+module+]: maybe-all-target-newlib maybe-all-target-libgloss
(define dep-maybe (lambda ()
(if (exist? "hard") "" "maybe-")))
- ;; dep-kind returns "normal" is the dependency is on an "install" target,
- ;; or if the LHS module is not bootstrapped. It returns "bootstrap" for
+ ;; dep-kind returns "normal" if the dependency is on an "install" target,
+ ;; or if either module is not bootstrapped. It returns "bootstrap" for
;; configure or build dependencies between bootstrapped modules; it returns
;; "prebootstrap" for configure or build dependencies of bootstrapped
;; modules on a build module (e.g. all-gcc on all-build-bison). All this
@@ -1638,7 +1638,8 @@ configure-target-[+module+]: maybe-all-target-newlib maybe-all-target-libgloss
(if (or (= (dep-subtarget "on") "install-")
(=* (dep-module "on") "target-")
- (not (hash-ref boot-modules (dep-module "module"))))
+ (not (hash-ref boot-modules (dep-module "module")))
+ (not (hash-ref boot-modules (dep-module "on"))))
"normal"
"bootstrap"))))