Lines Matching refs:module
385 IF lib_path +]$(TARGET_LIB_PATH_[+module+])[+ ENDIF lib_path +][+
388 @if target-[+module+]
389 TARGET_LIB_PATH_[+module+] = $$r/$(TARGET_SUBDIR)/[+module+]/[+lib_path+]:
390 @endif target-[+module+]
397 IF lib_path +]$(HOST_LIB_PATH_[+module+])[+ ENDIF lib_path +][+
406 @if [+module+]
407 HOST_LIB_PATH_[+module+] = \
408 $$r/$(HOST_SUBDIR)/[+module+]/[+lib_path+]:[+ IF bootstrap
409 +]$$r/$(HOST_SUBDIR)/prev-[+module+]/[+lib_path+]:[+ ENDIF bootstrap +]
410 @endif [+module+]
503 maybe-configure-[+module+][+
508 maybe-configure-target-[+module+][+
531 all-build: maybe-all-build-[+module+][+ ENDFOR build_modules +]
535 @if [+module+]-no-bootstrap[+ ENDIF bootstrap +]
536 all-host: maybe-all-[+module+][+ IF bootstrap +]
537 @endif [+module+]-no-bootstrap[+ ENDIF bootstrap +][+ ENDFOR host_modules +]
541 @if target-[+module+]-no-bootstrap[+ ENDIF bootstrap +]
542 all-target: maybe-all-target-[+module+][+ IF bootstrap +]
543 @endif target-[+module+]-no-bootstrap[+
562 [+make_target+]-host: maybe-[+make_target+]-[+module+][+ ENDFOR host_modules +]
566 [+make_target+]-target: maybe-[+make_target+]-target-[+module+][+ ENDFOR target_modules +]
634 maybe-check-[+module+][+
640 maybe-check-target-[+module+][+
682 maybe-install-[+module+][+ ENDIF +][+
688 maybe-install-[+module+][+
694 maybe-install-target-[+module+][+
753 .PHONY: configure-[+prefix+][+module+] maybe-configure-[+prefix+][+module+]
754 maybe-configure-[+prefix+][+module+]:
756 configure-[+prefix+][+module+]: stage_current
758 @if [+prefix+][+module+]
759 maybe-configure-[+prefix+][+module+]: configure-[+prefix+][+module+]
760 configure-[+prefix+][+module+]: [+ IF bootstrap +][+ ELSE +]
766 $(SHELL) $(srcdir)/mkinstalldirs [+subdir+]/[+module+] ; \
767 $(CC_FOR_TARGET) --print-multi-lib > [+subdir+]/[+module+]/multilib.tmp 2> /dev/null ; \
768 if test -r [+subdir+]/[+module+]/multilib.out; then \
769 if cmp -s [+subdir+]/[+module+]/multilib.tmp [+subdir+]/[+module+]/multilib.out; then \
770 rm -f [+subdir+]/[+module+]/multilib.tmp; \
772 rm -f [+subdir+]/[+module+]/Makefile; \
773 mv [+subdir+]/[+module+]/multilib.tmp [+subdir+]/[+module+]/multilib.out; \
776 mv [+subdir+]/[+module+]/multilib.tmp [+subdir+]/[+module+]/multilib.out; \
778 [+ ENDIF check_multilibs +]test ! -f [+subdir+]/[+module+]/Makefile || exit 0; \
779 $(SHELL) $(srcdir)/mkinstalldirs [+subdir+]/[+module+] ; \
781 echo Configuring in [+subdir+]/[+module+]; \
785 *) topdir=`echo [+subdir+]/[+module+]/ | \
795 @endif [+prefix+][+module+]
799 .PHONY: configure-stage[+id+]-[+prefix+][+module+] maybe-configure-stage[+id+]-[+prefix+][+module+]
800 maybe-configure-stage[+id+]-[+prefix+][+module+]:
801 @if [+prefix+][+module+]-bootstrap
802 maybe-configure-stage[+id+]-[+prefix+][+module+]: configure-stage[+id+]-[+prefix+][+module+]
803 configure-stage[+id+]-[+prefix+][+module+]:
805 @$(SHELL) $(srcdir)/mkinstalldirs [+subdir+]/[+module+]
810 $(CC_FOR_TARGET) --print-multi-lib > [+subdir+]/[+module+]/multilib.tmp 2> /dev/null ; \
811 if test -r [+subdir+]/[+module+]/multilib.out; then \
812 if cmp -s [+subdir+]/[+module+]/multilib.tmp [+subdir+]/[+module+]/multilib.out; then \
813 rm -f [+subdir+]/[+module+]/multilib.tmp; \
815 rm -f [+subdir+]/[+module+]/Makefile; \
816 mv [+subdir+]/[+module+]/multilib.tmp [+subdir+]/[+module+]/multilib.out; \
819 mv [+subdir+]/[+module+]/multilib.tmp [+subdir+]/[+module+]/multilib.out; \
821 [+ ENDIF check_multilibs +]test ! -f [+subdir+]/[+module+]/Makefile || exit 0; \
826 echo Configuring stage [+id+] in [+subdir+]/[+module+] ; \
827 $(SHELL) $(srcdir)/mkinstalldirs [+subdir+]/[+module+] ; \
828 cd [+subdir+]/[+module+] || exit 1; \
831 *) topdir=`echo [+subdir+]/[+module+]/ | \
841 @endif [+prefix+][+module+]-bootstrap
847 .PHONY: all-[+prefix+][+module+] maybe-all-[+prefix+][+module+]
848 maybe-all-[+prefix+][+module+]:
850 all-[+prefix+][+module+]: stage_current
852 @if [+prefix+][+module+]
853 TARGET-[+prefix+][+module+]=[+
855 maybe-all-[+prefix+][+module+]: all-[+prefix+][+module+]
856 all-[+prefix+][+module+]: configure-[+prefix+][+module+][+ IF bootstrap +][+ ELSE +]
861 (cd [+subdir+]/[+module+] && \
862 $(MAKE) [+args+] [+extra_make_flags+] $(TARGET-[+prefix+][+module+]))
863 @endif [+prefix+][+module+]
867 .PHONY: all-stage[+id+]-[+prefix+][+module+] maybe-all-stage[+id+]-[+prefix+][+module+]
868 .PHONY: clean-stage[+id+]-[+prefix+][+module+] maybe-clean-stage[+id+]-[+prefix+][+module+]
869 maybe-all-stage[+id+]-[+prefix+][+module+]:
870 maybe-clean-stage[+id+]-[+prefix+][+module+]:
871 @if [+prefix+][+module+]-bootstrap
872 maybe-all-stage[+id+]-[+prefix+][+module+]: all-stage[+id+]-[+prefix+][+module+]
873 all-stage[+id+]: all-stage[+id+]-[+prefix+][+module+]
874 TARGET-stage[+id+]-[+prefix+][+module+] = $(TARGET-[+prefix+][+module+])
875 all-stage[+id+]-[+prefix+][+module+]: configure-stage[+id+]-[+prefix+][+module+]
881 cd [+subdir+]/[+module+] && \
886 $(TARGET-stage[+id+]-[+prefix+][+module+])
888 maybe-clean-stage[+id+]-[+prefix+][+module+]: clean-stage[+id+]-[+prefix+][+module+]
889 clean-stage[+id+]: clean-stage[+id+]-[+prefix+][+module+]
890 clean-stage[+id+]-[+prefix+][+module+]:
892 [ -f [+subdir+]/[+module+]/Makefile ] || exit 0; \
894 [ -f [+subdir+]/stage[+id+]-[+module+]/Makefile ] || exit 0; \
897 cd [+subdir+]/[+module+] && \
901 @endif [+prefix+][+module+]-bootstrap
936 .PHONY: check-[+module+] maybe-check-[+module+]
937 maybe-check-[+module+]:
938 @if [+module+]
939 maybe-check-[+module+]: check-[+module+]
941 check-[+module+]:
944 check-[+module+]:
950 (cd $(HOST_SUBDIR)/[+module+] && \
954 check-[+module+]:
959 (cd $(HOST_SUBDIR)/[+module+] && \
962 @endif [+module+]
964 .PHONY: install-[+module+] maybe-install-[+module+]
965 maybe-install-[+module+]:
966 @if [+module+]
967 maybe-install-[+module+]: install-[+module+]
969 install-[+module+]:
971 install-[+module+]: installdirs
976 (cd $(HOST_SUBDIR)/[+module+] && \
979 @endif [+module+]
983 .PHONY: maybe-[+make_target+]-[+module+] [+make_target+]-[+module+]
984 maybe-[+make_target+]-[+module+]:
985 @if [+module+]
986 maybe-[+make_target+]-[+module+]: [+make_target+]-[+module+]
989 [+make_target+]-[+module+]:
991 [+make_target+]-[+module+]: [+
993 [+depend+]-[+module+] [+
996 @[+ ENDIF bootstrap +][ -f ./[+module+]/Makefile ] || exit 0; \
1004 (cd $(HOST_SUBDIR)/[+module+] && \
1012 @endif [+module+]
1045 .PHONY: check-target-[+module+] maybe-check-target-[+module+]
1046 maybe-check-target-[+module+]:
1047 @if target-[+module+]
1048 maybe-check-target-[+module+]: check-target-[+module+]
1051 check-target-[+module+]:
1053 check-target-[+module+]:
1062 (cd $(TARGET_SUBDIR)/[+module+] && \
1069 @endif target-[+module+]
1071 .PHONY: install-target-[+module+] maybe-install-target-[+module+]
1072 maybe-install-target-[+module+]:
1073 @if target-[+module+]
1074 maybe-install-target-[+module+]: install-target-[+module+]
1077 install-target-[+module+]:
1079 install-target-[+module+]: installdirs
1088 (cd $(TARGET_SUBDIR)/[+module+] && \
1091 @endif target-[+module+]
1095 .PHONY: maybe-[+make_target+]-target-[+module+] [+make_target+]-target-[+module+]
1096 maybe-[+make_target+]-target-[+module+]:
1097 @if target-[+module+]
1098 maybe-[+make_target+]-target-[+module+]: [+make_target+]-target-[+module+]
1101 [+make_target+]-target-[+module+]:
1103 [+make_target+]-target-[+module+]: [+
1105 [+depend+]-target-[+module+] [+
1108 @[ -f $(TARGET_SUBDIR)/[+module+]/Makefile ] || exit 0 ; \
1120 (cd $(TARGET_SUBDIR)/[+module+] && \
1128 @endif target-[+module+]
1246 @if [+ module +]
1247 @cd $(HOST_SUBDIR); [ -d stage[+id+]-[+module+] ] || \
1248 mkdir stage[+id+]-[+module+]; \
1249 mv stage[+id+]-[+module+] [+module+] [+ IF prev +] ; \
1250 mv stage[+prev+]-[+module+] prev-[+module+] || test -f stage[+prev+]-lean [+ ENDIF prev +]
1251 @endif [+ module +][+ ENDIF bootstrap +][+ ENDFOR host_modules +]
1258 @if [+ module +]
1259 @if test -d $(HOST_SUBDIR)/[+module+] ; then \
1260 cd $(HOST_SUBDIR); mv [+module+] stage[+id+]-[+module+] [+ IF prev +]; \
1261 mv prev-[+module+] stage[+prev+]-[+module+] ; : [+ ENDIF prev +] ; \
1263 @endif [+ module +][+ ENDIF bootstrap +][+ ENDFOR host_modules +]
1425 configure-stage[+id+]-target-[+module+]: maybe-all-stage[+id+]-gcc[+
1427 configure-target-[+module+]: stage_last[+
1432 configure-target-[+module+]: maybe-all-gcc[+
1448 (define dep-target (lambda (module-kind var-name hard)
1452 module-kind
1453 (dep-module var-name)
1457 (define make-dep (lambda (module-kind on-kind)
1459 (dep-target module-kind "module" #t) ": "
1467 ;; dep-module extracts everything up to the first dash in the given
1469 (define dep-module (lambda (var-name)
1485 ;; or if either module is not bootstrapped. It returns "bootstrap" for
1488 ;; modules on a build module (e.g. all-gcc on all-build-bison). All this
1491 (if (and (hash-ref boot-modules (dep-module "module"))
1492 (=* (dep-module "on") "build-"))
1496 (not (hash-ref boot-modules (dep-module "module")))
1497 (not (hash-ref boot-modules (dep-module "on"))))
1558 configure-stage[+id+]-target-[+module+]: maybe-all-stage[+id+]-target-libgcc[+
1563 configure-target-[+module+]: maybe-all-target-libgcc[+
1568 configure-target-[+module+]: maybe-all-target-newlib maybe-all-target-libgloss[+
1570 configure-target-[+module+]: maybe-all-target-libstdc++-v3[+