aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorMatt Kraai <kraai@ftbfs.org>2004-12-08 07:22:47 +0000
committerMatt Kraai <kraai@gcc.gnu.org>2004-12-08 07:22:47 +0000
commit893f1e876828a197aba9bb3f296ce6a6c86c5449 (patch)
treea02b790d6b9275accc0b7a9106b33c5dc1c954a9 /Makefile.tpl
parent7c82106ff9548634c85fa7cd7f1cc3a906fd6efa (diff)
downloadgcc-893f1e876828a197aba9bb3f296ce6a6c86c5449.zip
gcc-893f1e876828a197aba9bb3f296ce6a6c86c5449.tar.gz
gcc-893f1e876828a197aba9bb3f296ce6a6c86c5449.tar.bz2
Makefile.tpl: Generate normal dependencies if the LHS module is not bootstrapped.
* Makefile.tpl: Generate normal dependencies if the LHS module is not bootstrapped. * Makefile.in: Regenerate. From-SVN: r91857
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 da82258..44c15fd 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"))))