diff options
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 7 |
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")))) |