From 21fde4dc3d3c88a91468b1853a602e55f6f3ade5 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 8 Dec 2004 18:57:27 +0000 Subject: * Makefile.tpl: Generate normal dependencies if the LHS module is not bootstrapped. * Makefile.in: Regenerate. --- Makefile.tpl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile.tpl') 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")))) -- cgit v1.1