#
259065 |
|
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
258230 |
|
16-Nov-2013 |
gjb |
MFC r257583, r258012, r258013:
r257583 (peter): Remove the WITH_LIBICONV_COMPAT hack that seems to do more harm than good. This caused libc to spoof the ports libiconv namespace and provide a colliding libiconv.so.3 to fool rtld. This should have been removed some time ago.
r258012: Remove WITH_LIBICONV_COMPAT file to chase after r257583.
r258013: Regenerate src.conf.5 after removal of WITH_LIBICONV_COMPAT.
Approved by: re (kib) Sponsored by: The FreeBSD Foundation
Sponsored by: The FreeBSD Foundation
|
#
257460 |
|
31-Oct-2013 |
brooks |
MFC r257138:
Switch the default mtree to nmtree our new NetBSD derived mtree.
Exp-runs by: bdrewery (ports/182438) Sponsored by: DARPA/AFRL Approved by: re (gjb)
|
#
257449 |
|
31-Oct-2013 |
brooks |
MFC r256915
Stop conflating WITHOUT_CLANG with WITHOUT_CLANG_IS_CC. This allows bootstrapping a copy of clang without building clang for the base system
which is useful for nanobsd and similar setups. It's still probably wrong to conflate what is installed as /usr/bin/cc with the selection of a bootstrap compiler under WITH*_CLANG_IS_CC, but that's for another day.
Sponsored by: DARPA/AFRL Approved by: re (gjb)
|
#
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)
|
#
255949 |
|
30-Sep-2013 |
des |
Remove BIND.
Approved by: re (gjb)
|
#
255850 |
|
24-Sep-2013 |
des |
Flip the switch: disable BIND and enable LDNS_UTILS.
Approved by: re (blanket)
|
#
255722 |
|
20-Sep-2013 |
emaste |
Add LLDB bmake infrastructure
This connects LLDB to the build, but it is disabled by default. Add WITH_LLDB= to src.conf to build it.
Note that LLDB requires a C++11 compiler so is disabled on platforms using GCC.
Approved by: re (gjb) Sponsored by: DARPA, AFRL
|
#
255597 |
|
15-Sep-2013 |
des |
Build and install the Unbound caching DNS resolver daemon.
Approved by: re (blanket)
|
#
255384 |
|
08-Sep-2013 |
des |
Create a private library directory (LIBPRIVATEDIR) for libraries which we don't want to expose but which can't or shouldn't be static.
To mark a library as private, define PRIVATELIB in its Makefile. It will be installed in LIBPRIVATEDIR, which is normally /usr/lib/private (or /usr/lib32/private for 32-bit libraries on 64-bit platforms).
To indicate that a program or library depends on a private library, define USEPRIVATELIB in its Makefile. The correct version of LIBPRIVATEDIR will be added to its run-time library search path.
Approved by: re (blanket)
|
#
255324 |
|
06-Sep-2013 |
theraven |
Only set -Wno-c++11-extensions if we're building with clang, so bootstrapping clang with gcc doesn't fail.
|
#
255322 |
|
06-Sep-2013 |
theraven |
Fix use of MACHINE_ARCH where MACHINE was intended for pc98 detection.
Reported by: nwhitehorn
|
#
255321 |
|
06-Sep-2013 |
theraven |
On platforms where clang is the default compiler, don't build gcc or libstdc++. To enable them, set WITH_GCC and WITH_GNUCXX in src.conf. Make clang default to using libc++ on FreeBSD 10. Bumped __FreeBSD_version for the change.
GCC is still enabled on PC98, because the PC98 bootloader requires GCC to build (or, at least, hard-codes the use of gcc into its build).
Thanks to everyone who helped make the ports tree ready for this (and bapt for coordinating them all). Also to imp for reviewing this and working on the forward-porting of the changes in our gcc so that we're getting to a much better place with regard to external toolchains.
Sorry to all of the people who helped who I forgot to mention by name.
Reviewed by: bapt, imp, dim, ...
|
#
255014 |
|
28-Aug-2013 |
pfg |
Drop build option switch for the older GNU patch.
As promised, drop the option to make the older GNU patch the default.
GNU patch is still being built but something drastic may happen to it to it before Release.
|
#
254958 |
|
27-Aug-2013 |
dteske |
It was brought to my attention that SVN r252862 was incomplete. It needed to also make this change, to completely deprecate WITH_BSDCONFIG.
|
#
254654 |
|
22-Aug-2013 |
ae |
Really disconnect pkg_install from the build.
Reported by: Mikhail Timofeyev
|
#
254273 |
|
13-Aug-2013 |
peter |
The iconv in libc did two things - implement the standard APIs, the GNU extensions and also tried to be link time compatible with ports libiconv. This splits that functionality and enables the parts that shouldn't interfere with the port by default.
WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc. WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, linker symbols and even a stub libiconv.so.3 that are good enough to be able to 'pkg delete -f libiconv' on a running system and reasonably expect it to work.
I have tortured many machines over the last few days to try and reduce the possibilities of foot-shooting as much as I can. I've successfully recompiled to enable and disable the libiconv_compat modes, ports that use libiconv alongside system iconv etc. If you don't enable the WITH_LIBICONV_COMPAT switch, they don't share symbol space.
This is an extension of behavior on other system. iconv(3) is a standard libc interface and libiconv port expects to be able to run alongside it on systems that have it.
Bumped osreldate.
|
#
253689 |
|
26-Jul-2013 |
pfg |
Make the BSD-licensed patch the default.
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
|
#
253546 |
|
22-Jul-2013 |
glebius |
Fix build.
|
#
253396 |
|
16-Jul-2013 |
andrew |
2 years, 10 months, 22 days after the projects/arm_eabi branch was created 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.
|
#
251886 |
|
18-Jun-2013 |
peter |
Introduce svnlite so that we can check out our source code again.
This is actually a fully functional build except: * All internal shared libraries are static linked to make sure there is no interference with ports (and to reduce build time). * It does not have the python/perl/etc plugin or API support. * By default, it installs as "svnlite" rather than "svn". * If WITH_SVN added in make.conf, you get "svn". * If WITHOUT_SVNLITE is in make.conf, this is completely disabled.
To be absolutely clear, this is not intended for any use other than checking out freebsd source and committing, like we once did with cvs.
It should be usable for small scale local repositories that don't need the python/perl plugin architecture.
|
#
251794 |
|
15-Jun-2013 |
eadler |
Remove CVS from the base system.
Discussed with: many Reviewed by: peter, zi Approved by: core
|
#
251512 |
|
07-Jun-2013 |
emaste |
Add a new knob WITH_DEBUG_FILES to control the building of standalone 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.
|
#
250699 |
|
16-May-2013 |
sjg |
Build bmake by default. If someone explicitly builds usr.bin/make while MK_BMAKE==yes, install it as 'fmake'.
Reviewed by: brooks
|
#
250659 |
|
15-May-2013 |
brooks |
Add support for an external cross compiler. The cross compiler is 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
|
#
250658 |
|
15-May-2013 |
brooks |
Add a new option WITHOUT_FORMAT_EXTENSIONS to disable flags related to checking our kernel printf extensions. This is useful to allow compilers without these extensions to build kernels.
Sponsored by: DARPA, AFRL
|
#
249959 |
|
26-Apr-2013 |
eadler |
Remove the WITH_IDEA option and build it unconditionally. 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
|
#
248856 |
|
28-Mar-2013 |
andrew |
Welcome clang as the default compiler on ARM.
Change the default compiler for little-endian ARM to clang to allow for more testing before 10.0 is released. As LLVM and clang currnetly lack support for big-endian ARM leave gcc as the default there.
This will also allow us to investigate moving to use the hard floating-point version of the ARM EABI on SoCs that include the Vector Floating Point unit. A version of this is included in all ARMv6 and ARMv7 SoCs we currently, and are likely to support.
Both the current ABI and the new EABI are supported by clang and it will be built correctly depending on which is selected by the user.
|
#
248751 |
|
26-Mar-2013 |
emaste |
Unconditionally include ${SRCCONF} if overridden
This avoids silently failing to include ${SRCCONF} specified by a make(1) invocation.
|
#
246833 |
|
15-Feb-2013 |
des |
The relationship between LDNS_UTILS and BIND_UTILS was inverted.
|
#
246827 |
|
15-Feb-2013 |
des |
Import LDNS and build it as an internal library.
|
#
246354 |
|
05-Feb-2013 |
andrew |
Build clang for little-endian arm by default. Due to size issues when built with gcc disable CLANG_FULL for now.
|
#
246259 |
|
02-Feb-2013 |
dim |
Pull in r170135 from upstream clang trunk:
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
|
#
246131 |
|
30-Jan-2013 |
dim |
Fix a problem introduced in r231057: in bsd.own.mk, move the test for whether clang is enabled to just after the last place where it could have been forced to "no".
MFC after: 3 days
|
#
246074 |
|
29-Jan-2013 |
gabor |
- Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) from 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
|
#
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.
|
#
245752 |
|
21-Jan-2013 |
brooks |
Replace all known uses of ln in the build process with appropriate install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK variables.
Sponsored by: DARPA, AFRL Reviewed by: ian, ray, rpaulo
|
#
245606 |
|
18-Jan-2013 |
eadler |
Add option to make pc-sysinstall optional
Approved by: cperciva
|
#
245539 |
|
17-Jan-2013 |
andrew |
Add compiler support for the ARM EABI.
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.
|
#
245527 |
|
16-Jan-2013 |
bz |
Add a src.conf(5) option to allow users to compile in the "NONE cipher", 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
|
#
245269 |
|
10-Jan-2013 |
des |
Remove all support for legacy NOFOO and NO_FOO build options.
|
#
245241 |
|
09-Jan-2013 |
brooks |
Always install our mtree as /usr/sbin/fmtree and link it as /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.
|
#
244527 |
|
21-Dec-2012 |
emaste |
Sort default option lists
|
#
243393 |
|
22-Nov-2012 |
sjg |
If .PARSEDIR is defined we have bmake, and CTFCONVERT_CMD can be empty.
PR: 172440 Approved by: marcel (mentor)
|
#
243392 |
|
22-Nov-2012 |
sjg |
INSTALL_AS_USER: output of id -un will never match 0 so use id -u and USER for BINOWN etc.
Approved by: marcel (mentor)
|
#
242624 |
|
05-Nov-2012 |
brooks |
After years of hard work by many FreeBSD and LLVM developers, make clang the default compiler on i386 and amd64 systems.
Special thanks to: dim, ed, rdivacky
|
#
241823 |
|
21-Oct-2012 |
marcel |
Add ATF to the build. This is may be a bit rought around the egdes, 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@
|
#
241629 |
|
17-Oct-2012 |
attilio |
Disconnect non-MPSAFE NWFS from the build in preparation for dropping GIANT from VFS. In addition, disconnect also netncp, which is a base requirement for NWFS.
In the possibility of a future maintenance of the code and later readd to the FreeBSD base, maybe we should think about a better location for netncp. I'm not entirely sure the / top location is actually right, however I will let network people to comment on that more specifically.
This is not targeted for MFC.
|
#
241513 |
|
13-Oct-2012 |
gabor |
- Remove WITH_GNU_SORT support
|
#
241279 |
|
06-Oct-2012 |
marcel |
Add bmake to the build and allow it to be installed as make(1) instead 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)
|
#
240966 |
|
26-Sep-2012 |
brooks |
Add a COMPILER_FEATURES variable that is set in bsd.compiler.mk.
When the compiler is clang add c++11 to COMPILER_FEATURES.
When the compiler supports c++11, default to building libc++. This will not impact the compliation of programs, but will make it easier for users with clang compiled systems to test libc++ by passing -stdlib=libc++ to their c++ compliations.
|
#
240404 |
|
12-Sep-2012 |
obrien |
Add MK_KDUMP.
|
#
238438 |
|
14-Jul-2012 |
dteske |
Import bsdconfig(8) as a replacement for the post-install abilities of 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)
|
#
238010 |
|
02-Jul-2012 |
glebius |
Fix build after r237997.
|
#
237629 |
|
27-Jun-2012 |
gabor |
- Switch to BSD sort as default sort. GNU sort will still be installed as "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
|
#
237612 |
|
26-Jun-2012 |
obrien |
Add -DWITH_INSTALL_AS_USER to the source build (naming matches the same functionality of The Ports Collection). This sets BINOWN, BINGRP, etc... to match current user. This this allows 'install', as used in 'make install', to succeed (assuming user has write permissions).
Submitted by: Simon J Gerraty <sjg@juniper.net> Discussed on: freebsd-arch
|
#
237165 |
|
16-Jun-2012 |
rmh |
In CTFCONVERT_CMD initialization, check that ${MAKE_VERSION} is defined before using it. Bootstrap make (as built by usr.bin/make/Makefile.dist) does not define this variable, but it needs to parse bsd.own.mk in order to build a complete make.
|
#
235655 |
|
19-May-2012 |
marcel |
Add build opton MK_LS_COLORS to control whether ls(1) supports colors (and thus needs to depend on libtermcap). Embedded systems may not want or need colors.
Obtained from: Juniper Networks, Inc.
|
#
235654 |
|
19-May-2012 |
marcel |
Add build option MK_ED_CRYPTO to control whether ed(1) is to have the ability to encrypt/decrypt files. Embedded systems can typically have OpenSSL, but not for ed(1) to use it.
Obtained from: Juniper Networks, Inc.
|
#
235537 |
|
17-May-2012 |
gber |
Import work done under project/nand (@235533) into head.
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
|
#
235268 |
|
11-May-2012 |
gabor |
- Hook up BSD sort to the build. By default, it will be installed as "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".
|
#
235133 |
|
07-May-2012 |
dim |
Revert r234656, and apply a proper fix for binutils PR 10474, which caused linking clang on 32-bit PowerPC to fail with "relocation truncated to fit: R_PPC_REL24" errors.
Original diffs (relicensed under GPLv2 with permission from author): http://sourceware.org/git/?p=binutils.git;a=commit;h=1fd262ff7d7ea5adf4894c6b960e092e7e43e3cd http://sourceware.org/git/?p=binutils.git;a=commit;h=053c49fbff58bd33bd0d12200ea61302f92caceb
Tested by: andreast MFC after: 1 week
|
#
234782 |
|
29-Apr-2012 |
kib |
Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the toolchain binaries as dynamically linked. Option is disabled by default.
Reviewed by: ru (previous version) MFC after: 2 weeks
|
#
234656 |
|
24-Apr-2012 |
dim |
After r234596, temporarily disable building clang on 32-bit PowerPC, until we are able to fix the binutils bug that makes linking clang fail with "relocation truncated to fit: R_PPC_REL24" errors. This should fix the tinderboxes for now.
|
#
232322 |
|
29-Feb-2012 |
dim |
Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that 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
|
#
231057 |
|
05-Feb-2012 |
dim |
Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default, 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
|
#
230972 |
|
03-Feb-2012 |
rmh |
Add MK_SOURCELESS build option. Setting MK_SOURCELESS to "no" will disable 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
|
#
229319 |
|
02-Jan-2012 |
rwatson |
Add WITHOUT_CAPSICUM src.conf(5) define, which can be used to compile out use of Capsicum by userspace applications.
MFC after: 3 weeks Sponsored by: Google, Inc.
|
#
228196 |
|
02-Dec-2011 |
fjoe |
Revert to conservative defaults. WITH_PROFILE is a default now.
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.
|
#
228158 |
|
30-Nov-2011 |
fjoe |
- CTF knob is now implemented using common scheme: MK_CTF=yes/no is 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
|
#
228147 |
|
29-Nov-2011 |
fjoe |
CTFCONVERT_CMD=... hack does not work sufficiently well in parallel builds.
Put a bandaid until make(1) is taught to ignore empty commands.
|
#
228143 |
|
29-Nov-2011 |
fjoe |
Turn off profiled libs build by default. Can be enabled back using WITH_PROFILE=yes in /etc/src.conf
|
#
228137 |
|
29-Nov-2011 |
fjoe |
- fix WITH_CTF when specified in /etc/src.conf [1] - 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]
|
#
228120 |
|
29-Nov-2011 |
fjoe |
Allow NO_FOO to override WITH_FOO that could be specified in /etc/src.conf.
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).
|
#
227987 |
|
26-Nov-2011 |
dim |
Fix breakage after r227983; lib/libcxxrt still got built, because it was 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
|
#
227983 |
|
25-Nov-2011 |
theraven |
Import libc++ / libcxxrt into base. Not build by default yet (use 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)
|
#
227775 |
|
20-Nov-2011 |
nwhitehorn |
Connect LLVM/clang to the build on powerpc64. After the binutils 2.17.50 import, it works without issue.
|
#
226564 |
|
20-Oct-2011 |
jchandra |
Build 'dtc' by default for MIPS.
The device tree compiler is needed during the kernel build to compile DTS files to DTB.
Reviewed by: stas
|
#
223596 |
|
27-Jun-2011 |
se |
Add macros to specify owner, group and mode of config files for installation.
Submitted by: Chris Rees (crees)
|
#
223209 |
|
17-Jun-2011 |
ed |
Add WITHOUT_UTMPX switch to the build system.
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.
|
#
222185 |
|
22-May-2011 |
imp |
Start to usher INSTALL_NODEBUG hack out the door. Add new 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.
|
#
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@
|
#
221728 |
|
10-May-2011 |
ru |
Removed unsupported options MK_BINUTILS and MK_GCC that were silently added in r218936.
|
#
221726 |
|
10-May-2011 |
ru |
Another fallout from r220359: MK_GNU_CPIO was mistakenly re-added after being removed in r205702. Remove it again.
|
#
221266 |
|
30-Apr-2011 |
bz |
Introduce two new options MK_INET and MK_INET_SUPPORT analogically 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
|
#
220755 |
|
17-Apr-2011 |
dim |
Remove libobjc and other Objective-C related components, as these are extremely outdated, and not used by anything in the base system.
Silence from: current@
|
#
220401 |
|
06-Apr-2011 |
uqs |
Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and 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.
|
#
220359 |
|
05-Apr-2011 |
imp |
Make clang default on x86 and powerpc, but not on other architectures. 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.
|
#
219820 |
|
21-Mar-2011 |
jeff |
- Merge in OFED 1.5.3 from projects/ofed/head
|
#
219019 |
|
24-Feb-2011 |
gabor |
Add the BSD-licensed Citrus iconv to the base system with default off 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
|
#
218936 |
|
22-Feb-2011 |
imp |
Back out 218933 and 281934. The easy cases still worked, but some hard cases broke in worse ways than the status quo. Back them out until that can be resolved.
|
#
218933 |
|
22-Feb-2011 |
imp |
Testing based on MACHINE_ARCH is problematic. Default to yes to build clang. A separate change will fix buildworld to default to yes or no based on the target.
|
#
218525 |
|
10-Feb-2011 |
keramida |
Add LIBEXECDIR to the bsd.own.mk vars, pointing to /usr/libexec by default
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
|
#
216662 |
|
22-Dec-2010 |
nwhitehorn |
Enable build of FDT components by default. dtc is a required build tool 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
|
#
213462 |
|
05-Oct-2010 |
gonzo |
- Introduce WITH_GPIO knob and disable building gpioctl by default. Most systems do not need it.
|
#
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)
|
#
210389 |
|
22-Jul-2010 |
gabor |
Add BSD grep to the base system and make it our default grep.
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
|
#
209126 |
|
13-Jun-2010 |
raj |
Do not set WITH_FDT by default based on arch, as this does not work for 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
|
#
208964 |
|
09-Jun-2010 |
rdivacky |
Hook clang into the build on i386/amd64/powerpc.
Approved by: ed (mentor)
|
#
208559 |
|
26-May-2010 |
raj |
Use MACHINE_ARCH instead of TARGET_ARCH.
Pointed out by: imp
|
#
208537 |
|
25-May-2010 |
raj |
Introduce a new build knob for Flattened Device Tree support.
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
|
#
202440 |
|
16-Jan-2010 |
antoine |
Unbreak world WITHOUT_NETGRAPH.
PR: 137487 Submitted by: bf (previous version) No objections: net@ MFC after: 2 weeks
|
#
193280 |
|
01-Jun-2009 |
dougb |
Add support for the build options that are currently in the port: WITH_BIND_IDN WITH_BIND_LARGE_FILE WITH_BIND_SIGCHASE WITH_BIND_XML
|
#
190751 |
|
05-Apr-2009 |
ed |
Remove if_ppp(4) and if_sl(4).
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.
|
#
186894 |
|
08-Jan-2009 |
bz |
Document that with r186854 we started using KMODOWN/KMODGRP for the kernel as well and no longer only for modules.
Reviewed by: kib, antoine MFC after: 26 days
|
#
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
|
#
179815 |
|
16-Jun-2008 |
dougb |
Properly alphabetize the BSD_CPIO option
|
#
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]
|
#
179315 |
|
26-May-2008 |
bz |
Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and 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
|
#
177714 |
|
29-Mar-2008 |
ru |
Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longer build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
|
#
175617 |
|
24-Jan-2008 |
ru |
Cosmetique: sort the list.
|
#
175412 |
|
17-Jan-2008 |
brueffer |
Remove remnants of old *_FORTRAN build flags.
Approved by: rwatson (mentor) MFC after: 3 days
|
#
174548 |
|
12-Dec-2007 |
ru |
- Fix setting of MK_GSSAPI option by bsd.own.mk; its value should 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.
|
#
174519 |
|
10-Dec-2007 |
dougb |
Hide the building and installation of libgssapi behind the 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
|
#
172832 |
|
20-Oct-2007 |
ru |
- Convert NO_INSTALLLIB option to a new syntax: makefiles should 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
|
#
172571 |
|
12-Oct-2007 |
ru |
Though it was possible to configure our BIND to build even when libpthread support isn't present, our maintainer felt it's an overkill, so instead enforce the BIND dependency on libpthread.
|
#
172500 |
|
09-Oct-2007 |
obrien |
Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidental treatment of 'LIBKSE' as an "old style" knob.
Submitted by: ru Approved by: re(kensmith)
|
#
172491 |
|
09-Oct-2007 |
obrien |
Repo copy libpthreads to libkse. This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith)
|
#
171050 |
|
26-Jun-2007 |
remko |
Make zoneinfo optional so that a filesystem upgrade/update does not overwrite possibly installed thirdparte zoneinfo databases (from ports for example).
PR: bin/104713 Submitted by: Mark Andrews <Mark_Andrews at isc dot org> (original patch rewritten by me to be more consistent with the new practise). Approved by: re (kensmith) Approved by: imp (mentor) Reviewed by: ru (some time ago already)
|
#
170644 |
|
13-Jun-2007 |
sepotvin |
Options spring cleanup: - Add and document the KVM and KVM_SUPPORT options that are needed for the ifmcstats(3) makefile - Garbage collect unused variables - Add missing inclusion of bsd.own.mk where needed
Approved by: kan (mentor) Reviewed by: ru
|
#
169724 |
|
19-May-2007 |
kan |
Introduce WITHOUT_SSP option that allows users to exclude LGPLed libssp from the build.
|
#
169524 |
|
13-May-2007 |
deischen |
Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it. Warning, after symbol versioning is enabled, going back is not easy (use WITHOUT_SYMVER at your own risk).
Change the default thread library to libthr.
There most likely still needs to be a version bump for at least the thread libraries. If necessary, this will happen later.
|
#
168409 |
|
06-Apr-2007 |
pjd |
Connect ZFS to 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)
|
#
164411 |
|
19-Nov-2006 |
ru |
Try harder to not leak src/ build stuff into ports/ environment by not exposing the MK_* variables that were designed for src/.
Requested by: many
|
#
163861 |
|
01-Nov-2006 |
jb |
Add a build option to support WITH_CDDL and WITHOUT_CDDL, defaulting to WITH_CDDL.
This option enables building code that is licensed under Sun's CDDL. The DTrace code is licensed that way, so by default it will get built unless the WITHOUT_CDDL option is used.
There is another build toggle, NO_CTF, which turns off execution of ctfconvert and ctfmerge in sys.mk, but this can't be implemented as WITH_/WITHOUT because bsd.own.mk isn't included in all Makefiles and sys.mk is included automatically by make.
|
#
162846 |
|
30-Sep-2006 |
ru |
Removed libc_r build support.
|
#
162210 |
|
11-Sep-2006 |
imp |
Add a knob for compiling the tree -DNDEBUG. This turns off all the asserts and makes binaries smaller. The binaries also become repeatable again. As it was, without this md5's of binaries built with different paths differed.
# Where do I document this?
|
#
158687 |
|
17-May-2006 |
phk |
Send the pcvt(4) driver off to retirement.
|
#
158115 |
|
28-Apr-2006 |
ume |
- Extend the nsswitch to support Services, Protocols and Rpc databases. - Make nsswitch support caching.
Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005
|
#
157378 |
|
01-Apr-2006 |
phk |
Have WITHOUT_BIND_MTREE imply WITHOUT_BIND_ETC
|
#
157115 |
|
25-Mar-2006 |
ru |
Revert last delta, it breaks cross-compiles.
|
#
157083 |
|
24-Mar-2006 |
ru |
Option MK_LIB32 only exists on amd64.
|
#
156936 |
|
21-Mar-2006 |
ru |
Folded WITH_HESIOD_SUPPORT into WITH_HESIOD.
|
#
156935 |
|
21-Mar-2006 |
ru |
Desupport the *_COLLECT2 no-op.
|
#
156905 |
|
20-Mar-2006 |
ru |
Extend coverage of the MK_IPX build option to the following:
- <netipx> headers [1] - IPX library (libipx) - IPX support in ifconfig(8) - IPXrouted(8) - new MK_NCP option
New MK_NCP build option controls:
- <netncp> and <fs/nwfs> headers - NCP library (libncp) - ncplist(1) and ncplogin(1) - mount_nwfs(8) - ncp and nwfs kernel modules
User knobs: WITHOUT_IPX, WITHOUT_IPX_SUPPORT, WITHOUT_NCP.
[1] <netsmb/netbios.h> unconditionally uses <netipx> headers so they are still installed. This needs to be dealt with.
|
#
156869 |
|
19-Mar-2006 |
ru |
Commit a forgotten part of NO_PROFILE/NO_LIB32 conversion.
|
#
156866 |
|
19-Mar-2006 |
phk |
Add default for MK_PROFILE
|
#
156836 |
|
18-Mar-2006 |
ru |
Replace .sinclude by .if exists()/.include/.endif so that older make(1)'s can handle it as well.
|
#
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)
|
#
144893 |
|
11-Apr-2005 |
harti |
Make sure the only thing that follows .endif or .else is a comment.
|
#
139761 |
|
06-Jan-2005 |
krion |
Remove trailing spaces.
|
#
125494 |
|
05-Feb-2004 |
ru |
Temporarily put STRIP back; bsd.port.mk still needs it.
|
#
125493 |
|
05-Feb-2004 |
ru |
Don't define STRIP in bsd.own.mk.
|
#
119057 |
|
17-Aug-2003 |
obrien |
Fix typo.
Submitted by: Ulrich Spoerlein <q@uni.de>
|
#
111853 |
|
03-Mar-2003 |
ru |
If we carry our MODULES_WITH_WORLD, we probably also do not want for installkernel to wipe them out later. So install them under /boot/modules if that is the case.
|
#
103436 |
|
16-Sep-2002 |
peter |
Initiate deorbit burn for the i386-only a.out related support. Moves are under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that.
Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now.
Tested on: i386 (extensively), alpha
|
#
100872 |
|
29-Jul-2002 |
ru |
Drop support for COPY, -c has been the default mode of install(1) for a long time now.
Approved by: bde
|
#
96462 |
|
12-May-2002 |
ru |
Added new bsd.incs.mk which handles installing of header files via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow.
Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1):
kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile
Replaced all `beforeinstall' targets for installing includes with the INCS stuff.
Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE.
Consistently use INCLUDEDIR instead of /usr/include.
gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff.
These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release".
|
#
94982 |
|
18-Apr-2002 |
ru |
In rare cases, we might want to include bsd.own.mk directly. So protect it from being included twice.
|
#
94940 |
|
17-Apr-2002 |
ru |
Don't include bsd.own.mk from sys.mk, this makes it impossible to use ``.if defined()'' inside bsd.own.mk to test for defines in individual makefiles. For example, setting DEBUG_FLAGS in Makefile didn't take the desired effect on the STRIP assignment.
Added bsd.init.mk (like in NetBSD) that handles the inclusion of ../Makefile.inc and bsd.own.mk from all bsd.*.mk files that "build something".
Back out bsd.own.mk,v 1.15: moved OBJFORMAT initialization back to sys.mk (several source tree makefiles want to check it early) and removed MACHINE_ARCH initialization (it's hard to see from looking at the commitlogs what the problem was at the time, but now it serves no purpose).
Prohibit the direct inclusion of bsd.man.mk and bsd.libnames.mk.
Protect bsd.obj.mk from repetitive inclusion. Prohibiting the direct inclusion of bsd.obj.mk might be a good idea too.
|
#
90627 |
|
13-Feb-2002 |
phantom |
Correct comment: mklocale(1) and NLS are absolutely independent
|
#
90626 |
|
13-Feb-2002 |
phantom |
Correct NLSOWN and NLSGRP values.
|
#
78174 |
|
13-Jun-2001 |
ru |
Games ownership cleanup.
Urged by: bde
|
#
65501 |
|
05-Sep-2000 |
obrien |
The kernel is now known as `kernel.ko' and it and its matching modules live in ``/boot/kernel/''.
|
#
61462 |
|
09-Jun-2000 |
ghelmer |
NONBINMODE -> NOBINMODE for NLSMODE.
PR: bin/8811 Submitted by: Naohiko Tsuji <yakisoba@osaka.interq.or.jp> Prompted by: Nathan Ahlstrom <nrahlstr@winternet.com>
|
#
55954 |
|
14-Jan-2000 |
rgrimes |
Introduce the new mk internal target _includeinstall and add the controlling knob defaults INCOWN, INCGRP, INCMODE, and INCDIR.
Reviewed by: marcel, and make world
|
#
53033 |
|
08-Nov-1999 |
phantom |
Fix comments: LKM -> KLD, /etc/objectformat -> /etc/objformat
|
#
50476 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
48204 |
|
24-Jun-1999 |
jmg |
add support to buildworld as a normal user: -DNOFSCHG disables installation of libs with flag schg GAMEGRP change the group with which games are installed
also organize the binary section into alphebetical order some what..
|
#
45961 |
|
23-Apr-1999 |
peter |
s/lkm(4)/kld(4)/
|
#
45870 |
|
20-Apr-1999 |
peter |
Default KMODDIR = /modules now, not /lkm
|
#
42366 |
|
07-Jan-1999 |
peter |
OBJFORMAT=elf in the absense of an override for both alpha and i386 by default now.
|
#
40526 |
|
19-Oct-1998 |
imp |
Default to aout only on i386. Before we defaulted to elf only on Alpha. This is a minor, but important distinction. Should be a no-op to the install base. If OBJFORMAT is set elsewhere, things work exactly as they did before.
|
#
39161 |
|
14-Sep-1998 |
obrien |
Change file ownership from bin.bin to root.wheel.
|
#
38713 |
|
31-Aug-1998 |
jb |
Oops, I missed the update from /etc/objectformat to /etc/objformat which caused a port-ELF upgrade to continue to build aout.
|
#
38656 |
|
30-Aug-1998 |
jb |
Remove BINFORMAT which is only set when building tools that need to have a default format.
Include /etc/objformat to get the installed object type if it exists and if OBJFORMAT is not already defined.
|
#
38413 |
|
17-Aug-1998 |
jb |
Add default OBJFORMAT so that the build process can test for this without having to run objformat to determine it.
|
#
38042 |
|
03-Aug-1998 |
bde |
Fixed building -current under 2.2.6 using `make world'. Moved some recently added definitions from sys.mk to bsd.own.mk. Include the src-relative bsd.own.mk in src/Makefile to pick up all new definitions. Don't check that MACHINE_ARCH is defined in src/Makefile, since it is (and should have been) guaranteed to be defined.
|
#
36397 |
|
26-May-1998 |
sos |
ELF preparation step 2:
Move a.out libraries to /usr/lib/aout to make space for ELF libs. Make rtld usr /usr/lib/aout as default library path. Make ldconfig reject /usr/lib as an a.out library path. Fix various Makefiles for LIBDIR!=/usr/lib breakage.
This will after a make world & reboot give a system that no longer uses /usr/lib/*, infact one could remove all the old libraries there, they are not used anymore.
We are getting close to an ELF make world, but I'll let this all settle for a week or two...
|
#
34678 |
|
19-Mar-1998 |
bde |
Use gzip's -n flag so that simple regression tests of `make world' work better.
|
#
32226 |
|
03-Jan-1998 |
steve |
Add a couple of ?='s missed in the previous commit.
Noticed by: Paul Allenby <pallenby@zibbi.mikom.csi.co.za>
|
#
32216 |
|
03-Jan-1998 |
wosch |
Add new variables:
LIBCOMPATDIR [/usr/lib/compat] LIBDATADIR [/usr/libdata] INCLUDEDIR [/usr/include] LIBEXECDIR [/usr/libexec]
|
#
23546 |
|
08-Mar-1997 |
wosch |
Add new variables COMPRESS_CMD and COMPRESS_EXT.
bsd.doc.mk: rename GZIPCMD to DCOMPRESS_CMD, add DCOMPRESS_EXT bsd.info.mk: rename GZIPCMD to ICOMPRESS_CMD, add ICOMPRESS_EXT set INFOTMPL to ${INFODIR}/dir-tmpl bsd.man.mk rename ZEXTENSION to MCOMPRESS_EXT, MCOMPRESS to MCOMPRESS_CMD
|
#
22988 |
|
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.
|
#
16663 |
|
24-Jun-1996 |
jkh |
Bring in my changes for removing the pestilent obj links (unless you really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
|
#
15903 |
|
25-May-1996 |
wosch |
Add some comments for variables and targets.
|
#
14968 |
|
31-Mar-1996 |
wosch |
add SHAREDIR?=, SHAREOWN?=, SHAREGRP?=, SHAREMODE?=, INFOOWN?=, INFOGRP?=, INFOMODE?=
set variables recursive, eg. change KMODOWN?=bin to KMODOWN?=${BINOWN}
from NetBSD: add NLSDIR?=, NLSGRP?=, NLSOWN?=, NLSMODE?=, BSDSRCDIR?=, BSDOBJDIR?=, NOBINMODE?=
|
#
14781 |
|
23-Mar-1996 |
wosch |
KMODDIR= -> KMODDIR?= add INFODIR
|
#
14573 |
|
11-Mar-1996 |
wosch |
add DOCDIR, DOCOWN, DOCGRP, DOCMODE for documents add LIBDIR, LINTLIBDIR, SHLIBDIR, LIBOWN, LIBGRP, LIBMODE for libs add KMODOWN, KMODGRP, KMODMODE new variable KMODDIR similar to BINDIR
|
#
2827 |
|
16-Sep-1994 |
jkh |
Add support for DEBUG_FLAGS. If you say something like:
make DEBUG_FLAGS=-g2
You can compile something for debugging at debugging level 2. It will also take care not to strip the resulting executable(s).
|
#
1845 |
|
04-Aug-1994 |
wollman |
Add a couple of files we created in 1.x.
|