From: Sascha Wildner Date: Thu, 15 Dec 2011 09:57:57 +0000 (+0100) Subject: Add a NO_BINUTILS221 option (like NO_GCC41) to not build older binutils. X-Git-Tag: v3.0.0~376 X-Git-Url: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/1feb8780d1cb0d43e978306469f1309625892666 Add a NO_BINUTILS221 option (like NO_GCC41) to not build older binutils. Reported-by: ftigeot --- diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf index cb435ab..2c81805 100644 --- a/etc/defaults/make.conf +++ b/etc/defaults/make.conf @@ -98,6 +98,7 @@ THREAD_LIB?= thread_xu #NO_NS_CACHING= true # # To avoid building various parts of the base system: +#NO_BINUTILS221=true # do not build binutils-2.21 #NO_CRYPT= true # do not build crypto code #NO_CVS= true # do not build CVS #NO_GAMES= true # do not enter the games subdirectory diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile index db6f6c5..a2229fa 100644 --- a/gnu/usr.bin/Makefile +++ b/gnu/usr.bin/Makefile @@ -11,7 +11,9 @@ SUBDIR+=gdb .endif SUBDIR+= binutils222 +.if !defined(NO_BINUTILS221) SUBDIR+= binutils221 +.endif .if !defined(NO_GCC41) SUBDIR+= cc41 diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5 index 882e32c..7b23238 100644 --- a/share/man/man5/make.conf.5 +++ b/share/man/man5/make.conf.5 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD: src/share/man/man5/make.conf.5,v 1.12.2.30 2003/05/18 17:05:55 brueffer Exp $ .\" -.Dd November 26, 2011 +.Dd December 15, 2011 .Dt MAKE.CONF 5 .Os .Sh NAME @@ -342,6 +342,9 @@ with the setuid bit turned on. .It Va MODULES_WITH_WORLD .Pq Vt bool Set to build modules with the system instead of the kernel. +.It Va NO_BINUTILS221 +.Pq Vt bool +Set to not build the older version of binutils (2.21). .It Va NO_CRYPT .Pq Vt bool Set to not build crypto code.