summaryrefslogtreecommitdiffstats
path: root/tools/build
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Import bsdconfig(8) as a replacement for the post-install abilities ofdteske2012-07-141-0/+2
| | | | | | | | deprecated sysinstall(8). NOTE: WITH_BSDCONFIG is currently required. Submitted by: Devin Teske (dteske), Ron McDowell <rcm@fuzzwad.org> Reviewed by: Ron McDowell <rcm@fuzzwad.org> Approved by: Ed Maste (emaste)
* Remove the "funny targets" make check. We no longer need embedded :: targetsobrien2012-07-051-18/+10
| | | | | | | | | to build FreeBSD (they are used in Perl man pages). We never needed embedded "!" in targets that I can find. We got this from OpenBSD and I cannot find any other make that supports such things -- contrary to their commit message claim: "This behaviour is also consistent with other versions of make.".
* A cross-reference takes a man page section as well. Assume pkg(1),marcel2012-07-021-1/+1
| | | | based on pkg_add(1).
* Add description for INSTALL_AS_USERmarcel2012-07-021-0/+9
|
* Fix typo in option description file (using svn move).marcel2012-07-021-0/+0
|
* New build KNOB: WITHOUT_PKGBOOTSTRAP to condition building of usr.sbin/pkgbapt2012-07-022-0/+8
| | | | | | | | Do not condition usr.sbin/pkg building on WITHOUT_PKGTOOLS anymore, so that users can remove the old pkg_* tools without removing the pkgng boostrap Approved by: des (mentor) MFC after: 1 month
* - Switch to BSD sort as default sort. GNU sort will still be installed asgabor2012-06-272-2/+2
| | | | | | | | | "gnusort". Most of the BSD sort development work was done by Oleg Moskalenko <oleg.moskalenko@citrix.com>. - GNU grep can be set to default by setting WITH_GNU_GREP. It will cause BSD sort to be installed as "bsdsort". Portbuild tested by: linimon
* make it easier to check newly-built makeobrien2012-05-301-0/+19
|
* Add '-width Pa' to src.conf.5 for mdoc(7) style consistency.gjb2012-05-301-1/+1
| | | | MFC after: 3 days
* Document the ED_CRYPTO and LS_COLORS options.marcel2012-05-192-0/+8
| | | | Obtained from: Juniper Networks, Inc.
* Import work done under project/nand (@235533) into head.gber2012-05-172-0/+4
| | | | | | | | | | | | | | The NAND Flash environment consists of several distinct components: - NAND framework (drivers harness for NAND controllers and NAND chips) - NAND simulator (NANDsim) - NAND file system (NAND FS) - Companion tools and utilities - Documentation (manual pages) This work is still experimental. Please use with caution. Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks
* Regenerate src.conf(5) for mdoc(7) and typo corrections.gjb2012-05-124-7/+5
| | | | | | PR: 167804 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* - Hook up BSD sort to the build. By default, it will be installed asgabor2012-05-111-0/+2
| | | | | | "bsdsort" and GNU sort will be the default "sort". When WITH_BSD_SORT is set, BSD sort will be the default "sort" and GNU sort will be installed as "gnusort".
* Add some missing files to OLD_FILESeadler2012-05-091-0/+2
| | | | | | | | PR: conf/166460 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com> Reviewed by: stable@ Approved by: cperciva MFC after: 2 weeks
* Add src.conf option WITH_SHARED_TOOLCHAIN to enable building thekib2012-04-291-0/+6
| | | | | | | | toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous version) MFC after: 2 weeks
* Add files and directories to be cleaned up if WITHOUT_GCC is in effectdim2012-04-141-0/+36
| | | | | | to OptionalObsoleteFiles.inc. MFC after: 1 week
* - Add new kerberos libraries to the list of optional obsolete files.stas2012-03-231-1/+37
|
* - Do not build libcom_err and compile_et when kerberos is disabled. Theystas2012-03-231-0/+6
| | | | | depends on several heimdal libraries and not used by anything but kerberos tools.
* - Update FreeBSD Heimdal distribution to version 1.5.1. This also bringsstas2012-03-221-40/+536
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for a particular service. o kf(1) securily forwards ticket to another host through an authenticated and encrypted stream. o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1) and other user kerberos operations. klist and kswitch are just symlinks to kcc(1) now. o kswitch(1) allows you to easily switch between kerberos credentials if you're running KCM. o hxtool(1) is a certificate management tool to use with PKINIT. o string2key(1) maps a password into key. o kdigest(8) is a userland tool to access the KDC's digest interface. o kimpersonate(8) creates a "fake" ticket for a service. We also now install manpages for some lirbaries that were not installed before, libheimntlm and libhx509. - The new HEIMDAL version no longer supports Kerberos 4. All users are recommended to switch to Kerberos 5. - Weak ciphers are now disabled by default. To enable DES support (used by telnet(8)), use "allow_weak_crypto" option in krb5.conf. - libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings disabled due to the function they use (krb5_get_err_text(3)) being deprecated. I plan to work on this next. - Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeBSD components will require it in the future we can rename it to libbsdsqlite and use for these components as well. - This is not a latest Heimdal version, the new one was released while I was working on the update. I will update it to 1.5.2 soon, as it fixes some important bugs and security issues.
* Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, thatdim2012-02-291-0/+8
| | | | | | | | | | installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp. Note this does *not* disable building and installing gcc, which will still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If you want to disable gcc completely, you must use WITHOUT_GCC. MFC after: 2 weeks
* Replace utxrm(8) by utx(8).ed2012-02-112-1/+3
| | | | | | | | | | At first, I added a utility called utxrm(8) to remove stale entries from the user accounting database. It seems there are cases in which we need to perform different operations on the database as well. Simply rename utxrm(8) to utx(8) and place the old code under the "rm" command. In addition to "rm", this tool supports "boot" and "shutdown", which are going to be used by an rc-script which I am going to commit separately.
* Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default,dim2012-02-052-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that builds the following additional llvm/clang tools: - bugpoint - llc - lli - llvm-ar - llvm-as - llvm-bcanalyzer - llvm-diff - llvm-dis - llvm-extract - llvm-ld - llvm-link - llvm-mc - llvm-nm - llvm-objdump - llvm-prof - llvm-ranlib - llvm-rtdyld - llvm-stub - macho-dump - opt These tools are mainly useful for people that want to manipulate llvm bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker with llvm and clang themselves. MFC after: 2 weeks
* Add MK_SOURCELESS build option. Setting MK_SOURCELESS to "no" will disablermh2012-02-043-0/+6
| | | | | | | | | | | kernel modules that include binary-only code. More fine-grained control is provided via MK_SOURCELESS_HOST (for native code that runs on host CPU) and MK_SOURCELESS_UCODE (for microcode). Reviewed by: julian, delphij, freebsd-arch Approved by: kib (mentor) MFC after: 2 weeks
* Remove wtmpcvt(1).ed2012-01-131-1/+0
| | | | | | | | The wtmpcvt(1) utility converts wtmp files to the new format used by utmpx(3). Now that HEAD has been branched to stable/9 and 9.0 is released, there is no need for it in HEAD. MFC after: never
* Add WITHOUT_CAPSICUM src.conf(5) define, which can be used to compile outrwatson2012-01-021-0/+2
| | | | | | | use of Capsicum by userspace applications. MFC after: 3 weeks Sponsored by: Google, Inc.
* Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG isdim2011-12-111-0/+35
| | | | | | in effect. MFC after: 1 week
* Revert to conservative defaults. WITH_PROFILE is a default now.fjoe2011-12-022-2/+2
| | | | | NO_PROFILE overrides in Makefile.inc1 and bsd.own.m are left intact so that the reversal to the WITHOUT_PROFILE will be easier in future.
* Add WITH_CTF description.fjoe2011-11-301-0/+4
|
* Turn off profiled libs build by default.fjoe2011-11-292-2/+2
| | | | Can be enabled back using WITH_PROFILE=yes in /etc/src.conf
* Add WITH_LIBCPLUSPLUS under tools/build/options; the knob itself wasdim2011-11-281-0/+2
| | | | already added in a previous revision.
* Revert r227538, since it doesn't compile with clang at all (it doesn'tdim2011-11-172-60/+0
| | | | | | | | | | | allow the built-in operations to be redefined, at least not without excessive force). Instead, just disable LLVM's support for atomic operations for now. Nothing in either clang or the tablegen tools currently depends on it. This still allows users of head built before r198344 to upgrade to top-of-head seamlessly.
* LLVM uses atomic operations, which are not supported on i386 and GCCdim2011-11-152-0/+60
| | | | | | | | | | | emits calls for them, rather than expanding them inline. Older FreeBSD versions compile for i386 by default and as such we end up with unresolved symbols when we build LLVM's TableGen utility as a build tool on them. Add the functions that GCC emits here, but don't bother to make them atomic. Such is not needed. Submitted by: marcel MFC after: 1 week
* Add WITHOUT_UTMPX switch to the build system.ed2011-06-172-0/+28
| | | | | | | | | This knob removes the tools that are exclusively used to view and maintain the databases maintained by utmpx, namely last, users, who, wtmpcvt, ac, lastlogin and utxrm. The tool w is not in this list, because it has some other functionality which is unrelated to utmpx; it is hardlinked to the uptime tool.
* Don't remove the periodic script for ac(8) when setting WITHOUT_ACCT.ed2011-06-171-1/+0
|
* Don't omit ac(8) as part of WITHOUT_ACCT.ed2011-06-172-4/+2
| | | | | | | The WITHOUT_ACCT switch is supposed to omit tools related to process accounting, namely accton and sa. ac(8) is just a simple tool that prints statistics based on data in the utx.log database. It has nothing to do with the former.
* + Tighten up (and simplify) the pass_cmd_vars_1 "variable definition arrivedobrien2011-05-251-12/+9
| | | | | from the calling make" test. + Be more tolerant of newlines in the plus_flag "supports the '+' flag" test.
OpenPOWER on IntegriCloud