History log of /freebsd-10.1-release/gnu/usr.bin/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 267734 22-Jun-2014 gavin

Merge r267482,r267483,r267486,r267577,r267671,r267672 from head:

Remove send-pr and fix up all references to it. Replace it with a
stub send-pr directing people towards the web site.


# 265037 28-Apr-2014 jmmv

MFC r264741: Add placeholder Kyuafiles for various top-level hierarchies.

This is "make tinderbox" clean.


# 264303 09-Apr-2014 dim

MFC r263778:

Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process
all the SUBDIR entries in parallel, instead of serially. Apply this
option to a selected number of Makefiles, which can greatly speed up the
build on multi-core machines, when using make -j.

This can be extended to more Makefiles later on, whenever they are
verified to work correctly with parallel building.

I tested this on a 24-core machine, with make -j48 buildworld (N = 6):

before stddev after stddev
======= ====== ======= ======
real time 1741.1 16.5 959.8 2.7
user time 12468.7 16.4 14393.0 16.8
sys time 1825.0 54.8 2110.6 22.8

(user+sys)/real 8.2 17.1

E.g. the build was approximately 45% faster in real time. On machines
with less cores, or with lower -j settings, the speedup will not be as
impressive. But at least you can now almost max out a machine with
buildworld!

Submitted by: jilles

MFC r263833:

Enable parallel building for gnu/usr.bin and usr.bin/clang too.


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 256198 09-Oct-2013 gjb

Revert r256095, r256120 (partial), r256121:

r256095:
- Add gnu/usr.bin/rcs back to the base system.

r256120:
- Add WITHOUT_RCS back to src.conf.5.

r256121:
- Remove UPDATING entry regarding gnu/usr.bin/rcs removal.

Requested by: many
Approved by: re (marius)
Discussed with: core


# 256095 07-Oct-2013 eadler

Good bye RCS. You will be missed.

(devel/rcs and devel/rcs57 are available as alternatives)

Approved by: core
Approved by: re (hrs)


# 255191 03-Sep-2013 pfg

Remove our hacked GNU patch.

The old (2.1) GNU patch has outlived its days. The major
local changes have been moved into the less restrictedly
licensed patch(1) we adopted in usr.bin/ .

A much newer version of GNU patch is available in the
ports tree (devel/patch).

Disconnect from the build and remove.


# 251794 15-Jun-2013 eadler

Remove CVS from the base system.

Discussed with: many
Reviewed by: peter, zi
Approved by: core


# 245803 22-Jan-2013 theraven

Import new (BSDL) device tree compiler. Now built by default, so that it can't
be used on the host system (and not installed on the device, if required). The
GPL'd one is still available if there are any devices that need it (make
universe passes with it, including kernels that use fdt, but there may be some
out-of-tree ones). WITH_GPL_DTC can be used to select the old one, for now.

Probably won't be MFC'd, but we'll remove the GPL'd version in head after the
new one has had a lot more testing and ship it in 10.0.


# 241511 13-Oct-2012 gabor

- Remove GNU sort and the WITH_GNU_SORT knob


# 222878 08-Jun-2011 obrien

Simply post r222273.


# 222273 24-May-2011 obrien

Build and install a BSD licensed grep.
If WITH_BSD_GREP is not set, it will be 'bsdgrep' and GNUgrep will be
'[ef]grep'. Otherwise, BSD-grep will be the grep family, and GNUgrep
will be 'gnugrep'.

Discussed with: brooks


# 222090 19-May-2011 imp

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@


# 213391 03-Oct-2010 gordon

Retire GNU man in favor of the newly written BSDL version.

Approved by: wes (mentor)


# 211701 23-Aug-2010 gabor

- Change default grep back to GNU version. BSD grep can be built with the
WITH_BSD_GREP knob.
- Bump __FreeBSD_version

Requested by: dougb
Approved by: delphij (mentor)


# 209128 13-Jun-2010 raj

Connect FDT infrastructure to the build system.

Reviewed by: imp
Sponsored by: The FreeBSD Foundation


# 208320 19-May-2010 jkim

Add a new build option, MAN_UTILS. This option lets you control building
utilities and related support files for manual pages, which were previously
controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN
implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. This patch
is slightly improved by me from:

PR: misc/145212


# 205702 26-Mar-2010 delphij

Remove GNU cpio after fix of CVE-2010-0624.

Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.

Blessed by: kientzle
With hat: secteam
MFC after: 3 days


# 204138 20-Feb-2010 rrs

These contain JC's patch to get gdb sort of working
on mips. Its not fully done yet but its a start.

Obtained from: JC - c.jayachandran@gmail.com

M gnu/usr.bin/gdb/kgdb/trgt_mips.c
M gnu/usr.bin/gdb/arch/mips/init.c
M gnu/usr.bin/gdb/arch/mips/Makefile
M gnu/usr.bin/Makefile
M contrib/gdb/gdb/mips-tdep.h


# 202719 20-Jan-2010 gabor

Replace GNU bc/dc with BSDL versions ported from OpenBSD. They have a good
compatibility level with the GNU counterparts and have shown to be mature
enough. For now, the GNU versions aren't removed from the tree, just detached
from the build.

Sponsored by: Google Summer of Code 2008
Portbuild run by: erwin
Approved by: delphij


# 183242 21-Sep-2008 sam

add new build knobs and jigger some existing controls to improve
control over the result of buildworld and installworld; this especially
helps packaging systems such as nanobsd

Reviewed by: various (posted to arch)
MFC after: 1 month


# 182622 01-Sep-2008 obrien

GDB isn't building on MIPS. Temporarily disable, to revisit soon.


# 179813 16-Jun-2008 dougb

1. Make the BSD version of cpio the default [1]
a. The BSD version will be built and installed unless
WITHOUT_BSD_CPIO is defined.
b. The GNU version will not be built or installed unless
WITH_GNU_CPIO is defined. If this is defined, the symlink
in /usr/bin will be to the GNU version whether the BSD
version is present or not.

When these changes are MFCed the defaults should be flipped.

2. Add a knob to disable the building of GNU grep. This will
make it easier for those that want to test the BSD version in
the ports.

Approved by: kientzle [1]


# 177408 19-Mar-2008 obrien

Re-enable the CVS build.


# 177389 19-Mar-2008 obrien

Disable CVS build.


# 175286 13-Jan-2008 obrien

Reenable cvs with the build.


# 175260 13-Jan-2008 obrien

Disable CVS from the build.


# 166255 26-Jan-2007 delphij

Replace the GNU gzip with a slightly modified NetBSD gzip. The
NetBSD version is a feature-to-feature re-implementation of GNU
gzip using the freely-redistributable zlib and this version is
expected to be mostly bug-to-bug compatible with the GNU
implementation.

- Because this is a piece of mature code and we want to make
changes so it is added directly rather than importing to
src/contrib.
- Connect newly added code to src/usr.bin/ and rescue/rescue
build.
- Disconnect the GNU gzip code from build for now, they will
be eventually removed completely.
- Provide two new src.conf(5) knobs, WITHOUT_BZIP2_SUPPORT and
WITHOUT_BZIP2.

Tested by: kris (full exp-7 pointyhat build)
Approved by: core (importing a 4-clause BSD licensed file)
Approved by: re (adding new utility during -HEAD code slush)


# 162975 02-Oct-2006 imp

Enable gdb on the arm. Some time ago I committed it, but had forgotten to
enable it here.

Noticed by: cognet


# 161578 24-Aug-2006 marcel

Build gdb on PowerPC.


# 161517 21-Aug-2006 marcel

Build gperf(1) for/on PowerPC. There's no apparent reason not to
build it and nothing can be found in the commit logs. We won't
know if there are runtime problems, until we build it...


# 156813 17-Mar-2006 ru

Reimplementation of world/kernel build options. For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)


# 148806 06-Aug-2005 phk

Control rcs inclusion with NO_RCS insted of NO_TOOLCHAIN


# 148740 05-Aug-2005 phk

let NO_MAN control man
let NO_TOOLCHAIN control rcs
let NO_INFO control texinfo


# 148674 03-Aug-2005 phk

Don't install groff if NO_GROFF


# 143901 21-Mar-2005 kientzle

Stop building gtar. Bump __FreeBSD_version to reflect this change.


# 136910 24-Oct-2004 ru

For variables that are only checked with defined(), don't provide
any fake value.


# 131746 07-Jul-2004 ru

Build things in dictionary order.


# 131089 25-Jun-2004 marcel

Hook gdb into the build. Exclude gdb on arm and powerpc as support
does not exist yet. The NO_GDB knob is respected.


# 130308 10-Jun-2004 peter

Turn cvs back on after import; that was less painful than I expected.


# 130302 10-Jun-2004 peter

Turn off cvs while import/merging.


# 128274 14-Apr-2004 peter

Update bmake glue for cvs-1.11.15, with apologies to Jacques for messing
up his day. The *.patch files are still fine for MFC'ing.


# 128265 14-Apr-2004 peter

Turn off cvs build for a few hours while importing.


# 119553 29-Aug-2003 phk

Introduce more knobs to slim down FreeBSD userland

NO_TOOLCHAIN skips Compilers and Binutils
NO_USB skips USB stuff
NO_VINUM skips Vinum stuff
NO_ACPI skips ACPI stuff


# 114129 27-Apr-2003 obrien

Wrap gperf in NO_CXX as it needs the C++ to compile.


# 111401 24-Feb-2003 obrien

I thought groff was wrapped with NO_CXX. Oh well, it is now.


# 111204 21-Feb-2003 obrien

Some things don't build for PowerPC yet.

List from: benno


# 103435 16-Sep-2002 obrien

Disable building of the a.out gas and ld. They will become ports.


# 97833 04-Jun-2002 obrien

Remove GNU awk.


# 97435 28-May-2002 peter

Put on peril sensitive sunglasses and turn C++ stuff back on.


# 97059 21-May-2002 markm

Remove ptx. It is not used anywhere in the base system, has not been
maintained for years and is very old code. If there is any need for
it, I suspect that ports would be a better place.

No objection from: current@freebsd.org


# 96829 17-May-2002 obrien

Don't build gperf.


# 96720 16-May-2002 markm

Don't build perl.


# 96669 15-May-2002 ru

Make sure to not yet build the GNU C++, but still allow
for the C++ progs to be built with e.g. an old compiler,
CXX=/usr/bin/c++, for the time being.


# 96359 10-May-2002 obrien

Build compiler on all platforms.


# 96304 09-May-2002 obrien

Turn off groff and gperf -- they will not compile with the in-tree Gcc 3.1.


# 94572 13-Apr-2002 ache

Re-add sort spammed in v1.62


# 94319 09-Apr-2002 obrien

Back out most of revision 1.59.


# 94245 08-Apr-2002 peter

move gperf to NO_GXX section, it works fine on ia64. It just needs a
c++ compiler.


# 94237 08-Apr-2002 ache

Connect sort


# 94232 08-Apr-2002 obrien

GCC and Gperf do not work on ia64 or sparc64 yet.
Also do not try to compile Groff if NO_CXX is set.


# 93105 24-Mar-2002 markm

Remove GNU sort from the build. BSD sort is coming.


# 92409 16-Mar-2002 markm

Allow the use of the NO_PERL as well as NOPERL. The latter is
going to go.


# 85924 02-Nov-2001 obrien

Bring Gawk back. There just isn't any other POSIX compliant AWK out there.
The biggest thing missing from Bell-Labs AWK is the character class regexes.


# 85724 30-Oct-2001 obrien

Switch to the One True AWK from Bell-Labs, away from GNU AWK.


# 81595 13-Aug-2001 peter

Turn cvs back on. It seems that there's nothing outright broken, but there
are some odd things I've run into.. eg: log message formatting, etc.


# 81403 10-Aug-2001 peter

Temporarily turn off cvs builds for the (short) duration of
import/verification.


# 70062 15-Dec-2000 obrien

Only build the a.out `as' and `ld' if "WANT_AOUT" is defined.

Looking in src/Makfile* it looks like all the "WANT_AOUT" support
has been removed, maybe these should just go away...

Note that the a.out `ld' reaches over into src/contrib/gcc for libiberty
bits. This is biting us because the libiberty bits have evolved beyond
what the a.out `ld' can handle.

This change fixes the broken world, but only because very few have
"WANT_AOUT" defined.


# 56076 15-Jan-2000 obrien

Remove Bison from the build. This is a prelude to possibly removing it
from 4.0-R.


# 54446 11-Dec-1999 peter

reactivate cvs subdir build


# 54426 11-Dec-1999 peter

Turn off cvs for a moment pending import of a newer version..


# 51299 15-Sep-1999 peter

Add a hook for disabling cvs and collect a few similar options together.
(We do this on freefall as we use a tweaked /usr/bin/cvs wrapper)


# 50472 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 46282 02-May-1999 dfr

Disable building gdb in preparation for importing gdb-4.18


# 45338 05-Apr-1999 obrien

Turn off src/gnu/usr.bin/genclass -- it is OBE as it was part of libg++.


# 39027 09-Sep-1998 markm

Remove the NOPERL block to building Perl5.

Perl 5 will rebuild/bootstrap itself next time a make world is done
with this in effect.


# 38974 09-Sep-1998 markm

Set NOPERL while I spend the rest of the day bringing in Perl5.
This will doubtless confuse someone, but I'd rather have this than
breakage.


# 36374 25-May-1998 sos

ELF preparation step 1:

Move our old a.out utils to /usr/libexec/aout.
Enable binutils and put the utils in /usr/libexec/elf
Enable objformat, a little helper program that calls the right
utils based on /etc/objformat and $OBJFORMAT.

This will enable the ELF generating tools.
Remember that this is only step one, the system is still compiled
and run in a.out format ONLY.

Problem left to solve: The BSD manpages wins over the GNU equivalents
as the are installed last. We need to distinguish between the manpages
somehow...


# 35989 12-May-1998 jb

perl now works on alpha.

This just leaves gdb to be configured for alpha.


# 35983 12-May-1998 jb

awk and groff (et al) now work on alpha as the result of library
fixes.


# 34553 13-Mar-1998 jb

Add binutils if BINFORMAT is elf. This is needed for alpha, and it
works on i386, but is still disabled until you set BINFORMAT.


# 33689 20-Feb-1998 jkh

Correct spammage from MACHINE_ARCH commit - you don't want to
*replace* the SUBDIR list in that case, you want to augment it.
Also move a stray .endif to its proper location. Heh, no wonder my
release builds were falling over! ;)


# 33619 19-Feb-1998 jb

No binutils yet 8-(, and a few programs that need porting to alpha.
Make them i386 specific for now.


# 24835 12-Apr-1997 peter

Don't descend into the perl directory if it isn't there (eg: cvsup
refuse file), or if NOPERL is defined (eg: in /etc/make.conf)


# 22996 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 18673 04-Oct-1996 peter

Add genclass to the subdir list


# 18219 10-Sep-1996 peter

add bison, gperf


# 17471 08-Aug-1996 jkh

Remove mkisofs from Makefile


# 13392 12-Jan-1996 wpaul

Remove yppush; it's about to be replaced.


# 12916 18-Dec-1995 peter

Re-connect cvs to gnu/usr.bin/Makefile..

(Note that you need to have either done a 'make world' or explicitly
run a 'make distrib-dirs' (in src/etc) to get some needed directories in
/usr/share/examples/cvs to be built.)


# 12747 10-Dec-1995 peter

Disconnect 'cvs' from SUBDIRS in preperation for import of new version..


# 7756 11-Apr-1995 nate

Re-enabled cvs now that Rod is satisfied that it will work correctly.


# 7520 31-Mar-1995 nate

Temporarily disable building CVS to avoid anyone hosing up their CVS
tree until a bit more testing is done.

Submitted by: rgrimes@gndrsh.aac.dev.com "Rod Grimes"


# 7249 22-Mar-1995 nate

Added gdb back in since it can no compile with the ld change.


# 7121 17-Mar-1995 pst

rename ngroff to groff


# 7051 13-Mar-1995 phk

Disabled gdb until it compiles. I need make world to work...


# 6329 12-Feb-1995 jkh

Add mkisofs to list of targets.


# 6075 31-Jan-1995 wpaul

Added SUNDIR entry for yppush


# 5712 19-Jan-1995 bde

Don't build kgdb. It should go away soon.


# 5688 17-Jan-1995 ache

Build ngroff instead of groff now


# 5659 16-Jan-1995 ache

Remove */doc


# 5529 12-Jan-1995 ache

dc/doc added


# 5527 12-Jan-1995 ache

as/doc added


# 5524 11-Jan-1995 ache

ptx/doc added


# 5506 11-Jan-1995 ache

awk/doc added


# 5477 10-Jan-1995 ache

send-pr/doc added


# 4230 07-Nov-1994 dg

Enabled build/install of kgdb.


# 3856 25-Oct-1994 bde

Add perl.


# 3432 08-Oct-1994 ache

Dialog added


# 2791 15-Sep-1994 jkh

Add texinfo to the list of SUBDIR targets.


# 2623 09-Sep-1994 paul

Enabled send-pr


# 2267 24-Aug-1994 paul

Changed cc26 to cc
Reviewed by:
Submitted by:


# 1993 09-Aug-1994 jkh

Nuke GNU pr.
Reviewed by:
Submitted by:


# 1978 09-Aug-1994 jkh

Remove kgdb for now until we figure out what our gdb strategy is going
to be (having two sucks, and this one doesn't even work for 2.0 now!).
Submitted by: jkh


# 1913 07-Aug-1994 jkh

cc -> cc26 (until Poul-Henning decides how he wants this to look).
Submitted by: jkh


# 1702 10-Jun-1994 paul

Added kgdb subdir.


# 1460 06-May-1994 alm

added ptx


# 1040 29-Jan-1994 rgrimes

New files for relocated source code.