summaryrefslogtreecommitdiffstats
path: root/tools/build
Commit message (Collapse)AuthorAgeFilesLines
* Make the BSD-licensed patch the default.pfg2013-07-262-2/+2
| | | | | | | | | | | | | | | The BSD-licensed patch(1) command has matured and it's behaviour can be considered equivalent to the older version of GNU patch in the tree. The switch has been extensively tested [1] and only two ports presented regressions, which have since been fixed. For convenience a new WITH_GNU_PATCH option is available, but it will likely be removed in the near future. PR: 176313 Approved by: portmgr
* 2 years, 10 months, 22 days after the projects/arm_eabi branch was createdandrew2013-07-162-2/+2
| | | | | | | | | | | | | | | | | | | | make the ARM EABI the default ABI on arm, armeb, armv6 and armv6eb. This is intended to be the default ABI from now on with the old ABI to be retired. Because of this all users are strongly suggested to upgrade to the ARM EABI. As the two ABIs are incompatible it is unlikely upgrading in place will work. Users should perform a full backup and either use an external machine to upgrade, or install to an alternative location on their media. They should also reinstall all ports or packages when these are available. The only known issues are: - pkg incorrectly detects the ABI. This is fixed upstream, and will a patch will be made to the port. - GDB can have issues with executables built with clang. __FreeBSD_version has been bumped.
* Disable building of pkg_install by defaultbapt2013-07-121-1/+1
| | | | If people still want to have pkg_install they can specify WITH_PKGTOOLS when building world
* Ensure the locale is LC_ALL=C when regenerating src.conf.5bapt2013-07-121-0/+1
| | | | MFC after: 3 days
* Remove authpf-noip along with authpf.des2013-07-121-0/+2
| | | | Reminded by: delphij@
* Document WITHOUT_SVNLITE and WITH_SVN.zeising2013-07-032-0/+9
| | | | | PR: docs/180025 Submitted by: Garrett Cooper <yaneurabeya@gmail.com>
* Add missing Obsolete Fileseadler2013-06-241-0/+4
| | | | Submitted by: Kurt Lidl <lidl@pi-coral.com>
* Teach delete-old how to clean up after WITH/WITHOUT_SVN{LITE} permutations.peter2013-06-181-0/+24
|
* Remove CVS from the base system.eadler2013-06-152-30/+0
| | | | | | Discussed with: many Reviewed by: peter, zi Approved by: core
* Use portable string comparisonemaste2013-06-131-1/+1
| | | | | We support == in /bin/sh now, but it ought to be avoided, and my use of it was accidental.
* Handle options that override other optionsemaste2013-06-101-5/+18
| | | | | | This is a workaround for WITH_LDNS_UTILS forcing BIND_UTILS off. It can be reverted when we no longer have these conflicting options, or made more general if we grow more cases like this.
* Add freebsd-update.conf(5) to OptionalObsoleteFiles.incgjb2013-06-091-0/+1
| | | | | | PR: 179437 Approved by: kib (mentor) MFC after: 1 week
* Add a new knob WITH_DEBUG_FILES to control the building of standaloneemaste2013-06-071-0/+7
| | | | | | | | | | | | | | | | debug files for userland programs and libraries. The "-g" debug flag is automatically applied when WITH_DEBUG_FILES is set. The debug files are now named ${prog}.debug and ${shlib}.debug for consistency with other systems and documentation. In addition they are installed under /usr/lib/debug, to simplify the process of installing them if needed after a crash. Users of bsd.{prog,lib}.mk outside of the base system place the standalone debug files in a .debug subdirectory. GDB automatically searches both of these directories for standalone debug files. Thanks to everyone who contributed changes, review, and testing during development.
* BMAKE is now being built by default.delphij2013-05-211-1/+1
|
* Add support for an external cross compiler. The cross compiler isbrooks2013-05-151-0/+3
| | | | | | | | | | | | | | | | | | | | specified by passing the XCC, XCXX, and XCPP variables (corresponding to CC, CXX, and CPP) to buildworld/buildkernel. The compiler must be clang or be configured to target the appropriate architecture. To speed build times, if XCC is an absolute path or WITHOUT_CROSS_COMPILER is defined then no cross compiler will be built during the cross-tools stage. Limited documentation of this feature can currently be found at: https://wiki.freebsd.org/ExternalToolchain This functionality should be considered experimental and is subject to change without notice. Sponsored by: DARPA, AFRL Discussed with: imp, sjg
* Add a new option WITHOUT_FORMAT_EXTENSIONS to disable flags related tobrooks2013-05-151-0/+5
| | | | | | | checking our kernel printf extensions. This is useful to allow compilers without these extensions to build kernels. Sponsored by: DARPA, AFRL
* Unconditionally install 210.backup-aliases as many MTAs other thaneadler2013-05-111-1/+0
| | | | | | | | sendmail support the use of /etc/aliases. PR: conf/176098 Submitted by: ak MFC after: 2 weeks
* When the world is built WITHOUT_OPENSSH also don'teadler2013-04-281-3/+3
| | | | | | | | install ssh-copy-id. PR: misc/177590 Submitted by: Oleg Ginzburg <olevole@olevole.ru> Reviewed by: imp
* Add a comma to satisfy Igor.eadler2013-04-272-2/+2
|
* Remove IDEA from OptionalObsoleteFiles.inceadler2013-04-271-4/+0
| | | | Also add an UPDATING entry (requsted by gjb)
* Remove the WITH_IDEA option and build it unconditionally.eadler2013-04-261-6/+0
| | | | | | | | The European version of the patent expired in 2011. The US version of the patent expired in 2012 or prior. Reviewed by: des No objection from: cperciva, ehaupt
* Upgrade our copy of llvm/clang to trunk r178860, in preparation of thedim2013-04-121-0/+32
| | | | | | | | | upcoming 3.3 release (branching and freezing expected in a few weeks). Preliminary release notes can be found at the usual location: <http://llvm.org/docs/ReleaseNotes.html> An MFC is planned once the actual 3.3 release is finished.
* Oops, I flipped LDNS_UTILS but forgot to update the description.des2013-02-151-3/+2
|
* Import LDNS and build it as an internal library.des2013-02-152-0/+8
|
* Add missing src.conf(5) fragments for WITHOUT_LIBCPLUSPLUS and WITH_GPL_DTC.dim2013-02-022-0/+5
|
* Pull in r170135 from upstream clang trunk:dim2013-02-022-0/+6
| | | | | | | | | | | | | | | | Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user specifies not to. Dont build ASTMatchers with Rewriter disabled and StaticAnalyzer when it's disabled. Without all those three, the clang binary shrinks (x86_64) from ~36MB to ~32MB (unstripped). To disable these clang components, and get a smaller clang binary built and installed, set WITHOUT_CLANG_FULL in src.conf(5). During the initial stages of buildworld, those extra components are already disabled automatically, to save some build time. MFC after: 1 week
* - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) fromgabor2013-01-291-0/+2
| | | | | | | | DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it default and installs GNU patch as gnupatch. Submitted by: pfg Obtained from: The DragonflyBSD Project
* Add option to make pc-sysinstall optionaleadler2013-01-182-0/+93
| | | | Approved by: cperciva
* Add compiler support for the ARM EABI.andrew2013-01-171-0/+2
| | | | | | ARM EABI support is disabled by default and can be enabled by setting WITH_ARM_EABI when building, however only the kernel-toolchain target will work with this flag until the rest of the support is added.
* Add a src.conf(5) option to allow users to compile in the "NONE cipher",bz2013-01-171-0/+9
| | | | | | | | | which, only after authentication, disables crypto, and only for sessions without a terminal. Submitted by: Jeremy Chadwick (freebsd jdc.parodius.com) PR: bin/163095 MFC after: 10 days
* Remember the . in .\" in the WITH_NMTREE file and regenerate the output.brooks2013-01-141-1/+1
| | | | Reported by: joeld
* Add pwcache(3) and vis(3) to libegacy as install(1) is about to grow abrooks2013-01-111-0/+16
| | | | | | dependency on them. Sponsored by: DARPA, AFRL
* Always install our mtree as /usr/sbin/fmtree and link it asbrooks2013-01-091-0/+9
| | | | | | | /usr/sbin/mtree by default. Add a src.conf option WITH_NMTREE that causes NetBSD's mtree to be linked as /usr/sbin/mtree as well as /usr/sbin/nmtree.
* Following r226271, allow disabling lzma support with "WITHOUT_LZMA_SUPPORT".obrien2013-01-082-1/+3
| | | | | | Correct r226271 which should have used WITHOUT_BZIP2_SUPPORT per r166255. Obtained from: Juniper Networks
* Add etc/periodic/daily/220.backup-pkgdb to OptionalObsoleteFiles.incbapt2012-12-201-0/+1
|
* Upgrade our copy of llvm/clang to r168974, from upstream's release_32dim2012-12-031-0/+4
| | | | | branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is coming soon.
* Don't install atf.test.mk if MK_ATF == no.marcel2012-11-151-0/+1
| | | | Submitted by: Garrett Cooper <yanegomi@gmail.com>
* Add a description of WITHOUT_CLANG_IS_CC.brooks2012-11-051-0/+6
|
* Add ATF to the build. This is may be a bit rought around the egdes,marcel2012-10-222-0/+73
| | | | | | | | | | | | | | | | | but committing it helps to get everyone on the same page and makes sure we make progress. Tinderbox breakages that are the result of this commit are entirely the committer's fault -- in other words: buildworld testing on amd64 only. Credits follow: Submitted by: Garrett Cooper <yanegomi@gmail.com> Sponsored by: Isilon Systems Based on work by: keramida@ Thanks to: gnn@, mdf@, mlaier@, sjg@ Special thanks to: keramida@
* Remove the netncp and nwfs files from here. They will be moved to theandreast2012-10-171-41/+0
| | | | | | ObsoleteFiles.inc file later. Discussed with: attilio
* - Remove GNU sort and the WITH_GNU_SORT knobgabor2012-10-131-2/+0
|
* Add support for bmake. This includes:marcel2012-10-061-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE, there's a bootstrap complication in ths respect. Avoid it. Make the necessary changes to have upgrade_checks work wth bmake anyway. 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any) anyway. 3. Properly declare phony targets as phony as bmake is a lot smarter (and thus agressive) about build avoidance. 4. Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot smarter about build avoidance and should not find files we generate in the source tree. We should not have files in the repository we want to generate, but this is an easier way to cross this hurdle. 5. Have behavior under bmake the same as it is under make with respect to halting when sub-commands fail. Add "set -e" to compound commands so that bmake is informed when sub-commands fail. 6. Make sure crunchgen uses the same make as the rest of the build. This is important when the make utility isn't called make (but bmake for example). 7. While here, add support for using MAKEOBJDIR to set the object tree location. It's the second alternative bmake looks for when determining the actual object directory (= .OBJDIR). Submitted by: Simon Gerraty <sjg@juniper.net> Submitted by: John Van Horne <jvanhorne@juniper.net>
* Add bmake to the build and allow it to be installed as make(1) insteadmarcel2012-10-061-0/+8
| | | | | | | | of FreeBSD's make by setting WITH_BMAKE. The WITH_BMAKE build makes it easy for people to switch while working out the kinks -- think ports tree here. The option will be removed in due time. Submitted by: Simon Gerraty (sjg@juniper.net)
* Add documentation for the WITHOUT_KDUMP switch.zeising2012-09-191-0/+5
| | | | | | This swtich was introduced in r240404 Approved by: joel (mentor)
* r235638 is not the clean way to add support for building on ancient FreeBSDobrien2012-09-111-2/+14
| | | | | | | | versions. Instead use Imp's good work on "legacy" and follow the outcome of the previous TRB discussions on this topic. Now use the libc getline() if it exists, and only where it doesn't create a bootstraping version.
* Add libc++ and libcxxrt related files to OptionalObsoleteFiles.inc.dim2012-08-261-0/+115
| | | | MFC after: 1 week
* Add three additional clang intrinsics headers, which I missed in thedim2012-08-201-0/+3
| | | | previous import.
* Upgrade our copy of llvm/clang to trunk r162107. With thanks todim2012-08-201-0/+24
| | | | Benjamin Kramer and Joerg Sonnenberger for their input and fixes.
* When WITHOUT_CLANG is being used, also clean out the clang 3.1 headersdim2012-07-231-0/+24
| | | | | | | | in OptionalObsoleteFiles.inc. PR: misc/169902 Submitted by: Thomas Eberhardt <sneakywumpus@googlemail.com> MFC after: 3 days
* Change language in WITH_BSDCONFIG to match other options, and regenzeising2012-07-141-1/+1
| | | | | | src.conf(5), which was missed in r238438. Approved by: joel (mentor)
OpenPOWER on IntegriCloud