aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Retire obsolete GDB 6.1.1Ed Maste2020-12-151-2/+0
| | | | | | | | | | | | | | | | | | | | | GDB 6.1.1 was released in June 2004 and is long obsolete. It does not support all of the architectures that FreeBSD does, and imposes limitations on the FreeBSD kernel build, such as the continued use of DWARF2 debugging information. It was kept (in /usr/libexec/) only for use by crashinfo(8), which extracts some basic information from a kernel core dump after a crash. Crashinfo already prefers gdb from port/package if installed. Future work may add kernel debug support to LLDB or find another path for crashinfo's needs, but in any case we do not want to ship the excessively outdated GDB in FreeBSD 13. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D27610 Notes: svn path=/head/; revision=368667
* Retire BINUTILS and BINUTILS_BOOTSTRAP optionsEd Maste2020-06-071-6/+1
| | | | | | | | | | | | | As of r361857 all BINUTILS options are disabled by default - ports have been changed to depend on binutils if they require GNU as, and all base system assembly files have been switched to use Clang's integrated assembler. Relnotes: Yes Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=361880
* retire in-tree GPL dtc devicetree compilerEd Maste2020-02-291-1/+0
| | | | | | | | | | | | | | | | | | | | | Now that we no longer have GCC 4.2.1 in the tree and can assume FreeBSD is being built with a C++11 compiler available, we can use BSDL dtc unconditionally and retire the GPL dtc. GPL dtc now has FreeBSD CI support via Cirrus-CI to help ensure it continues to build/work on FreeBSD and is available in the ports tree if needed. The copy of (copyfree licensed) libfdt that we actually use is in sys/contrib/libfdt so the extra copy under contrib/dtc/libfdt can be removed along with the rest of the GPL dtc. Reviewed by: kevans, ian, imp, manu, theraven Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23192 Notes: svn path=/head/; revision=358468
* remove GCC 4.2.1 build infrastructureEd Maste2020-02-291-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | As described in Warner's email message[1] to the FreeBSD-arch mailing list we have reached GCC 4.2.1's retirement date. At this time all supported architectures either use in-tree Clang, or rely on external toolchain (i.e., a contemporary GCC version from ports). GCC 4.2.1 was released July 18, 2007 and was imported into FreeBSD later that year, in r171825. GCC has served us well, but version 4.2.1 is obsolete and not used by default on any architecture in FreeBSD. It does not support modern C and does not support arm64 or RISC-V. Thanks to everyone responsible for maintaining, updating, and testing GCC in the FreeBSD base system over the years. So long, and thanks for all the fish. [1] https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html PR: 228919 Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23124 Notes: svn path=/head/; revision=358454
* Divorce MK_GDB from MK_BINUTILS.John Baldwin2019-03-061-1/+4
| | | | | | | | | | | | This permits legacy GDB to still be built and installed if WITHOUT_BINUTILS is set (e.g. if base/binutils is installed). Reviewed by: emaste MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D19480 Notes: svn path=/head/; revision=344854
* Remove groff from baseBaptiste Daroussin2017-06-071-1/+0
| | | | | | | | | | | | | All manpages in base are now compatible with mandoc(1), all roff documentation will be relocated in the doc tree. man(1) can now use groff from the ports tree if it needs. Also remove checknr(1) and colcrt(1) which are only useful with groff. Approved by: (no objections on the mailing lists) Notes: svn path=/head/; revision=319664
* Simplify gnu/usr.bin Makefile conditionsEd Maste2017-04-211-7/+3
| | | | | | | | | | | | | After r307655 MK_GDB is forced to no if MK_BINUTILS is no, and similarly MK_GROFF is forced to no if MK_CXX is no, so we can remove nested conditionals. Reviewed by: bapt, brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D8287 Notes: svn path=/head/; revision=317252
* Replace again GNU diff with BSD diffBaptiste Daroussin2017-04-201-1/+1
| | | | | | | | | | After a firts failed attempt, BSD diff is now good enough to replace GNU diff. Relnotes: yes Notes: svn path=/head/; revision=317209
* Temporary readd GNU diffBaptiste Daroussin2017-03-191-1/+1
| | | | | | | | etcupdate requires --change-group-format it is not easy to implement in bsd diff so for now readd GNU diff Notes: svn path=/head/; revision=315565
* Fix SUBDIR_DEPEND for gdb on binutils after r307659.Bryan Drewery2017-03-151-1/+1
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=315332
* Import diff from OpenBSD and remove GNU diffBaptiste Daroussin2017-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Some of the modifications from the previous summer of code has been integrated Modification for compatibility with GNU diff output has been added Main difference with OpenBSD: Implement multiple GNU diff options: * --ignore-file-name-case * --no-ignore-file-name-case * --normal * --tabsize * --strip-trailing-cr Make diff -p compatible with GNU diff Implement diff -l Make diff -r compatible with GNU diff Capsicumize diffing 2 regular files Add a simple test suite Approved by: AsiaBSDcon devsummit Obtained from: OpenBSD, GSoC Relnotes: yes Notes: svn path=/head/; revision=315051
* Remove trailing whitespace from r307674Ed Maste2016-10-201-2/+2
| | | | Notes: svn path=/head/; revision=307675
* Add knobs to make GNU diff and GNU grep optionalEd Maste2016-10-201-4/+2
| | | | | | | | | | | | | | | | | | | This is added to facilitate experiments building FreeBSD without copyleft software. If WITHOUT_GNU_DIFF is set no /usr/bin/diff or /usr/bin/diff3 will be built. If WITHOUT_GNU_GREP is set then BSD grep will be installed as /usr/bin/bsdgrep or /usr/bin/grep, depending on the WITH_BSD_GREP knob. Reviewed by: brooks (earlier) Sponsored by: The FreeBSD Foundation Differential Revision: Differential Revision: https://reviews.freebsd.org/D8288 Notes: svn path=/head/; revision=307674
* Switch gnu/usr.bin/Makefile to SUBDIR.${MK_*} optional subdir styleEd Maste2016-10-191-31/+10
| | | | Notes: svn path=/head/; revision=307659
* Remove GNU rcs from base.Baptiste Daroussin2016-10-151-5/+0
| | | | | | | | | | | GNU rcs is still available as a package: - rcs: Latest GPLv3 GNU rcs version. - rcs57: Copy of the latest version of GNU rcs (GPLv2) from base. Relnotes: yes Notes: svn path=/head/; revision=307351
* Add a WITHOUT_DIALOG src.conf(5) knobEd Maste2016-09-271-1/+2
| | | | | | | | | | | It also turns off dependencies (bsdinstall, bsdconfig, dpv, tzsetup). Reviewed by: dteske Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D7969 Notes: svn path=/head/; revision=306375
* import sdiff(1) from GSoC 2012Baptiste Daroussin2016-04-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import sdiff(1) from the diff version written by Raymond Lai, improved during GSoC 2012 by Jesse Hagewood. Compared to the version done in during that summer of code: - Remove the zlib frontend: zsdiff - Compatible output (column size and separators) with GNU sdiff Compared to GNU sdiff in ports: - The only difference is padding using spaces vs tabs Compared to OpenBSD and NetBSD import: - Implement missing options (including long options) from GNU sdiff - Improved support for the edition mode (signal handling) - Output visually compatible with GNU sdiff: size of columns While here import regression tests from NetBSD adapted to fit the output as expected by GNU sdiff Reviewed by: emaste (in part) Obtained from: OpenBSD, NetBSD, GSoC 2012 Relnotes: yes Differential Revision: https://reviews.freebsd.org/D5981 Differential Revision: https://reviews.freebsd.org/D6032 (diff with NetBSD version) Differential Revision: https://reviews.freebsd.org/D6033 (diff with OpenBSD version) Notes: svn path=/head/; revision=298823
* - Record dependencies of gdb/gdbtui/kgdb on binutils/lib{bfd,iberty,opcodes},Marius Strobl2015-07-191-3/+6
| | | | | | | | | | | fixing parallel builds. - Don't build gdb/gdbtui/kgdb or libreadline when MK_BINUTILS is "no" for obvious reasons. MFC after: 3 days Notes: svn path=/head/; revision=285684
* Remove GNU texinfo from base along with all info pages.Baptiste Daroussin2015-01-021-6/+1
| | | | | | | | | | | | To be able to info pages consider installing texinfo from ports print/texinfo or via pkg: pkg install texinfo Differential Revision: https://reviews.freebsd.org/D1409 Reviewed by: emaste, imp (previous version) Relnotes: yes Notes: svn path=/head/; revision=276551
* Build gperf only if we're using g++ (not clang++)Ed Maste2014-10-091-0/+2
| | | | | | | | | | | | | | gperf is used as a build tool for g++ and is not needed for Clang architectures. Ports and third-party software that need it can use the up-to-date devel/gperf port. PR: 194103 (exp-run) Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D886 Notes: svn path=/head/; revision=272849
* Remove send-pr, the supported interface to submit bugs is now viaGavin Atkinson2014-06-141-1/+0
| | | | | | | | | | | | https://bugs.freebsd.org/submit/ Removing send-pr also removes one more piece of non-BSD-licensed software. Hat: bugmeister MFC after: 3 days Notes: svn path=/head/; revision=267486
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Add placeholder Kyuafiles for various top-level hierarchies.Julio Merino2014-04-211-0/+5
| | | | | | | | | | | | | | | This change adds tests/ directories in the source tree to create various subdirectories in /usr/tests/ and to install placeholder Kyuafiles for them. the relevant hierarchies are: cddl, etc, games, gnu and secure. The reason for this is to simplify the addition of new test programs for utilities or libraries under any of these directories. Doing so on a case by case basis is unnecessary and is quite an obscure process. Notes: svn path=/head/; revision=264741
* Enable parallel building for gnu/usr.bin and usr.bin/clang too.Dimitry Andric2014-03-271-0/+2
| | | | | | | | MFC after: 2 weeks X-MFC-With: r263778 Notes: svn path=/head/; revision=263833
* Revert r256095, r256120 (partial), r256121:Glen Barber2013-10-091-0/+5
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=256198
* Good bye RCS. You will be missed.Eitan Adler2013-10-071-5/+0
| | | | | | | | | | (devel/rcs and devel/rcs57 are available as alternatives) Approved by: core Approved by: re (hrs) Notes: svn path=/head/; revision=256095
* Remove our hacked GNU patch.Pedro F. Giffuni2013-09-031-1/+0
| | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=255191
* Remove CVS from the base system.Eitan Adler2013-06-151-5/+0
| | | | | | | | | Discussed with: many Reviewed by: peter, zi Approved by: core Notes: svn path=/head/; revision=251794
* Import new (BSDL) device tree compiler. Now built by default, so that it can'tDavid Chisnall2013-01-221-1/+1
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=245803
* - Remove GNU sort and the WITH_GNU_SORT knobGabor Kovesdan2012-10-131-1/+0
| | | | Notes: svn path=/head/; revision=241511
* Simply post r222273.David E. O'Brien2011-06-081-3/+1
| | | | Notes: svn path=/head/; revision=222878
* Build and install a BSD licensed grep.David E. O'Brien2011-05-251-2/+0
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=222273
* Implement WITH{,OUT}_{GCC,BINUTILS} to provide finer-grained controlWarner Losh2011-05-191-2/+4
| | | | | | | | | | over building gcc and binutils. They default to true, unless MK_TOOLCHAIN is no. Reviewed by: ru@ Notes: svn path=/head/; revision=222090
* Retire GNU man in favor of the newly written BSDL version.Gordon Tetlow2010-10-031-5/+0
| | | | | | | Approved by: wes (mentor) Notes: svn path=/head/; revision=213391
* - Change default grep back to GNU version. BSD grep can be built with theGabor Kovesdan2010-08-231-4/+4
| | | | | | | | | | | WITH_BSD_GREP knob. - Bump __FreeBSD_version Requested by: dougb Approved by: delphij (mentor) Notes: svn path=/head/; revision=211701
* Connect FDT infrastructure to the build system.Rafal Jaworowski2010-06-131-0/+5
| | | | | | | | Reviewed by: imp Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=209128
* Add a new build option, MAN_UTILS. This option lets you control buildingJung-uk Kim2010-05-191-1/+1
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=208320
* Remove GNU cpio after fix of CVE-2010-0624.Xin LI2010-03-261-5/+0
| | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=205702
* These contain JC's patch to get gdb sort of workingRandall Stewart2010-02-201-4/+0
| | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=204138
* Replace GNU bc/dc with BSDL versions ported from OpenBSD. They have a goodGabor Kovesdan2010-01-201-3/+1
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=202719
* add new build knobs and jigger some existing controls to improveSam Leffler2008-09-211-5/+6
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=183242
* GDB isn't building on MIPS. Temporarily disable, to revisit soon.David E. O'Brien2008-09-011-1/+5
| | | | Notes: svn path=/head/; revision=182622
* 1. Make the BSD version of cpio the default [1]Doug Barton2008-06-161-2/+10
| | | | | | | | | | | | | | | | | | | | 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] Notes: svn path=/head/; revision=179813
* Re-enable the CVS build.David E. O'Brien2008-03-191-3/+3
| | | | Notes: svn path=/head/; revision=177408
* Disable CVS build.David E. O'Brien2008-03-191-3/+3
| | | | Notes: svn path=/head/; revision=177389
* Reenable cvs with the build.David E. O'Brien2008-01-131-3/+3
| | | | Notes: svn path=/head/; revision=175286
* Disable CVS from the build.David E. O'Brien2008-01-131-3/+3
| | | | Notes: svn path=/head/; revision=175260
* Replace the GNU gzip with a slightly modified NetBSD gzip. TheXin LI2007-01-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=166255
* Enable gdb on the arm. Some time ago I committed it, but had forgotten toWarner Losh2006-10-031-4/+0
| | | | | | | | | enable it here. Noticed by: cognet Notes: svn path=/head/; revision=162975
* Build gdb on PowerPC.Marcel Moolenaar2006-08-241-1/+1
| | | | Notes: svn path=/head/; revision=161578