cross-tools stage: Don't build unused linker (i.e. gold)
[dragonfly.git] / gnu / usr.bin / binutils225 / block2 / Makefile
1 # Build in parallel
2 SUBDIR= addr2line \
3         ar \
4         cxxfilt \
5         elfedit \
6         gas \
7         gprof \
8         nm \
9         objcopy \
10         objdump \
11         ranlib \
12         readelf \
13         size \
14         strings \
15         strip
16
17 # Don't build gold linker during stage 3 cross-tools unless
18 # WORLD_LDVER has been set to ld.gold (and then don't build ld.bfd)
19 .if defined(SELECT_LINKER)
20 . if ${SELECT_LINKER:Mld.gold}
21 SUBDIR+=        libgold
22 . else
23 SUBDIR+=        ld
24 . endif
25 .else
26 SUBDIR+=        ld libgold
27 .endif
28
29 SUBDIR_ORDERED=
30
31 .include <bsd.subdir.mk>