summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.own.mk
Commit message (Collapse)AuthorAgeFilesLines
* Add WITHOUT_CAPSICUM src.conf(5) define, which can be used to compile outrwatson2012-01-021-0/+1
| | | | | | | use of Capsicum by userspace applications. MFC after: 3 weeks Sponsored by: Google, Inc.
* Revert to conservative defaults. WITH_PROFILE is a default now.fjoe2011-12-021-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.
* - CTF knob is now implemented using common scheme: MK_CTF=yes/no isfjoe2011-11-301-6/+11
| | | | | | | defined based on WITH/WITHOUT_CTF settings, default is WITHOUT_CTF, NO_CTF overrides WITH_CTF (used by Makefile.inc1) - CTFCONVERT_CMD/NORMAL_CTFCONVERT are now defined to empty string if make(1) can handle empty commands
* CTFCONVERT_CMD=... hack does not work sufficiently well in parallel builds.fjoe2011-11-291-1/+1
| | | | Put a bandaid until make(1) is taught to ignore empty commands.
* Turn off profiled libs build by default.fjoe2011-11-291-2/+2
| | | | Can be enabled back using WITH_PROFILE=yes in /etc/src.conf
* - fix WITH_CTF when specified in /etc/src.conf [1]fjoe2011-11-291-0/+6
| | | | | | | | | | | | | - CTFCONVERT_CMD=... is a hack (should be defined to empty string instead): make(1) should be taught to ignore empty commands silently in compat mode (as it does in !compat mode, GNU make also silently ignores empty commands) and to skip printing empty commands in !compat mode - config(8) should generate ${NORMAL_CTFCONVERT} invocation without '@': this will allow to simplify kern.pre.mk even more and lessen the number of shell invocations during kernel build when CTF is turned off - WITH_CTF can now be converted to usual MK_CTF=yes/no infrastructure Pointy hat to: fjoe [1]
* Allow NO_FOO to override WITH_FOO that could be specified in /etc/src.conf.fjoe2011-11-291-0/+3
| | | | | | This is required to override knobs (e.g. WITH_PROFILE) during buildworld stages in Makefile.inc1 (otherwise the build is stopped due to both WITH_FOO and WITHOUT_FOO defined).
* Fix breakage after r227983; lib/libcxxrt still got built, because it wasdim2011-11-261-2/+1
| | | | | | | | not disabled in the usual way (by adding it to __DEFAULT_NO_OPTIONS in share/mk/bsd.own.mk), and because the test for MK_LIBCPLUSPLUS in Makefile.inc1 was incorrect. Pointy hat to: dim
* Import libc++ / libcxxrt into base. Not build by default yet (usetheraven2011-11-251-0/+2
| | | | | | | | | | | MK_LIBCPLUSPLUS=yes to enable). This is a work-in-progress. It works for me, but is not guaranteed to work for anyone else and may eat your dog. To build C++ using libc++, add -stdlib=libc++ to your CXX and LD flags. Bug reports welcome, bug fixes even more welcome... Approved by: dim (mentor)
* Connect LLVM/clang to the build on powerpc64. After the binutils 2.17.50nwhitehorn2011-11-211-5/+4
| | | | import, it works without issue.
* Build 'dtc' by default for MIPS.jchandra2011-10-201-2/+3
| | | | | | | The device tree compiler is needed during the kernel build to compile DTS files to DTB. Reviewed by: stas
* Add macros to specify owner, group and mode of config files for installation.se2011-06-271-0/+14
| | | | Submitted by: Chris Rees (crees)
* Add WITHOUT_UTMPX switch to the build system.ed2011-06-171-0/+1
| | | | | | | | | 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.
* Start to usher INSTALL_NODEBUG hack out the door. Add newimp2011-05-221-0/+1
| | | | | | | WITH{OUT,}_KERNEL_SYMBOLS (defaulting to WITH). In the fullness of time, likely around 2020, INSTALL_NODEBUG will be removed. For now, don't print a warning when using INSTALL_NODEBUG, but that will be coming soon.
* Implement WITH{,OUT}_{GCC,BINUTILS} to provide finer-grained controlimp2011-05-191-0/+4
| | | | | | | over building gcc and binutils. They default to true, unless MK_TOOLCHAIN is no. Reviewed by: ru@
* Removed unsupported options MK_BINUTILS and MK_GCC that wereru2011-05-101-2/+0
| | | | silently added in r218936.
* Another fallout from r220359: MK_GNU_CPIO was mistakenly re-addedru2011-05-101-2/+1
| | | | after being removed in r205702. Remove it again.
* Introduce two new options MK_INET and MK_INET_SUPPORT analogicallybz2011-04-301-0/+2
| | | | | | | | | | with INET6 equivalents. Patch reather than re-genenerating src.conf (given the current problem with the script that does the re-gen). Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 2 weeks
* Remove libobjc and other Objective-C related components, as these aredim2011-04-171-2/+0
| | | | | | extremely outdated, and not used by anything in the base system. Silence from: current@
* Complete WITHOUT_CXX support. It implies WITHOUT_GROFF anduqs2011-04-061-0/+5
| | | | | | | | WITHOUT_CLANG. Don't build clang bootstrap/build-tools depending on this flag. We also keep gperf, devd and libstdc++ around to prevent foot-shooting and to make this a two-way street.
* Make clang default on x86 and powerpc, but not on other architectures.imp2011-04-051-31/+50
| | | | | | | | | | | | | | Make fdt default on arm and powerpc. This now includes cross compiled targets, where before we tried to make it host-based. Also, move the lists of default yes and no options to a variable. In general, only build tools should get this treatment in bsd.own.mk. Also, the use of TARGET* in the bsd.*mk files is discouraged, but necessary here due to the ordering of things in buildworld. We make the native case work by testing MACHINE_ARCH after TARGET_ARCH.
* - Merge in OFED 1.5.3 from projects/ofed/headjeff2011-03-211-1/+2
|
* Add the BSD-licensed Citrus iconv to the base system with default offgabor2011-02-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setting. It can be built by setting the WITH_ICONV knob. While this knob is unset, the library part, the binaries, the header file and the metadata files will not be built or installed so it makes no impact on the system if left turned off. This work is based on the iconv implementation in NetBSD but a great number of improvements and feature additions have been included: - Some utilities have been added. There is a conversion table generator, which can compare conversion tables to reference data generated by GNU libiconv. This helps ensuring conversion compatibility. - UTF-16 surrogate support and some endianness issues have been fixed. - The rather chaotic Makefiles to build metadata have been refactored and cleaned up, now it is easy to read and it is also easier to add support for new encodings. - A bunch of new encodings and encoding aliases have been added. - Support for 1->2, 1->3 and 1->4 mappings, which is needed for transliterating with flying accents as GNU does, like "u. - Lots of warnings have been fixed, the major part of the code is now WARNS=6 clean. - New section 1 and section 5 manual pages have been added. - Some GNU-specific calls have been implemented: iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into() - Support for GNU's //IGNORE suffix has been added. - The "-" argument for stdin is now recognized in iconv(1) as per POSIX. - The Big5 conversion module has been fixed. - The iconv.h header files is supposed to be compatible with the GNU version, i.e. sources should build with base iconv.h and GNU libiconv. It also includes a macro magic to deal with the char ** and const char ** incompatibility. - GNU compatibility: "" or "char" means the current local encoding in use - Various cleanups and style(9) fixes. Approved by: delphij (mentor) Obtained from: The NetBSD Project Sponsored by: Google Summer of Code 2009
* Back out 218933 and 281934. The easy cases still worked, but someimp2011-02-221-1/+16
| | | | | hard cases broke in worse ways than the status quo. Back them out until that can be resolved.
* Testing based on MACHINE_ARCH is problematic. Default to yes to buildimp2011-02-221-14/+1
| | | | | clang. A separate change will fix buildworld to default to yes or no based on the target.
* Add LIBEXECDIR to the bsd.own.mk vars, pointing to /usr/libexec by defaultkeramida2011-02-101-0/+3
| | | | | | | | | | | Some of the patches we are preparing for porting ATF from NetBSD refer to '/usr/libexec' several times. Instead of repeating the path all over the place, add ${LIBEXECDIR} to match ${LIBDATADIR} and reduce the redundancy of the relevant makefiles. Submitted by: Garrett Cooper <yanegomi@gmail.com> Approved by: ru MFC after: 1 month
* Enable build of FDT components by default. dtc is a required build toolnwhitehorn2010-12-221-1/+1
| | | | | | | | for all FDT-enabled kernels, and having it off by default means that building these kernels fails by default. This fixes FDT-related build failures in make universe on ARM and PowerPC. Reviewed by: imp
* - Introduce WITH_GPIO knob and disable building gpioctlgonzo2010-10-051-0/+1
| | | | by default. Most systems do not need it.
* - Change default grep back to GNU version. BSD grep can be built with thegabor2010-08-231-1/+1
| | | | | | | | WITH_BSD_GREP knob. - Bump __FreeBSD_version Requested by: dougb Approved by: delphij (mentor)
* Add BSD grep to the base system and make it our default grep.gabor2010-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Deliverables: Small and clean code (1,4 KSLOC vs GNU's 8,5 KSLOC), lower memory usage than GNU grep, GNU compatibility, BSD license. TODO: Performance is somewhat behind GNU grep but it is only significant for bigger searches. The reason is complex, the most important factor is that GNU grep uses lots of optimizations to improve the speed of the regex library. First, we need a modern regex library (practically by adopting TRE), add support for GNU-style non-standard regexes and then reevalute the performance issues and look for bottlenecks. In the meantime, for those, who need better performance, it is possible to build GNU grep by setting WITH_GNU_GREP. Approved by: delphij (mentor) Obtained from: OpenBSD (http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/grep/), freegrep (http://github.com/howardjp/freegrep) Sponsored by: Google SoC 2008 Portbuild tests run by: kris, pav, erwin Acknowledgements to: fjoe (as SoC 2008 mentor), everyone who helped in reviewing and testing
* Do not set WITH_FDT by default based on arch, as this does not work forraj2010-06-131-11/+1
| | | | | | | | | | a bootstrap stage tool. FDT-enabled platforms will have to specify WITH_FDT explicitly at buildworld time for now until TBEMD is complete, which is going to provide means for such arch based selection of build components. Discussed with: imp
* Hook clang into the build on i386/amd64/powerpc.rdivacky2010-06-091-0/+15
| | | | Approved by: ed (mentor)
* Use MACHINE_ARCH instead of TARGET_ARCH.raj2010-05-261-2/+1
| | | | Pointed out by: imp
* Introduce a new build knob for Flattened Device Tree support.raj2010-05-251-0/+12
| | | | | Reviewed by: imp Sponsored by: The FreeBSD Foundation
* Add a new build option, MAN_UTILS. This option lets you control buildingjkim2010-05-191-1/+2
| | | | | | | | | 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
* Remove GNU cpio after fix of CVE-2010-0624.delphij2010-03-261-1/+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
* Unbreak world WITHOUT_NETGRAPH.antoine2010-01-161-0/+5
| | | | | | | PR: 137487 Submitted by: bf (previous version) No objections: net@ MFC after: 2 weeks
* Add support for the build options that are currently in the port:dougb2009-06-011-0/+4
| | | | | | | WITH_BIND_IDN WITH_BIND_LARGE_FILE WITH_BIND_SIGCHASE WITH_BIND_XML
* Remove if_ppp(4) and if_sl(4).ed2009-04-051-1/+0
| | | | | | | | | | | | | Not only did these two drivers depend on IFF_NEEDSGIANT, they were broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been replaced by ppp(8). There is no replacement for if_sl(4). If we see regressions in for example the ports tree, we should just use __FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are present. Version 800045 is used to denote the import of MPSAFE TTY. Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the lists.
* Document that with r186854 we started using KMODOWN/KMODGRPbz2009-01-081-2/+2
| | | | | | | for the kernel as well and no longer only for modules. Reviewed by: kib, antoine MFC after: 26 days
* add new build knobs and jigger some existing controls to improvesam2008-09-211-1/+40
| | | | | | | | 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
* Properly alphabetize the BSD_CPIO optiondougb2008-06-161-1/+1
|
* 1. Make the BSD version of cpio the default [1]dougb2008-06-161-0/+3
| | | | | | | | | | | | | | | | | 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]
* Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE andbz2008-05-261-2/+0
| | | | | | | | | | | | | | | | | | parts relied on the now removed NET_NEEDS_GIANT. Most of I4B has been disconnected from the build since July 2007 in HEAD/RELENG_7. This is what was removed: - configuration in /etc/isdn - examples - man pages - kernel configuration - sys/i4b (drivers, layers, include files) - user space tools - i4b support from ppp - further documentation Discussed with: rwatson, re
* Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longerru2008-03-291-5/+1
| | | | build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
* Cosmetique: sort the list.ru2008-01-241-2/+2
|
* Remove remnants of old *_FORTRAN build flags.brueffer2008-01-171-2/+0
| | | | | Approved by: rwatson (mentor) MFC after: 3 days
* - Fix setting of MK_GSSAPI option by bsd.own.mk; its value shouldru2007-12-121-1/+21
| | | | | | | | | | | default to the value of MK_KERBEROS unless set explicitly by WITH_GSSAPI/WITHOUT_GSSAPI. (This introduces another type of MK_* variables which itself is questionable.) - Teach tools/build/options/makeman script that generates the src.conf(5) manpage about the new type of MK_* variables. - Fix broken logic in lib/Makefile.
* Hide the building and installation of libgssapi behind thedougb2007-12-101-0/+1
| | | | | | | | | | | | | | | | | | WITHOUT_KERBEROS knob. While GSS can be used for other things some third party software (most notably ports/x11/kdelibs3) takes the presence of libgssapi as an indication that kerberos is available, and attempts to link with the kerberos libs. If they are not available, the build will fail. Because you might want to use GSS but not kerberos, add a knob to re-enable it if WITHOUT_KERBEROS is present. Document the new knob, and the new behavior of WITHOUT_KERBEROS. Not objected and/or generally agreed to by: freebsd-arch Problem discussed/analyzed in: PR: ports/116484
* - Convert NO_INSTALLLIB option to a new syntax: makefiles shouldru2007-10-201-0/+2
| | | | | | | | | | | test MK_INSTALLLIB, users can set WITHOUT_INSTALLLIB. The old NO_INSTALLLIB is still supported as several makefiles set it. - While here, fix an install when instructed not to install libs (usr.bin/lex/lib/Makefile). PR: bin/114200 Submitted by: Henrik Brix Andersen
OpenPOWER on IntegriCloud