1# if wrapper mode 2.if (defined(NO_CROSSTOOLS) && defined(BOOTSTRAPPING)) || \ 3 (!defined(BOOTSTRAPPING) && defined(NO_TOOLCHAIN)) 4.include "Makefile.zhack" 5.else 6 7# normal mode 8# Binutils 2.27 builds 3 blocks in series 9SUBDIR= block1 block2 10 11# Don't build gold linker during stage 3 cross-tools unless 12# WORLD_LDVER has been set to ld.gold. This same check must be included 13# in block 2 where libgold and ld.bfd are built. 14.if !defined(SELECT_LINKER) || ${SELECT_LINKER:Mld.gold} 15SUBDIR+= block3 16.endif 17 18SUBDIR_ORDERED= ${SUBDIR} 19 20.include <bsd.subdir.mk> 21.endif 22