summaryrefslogtreecommitdiffstats
path: root/share/mk
Commit message (Collapse)AuthorAgeFilesLines
...
* Connect libexecinfo to the buildemaste2013-09-031-0/+1
| | | | Sponsored by: DARPA, AFRL
* Drop build option switch for the older GNU patch.pfg2013-08-291-1/+0
| | | | | | | | 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.
* Use .SHELL to tell bmake to use 'set -e' when running scriptssjg2013-08-271-6/+20
| | | | | | | | since most FreeBSD makefiles it is in effect. Move the other bmake compatability knobs out of the POSIX block. Reviewed by: obrien
* It was brought to my attention that SVN r252862 was incomplete. It neededdteske2013-08-271-1/+0
| | | | to also make this change, to completely deprecate WITH_BSDCONFIG.
* Really disconnect pkg_install from the build.ae2013-08-221-1/+1
| | | | Reported by: Mikhail Timofeyev
* The iconv in libc did two things - implement the standard APIs, the GNUpeter2013-08-131-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make the BSD-licensed patch the default.pfg2013-07-261-1/+1
| | | | | | | | | | | | | | | 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
* Fix build.glebius2013-07-221-1/+2
|
* 2 years, 10 months, 22 days after the projects/arm_eabi branch was createdandrew2013-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | 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.
* - Trim an unused and bogus Makefile for mount_smbfs.davide2013-06-281-0/+1
| | | | | | - Reconnect with some minor modifications, in particular now selsocket() internals are adapted to use sbintime units after recent'ish calloutng switch.
* Remove variable added by ru@ in r94940 that is no longer used by source or ↵eadler2013-06-231-4/+0
| | | | | | | | ports in share/mk/sys.mk PR: conf/155737 Reviewed by: ed (two years ago!) Exp-Run by: bdrewery
* Introduce svnlite so that we can check out our source code again.peter2013-06-181-1/+3
| | | | | | | | | | | | | | | | 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.
* Fix install from read-only obj dir when SHLIB_LDSCRIPT is used.jlh2013-06-161-2/+5
| | | | | Reported by: joeld Tested by: joeld
* Remove CVS from the base system.eadler2013-06-151-1/+0
| | | | | | Discussed with: many Reviewed by: peter, zi Approved by: core
* Flag recursive make targets with .MAKE (has no effect on fmake)sjg2013-06-141-4/+4
| | | | | | | make -n will still exectute such targets make -N will not. Reviewed by: obrien
* We cannot remove the _+_ trick, until old make is completely deprecated.sjg2013-06-141-1/+7
| | | | | | | | | But we don't want to set it to + for bmake since it breaks make -N which is used to supress the normal handling of targets marked with .MAKE (which seems broken in fmake and might be why _+_ was introduced). Add some comments to explain what's gong on. Reviewed by: obrien
* Add a new CPUTYPE supported by Clang 3.3 for AMD Jaguar processors (btver2).jkim2013-06-131-0/+4
|
* Add a new knob WITH_DEBUG_FILES to control the building of standaloneemaste2013-06-074-17/+98
| | | | | | | | | | | | | | | | 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.
* Override bmake's default MAKEFILE_PREFERENCEsjg2013-06-071-1/+1
|
* Rework the comment I initially wrote when SHLIB_LDSCRIPT was introduced.jlh2013-05-251-9/+14
| | | | | | The build system is really intricate and I had a hard time to remind the whole picture even when reading my own words. This one will hopefully be better.
* Build bmake by default.sjg2013-05-161-1/+1
| | | | | | | If someone explicitly builds usr.bin/make while MK_BMAKE==yes, install it as 'fmake'. Reviewed by: brooks
* Add support for an external cross compiler. The cross compiler isbrooks2013-05-151-0/+1
| | | | | | | | | | | | | | | | | | | | 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/+1
| | | | | | | checking our kernel printf extensions. This is useful to allow compilers without these extensions to build kernels. Sponsored by: DARPA, AFRL
* Remove the WITH_IDEA option and build it unconditionally.eadler2013-04-261-4/+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
* Pass more variables to bsd.prog.mk andsjg2013-04-221-2/+5
| | | | | | only append to already defined variables. Submitted by: Garrett Cooper
* Add the Clang specific -Wmissing-variable-declarations to WARNS=6.ed2013-04-191-0/+4
| | | | | | | | | | | | | This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@
* Tell bmake to use the FreeBSD preferred makefile preference list.sjg2013-04-031-0/+3
| | | | | PR: 177593 Reviewed by: obrien
* Welcome clang as the default compiler on ARM.andrew2013-03-281-2/+3
| | | | | | | | | | | | | | 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.
* Make sure that ${SHLIB_NAME}.debug and ${SHLIB_NAME}.symbols are alwaysmarkj2013-03-281-5/+3
| | | | | | | deleted by a "make clean" when DEBUG_FLAGS is set. Reported by: gleb Approved by: emaste (co-mentor)
* Always define and use PROGNAMEemaste2013-03-261-5/+1
| | | | | | This avoids having separate cases in the install rule for PROGNAME set and not set. This is a minor cleanup in advance of further support for standalone debug files.
* Unconditionally include ${SRCCONF} if overriddenemaste2013-03-261-1/+1
| | | | | This avoids silently failing to include ${SRCCONF} specified by a make(1) invocation.
* Make sure to set OBJS consistently in the cases where SRCS is and isn'tmarkj2013-03-261-1/+1
| | | | | | | | already defined. Setting it with "+=" makes it possible for other make scripts (e.g. bsd.dtrace.mk) to include additional object files in the linker arguments. Approved by: emaste (co-mentor)
* MFC @248093mm2013-03-091-0/+1
|\
| * Import libyaml as libbsdyml (private brand name)bapt2013-03-041-0/+1
| | | | | | | | | | | | | | LibYAML is a YAML 1.1 parser and emitter under MIT license which will soon be used by the pkg boostrap (usr.bin/pkg) and bhyve Reviewed by: roberto, antoine
* | WiP merge of libzfs_core (MFV r238590, r238592)mm2013-03-051-0/+1
|/ | | | not yet working, ioctl handling needs to be changed
* Provide slightly more helpful feedback when we can't figure out whatbrooks2013-03-011-1/+1
| | | | | | compiler the user is using. PR: misc/173914
* Fix parallel build race with DEBUG_FLAGSemaste2013-02-201-7/+9
| | | | | Reported by: Jan Beich on freebsd-current Tested by: markj
* Since clang 3.2 now has an option to suppress warnings about implicitlydim2013-02-161-1/+1
| | | | | | | promoted K&R parameters, remove the workarounds added for sendmail components in r228558. MFC after: 1 week
* fix leftover from an earlier experimentdes2013-02-151-1/+1
|
* The relationship between LDNS_UTILS and BIND_UTILS was inverted.des2013-02-151-1/+1
|
* Import LDNS and build it as an internal library.des2013-02-152-0/+13
|
* Build clang for little-endian arm by default. Due to size issues when builtandrew2013-02-051-1/+5
| | | | with gcc disable CLANG_FULL for now.
* Pull in r170135 from upstream clang trunk:dim2013-02-021-2/+3
| | | | | | | | | | | | | | | | 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
* Fix a problem introduced in r231057: in bsd.own.mk, move the test fordim2013-01-301-4/+1
| | | | | | | whether clang is enabled to just after the last place where it could have been forced to "no". MFC after: 3 days
* - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) fromgabor2013-01-291-0/+1
| | | | | | | | 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
* Don't declare an dependency on _maninstall when LIBRARIES_ONLY is set.brooks2013-01-241-1/+1
| | | | It doesn't exist.
* Import new (BSDL) device tree compiler. Now built by default, so that it can'ttheraven2013-01-221-0/+1
| | | | | | | | | | be used on the host system (and not installed on the device, if required). The GPL'd one is still available if there are any devices that need it (make universe passes with it, including kernels that use fdt, but there may be some out-of-tree ones). WITH_GPL_DTC can be used to select the old one, for now. Probably won't be MFC'd, but we'll remove the GPL'd version in head after the new one has had a lot more testing and ship it in 10.0.
* Replace all known uses of ln in the build process with appropriatebrooks2013-01-216-9/+18
| | | | | | | | install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK variables. Sponsored by: DARPA, AFRL Reviewed by: ian, ray, rpaulo
* Merge projects/bhyve to head.neel2013-01-191-0/+1
|\ | | | | | | | | | | | | | | | | 'bhyve' was developed by grehan@ and myself at NetApp (thanks!). Special thanks to Peter Snyder, Joe Caradonna and Michael Dexter for their support and encouragement. Obtained from: NetApp
| * IFC @ r245542neel2013-01-173-3/+4
| |\
OpenPOWER on IntegriCloud