aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2011-05-19 05:13:25 +0000
committerWarner Losh <imp@FreeBSD.org>2011-05-19 05:13:25 +0000
commit0163af236079a6c999635d270ff92f9c3519f22b (patch)
tree7b2019db9e3ff1e80536e1fe884377a2692f4388 /gnu/usr.bin/Makefile
parent0855e42386b6846ae819eaae298257d2f8a70286 (diff)
downloadsrc-0163af236079a6c999635d270ff92f9c3519f22b.tar.gz
src-0163af236079a6c999635d270ff92f9c3519f22b.zip
Implement WITH{,OUT}_{GCC,BINUTILS} to provide finer-grained control
over building gcc and binutils. They default to true, unless MK_TOOLCHAIN is no. Reviewed by: ru@
Notes
Notes: svn path=/head/; revision=222090
Diffstat (limited to 'gnu/usr.bin/Makefile')
-rw-r--r--gnu/usr.bin/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index 7eaad9f590f1..0ee257f9867c 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -47,12 +47,14 @@ _texinfo= texinfo
_rcs= rcs
.endif
-.if ${MK_TOOLCHAIN} != "no"
+.if ${MK_BINUTILS} != "no"
_binutils= binutils
+.endif
+.if ${MK_GCC} != "no"
_cc= cc
+.endif
.if ${MK_GDB} != "no"
_gdb= gdb
.endif
-.endif
.include <bsd.subdir.mk>