summaryrefslogtreecommitdiffstats
path: root/share/mk
Commit message (Collapse)AuthorAgeFilesLines
* Backout libinstall.a -> libpkg commit.flz2011-05-171-1/+0
| | | | Discussed with: erwin, brooks, bapt
* 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 support for the Intel C Compiler from the build infrastructure.dim2011-04-194-49/+8
| | | | | | This support has not worked for several years, and is not likely to work again, unless Intel decides to release a native FreeBSD version of their compiler. ;)
* Remove libobjc and other Objective-C related components, as these aredim2011-04-175-32/+1
| | | | | | 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 ssse3 capability for CPUTYPE=core2 to MACHINE_CPU in bsd.cpu.mkmm2011-03-141-2/+8
| | | | MFC after: 2 weeks
* Add AMD Geode CPU type to bsd.cpu.mk and examples/etc/make.confmm2011-03-071-3/+3
| | | | | | | For CPUTYPE=core2 use -march=core2 PR: gnu/155308 MFC after: 2 weeks
* To be able to use printf extensions we need to turn off gcc format checking.pjd2011-03-071-0/+3
| | | | | | | | Following the convention of NO_WERROR and NO_WCAST_ALIGN add NO_WFORMAT, which, when defined in Makefile, turns off compile-time format checking (by adding -Wno-format), but still allows to use high WARNS level. MFC after: 2 weeks
* 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 opteron-sse3, athlon64-sse3 and k8-sse3 cpu types to bsd.cpu.mk.mm2011-02-201-2/+9
| | | | | | | | | - add "sse3" to MACHINE_CPU for the new cpu types - for i386, default to CPUTYPE=prescott for the new cpu types PR: gnu/154906 Discussed with: kib, kan, dim MFC after: 2 weeks
* 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
* Update dialog to version 20100428. This changes the license under whichnwhitehorn2011-01-121-0/+1
| | | | | | | | | | | | | dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new features and a new and better libdialog API. The existing libdialog will be kept temporarily as libodialog for compatibility purposes until sade, sysinstall and tzsetup have been either updated or replaced. __FreeBSD_version is now 900030. Discussed on: -current Approved by: core Obtained from: http://invisible-island.net/dialog
* Retire TARGET_ABI.imp2011-01-072-3/+3
| | | | | | | | | | | | | | | Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces MACHINE_ARCH=mipse[lb] TARGET_ABI=n64. MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated this much, but implemented this to preserve as much of the TARGET_ABI functionality that I could. Since its presence doesn't affect the working cases, I've kept it in for now. Added mips64e[lb] to make universe, so more kernels build. And I think this (finally) closes the curtain on the tbemd tree.
* Introduce make variable ACFLAGS used to supply additional flags tokib2011-01-072-6/+8
| | | | cc driver when compiling assembler source file that is preprocessed.
* - Add CPUTYPE support for sparc64. The net result is that it's now possiblemarius2010-12-301-2/+28
| | | | | | | | | to let the compiler optimize for the famility of UltraSPARC-III CPUs as the default already was to optimize for UltraSPARC-I/II and generating generic 64-bit V9 is mainly for reference purposes. At least for SPARC64-V CPUs code optimized for UltraSPARC-I/II still is the most performant one. Thanks go to Michael Moll for testing SPARC64-V. - Move a booke MACHINE_CPU bit into the right section.
* 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
* Re-enable generating links.adrian2010-11-161-11/+8
|
* .. and then notice that the list of mk files is ordered, and update to suit.adrian2010-11-161-2/+2
|
* Add in forgotten install rule.adrian2010-11-161-1/+1
|
* This case is actually powerpc specific, and doesn't apply to powerpc64.imp2010-11-141-1/+1
| | | | Submitted by: nathanw@
* Break out the rules which generate crunchgen'ed binaries into a separateadrian2010-11-131-0/+160
| | | | | | | | | | | | | | | | .mk file so they can be reused. Introduce a new option, CRUNCH_BUILDTOOLS, which lists the binaries that require tools built in the local architecture. sh and csh both require this. It was previously hardcoded in rescue/rescue/Makefile . Introduce a new option, CRUNCH_SHLIBS, which lists the shared libraries to link against. These override the static libraries listed in CRUNCH_LIBS. Some build environments may wish to use a handful of shared libraries (eg libc.so) so other small, dynamic binaries can be run in the environment. Remove the now-shared code from rescue/rescue/Makefile and introduce the CRUNCH_BUILDTOOLS option for the above shells.
* Fix typo, and re-wrap paragraph.dim2010-11-111-5/+5
|
* Complete the integration of tbemd branch into head.imp2010-11-102-11/+5
| | | | | | | | | | | | | | | | TARGET_BIG_ENDIAN is now completely dead, except where it was originally supposed to be used (internally in the toolchain building). TARGET_ARCH has changed in three cases: (1) Little endian mips has changed to mipsel. (2) Big endian mips has changed to mipseb. (3) Big endian arm has changed to armeb. Some additional changes are needed to make 'make universe' work on arm and mips after this change, so those are commented out for now. UPDATING information will be forthcoming. Any remaining rough edges will be hammered out in -current.
* - Introduce WITH_GPIO knob and disable building gpioctlgonzo2010-10-051-0/+1
| | | | by default. Most systems do not need it.
* Prefer MACHINE_CPUARCH to MACHINE_ARCH unless there's a good reason...imp2010-09-131-18/+18
|
* Add a comment describing where to include bsd.dtrace.mk.rpaulo2010-09-111-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Fix bugs introduced in the previous rev:rpaulo2010-09-101-5/+9
| | | | | | | * add a phatom target for the DTRACEOBJS * when invoking DTrace, don't add DTRACEOBJS to the command line. Sponsored by: The FreeBSD Foundation
* Fix typo in previous commit.rpaulo2010-09-101-1/+1
|
* Add bsd.dtrace.mk. This allows userland programs and libraries torpaulo2010-09-102-1/+57
| | | | | | | | | define USDT probes on a provider.d file and then use this new make infrastructure to build the corresponding header file and object file. This will only take effect when the user defines WITH_DTRACE when building. Sponsored by: The FreeBSD Foundation
* Check the existence of a 'beforelinking' target and make the resultingrpaulo2010-09-102-1/+13
| | | | | | | program or library depend on that before doing the final linking. This will be needed by DTrace. Sponsored by: The FreeBSD Foundation
* Add the DTRACE variable that points to the executable.rpaulo2010-09-101-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Now that we default to the proper endian, we don't need these for mipsimp2010-08-281-7/+0
|
* MFtbemd:imp2010-08-232-3/+4
| | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
* - 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)
* Remove LIBELF_PIC.rpaulo2010-08-211-1/+0
| | | | Sponsored by: The FreeBSD Foundation
* Add the definition of LIBELF_PIC.rpaulo2010-08-211-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* For every instance of '.if ${CC} == "foo"' or '.if ${CC} != "foo"' inrpaulo2010-08-173-5/+5
| | | | | | | | | | | | | Makefiles or *.mk files, use ${CC:T:Mfoo} instead, so only the basename of the compiler command (excluding any arguments) is considered. This allows you to use, for example, CC="/nondefault/path/clang -xxx", and still have the various tests in bsd.*.mk identify your compiler as clang correctly. ICC if cases were also changed. Submitted by: Dimitry Andric <dimitry at andric.com>
* Make sure any -U CFLAGS are not filtered out when calling mkdep, asrpaulo2010-08-171-6/+6
| | | | | | | | gnu/usr.bin/cc/libiberty first defines the PREFIX macro, and then undefines it again, so mkdep with clang complains. Submitted by: Dimitry Andric <dimitry at andric.com> Reviewed by: ru
* Fix buildworld -DNO_CLEAN when using with Perforce, which marks files aswill2010-08-121-2/+2
| | | | | | | read-only by default, meaning files copied can't be overwritten next time. Reviewed by: imp Approved by: ken (mentor)
* Add LIBRTLD_DB.rpaulo2010-07-311-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Add missing escape characthers.rpaulo2010-07-302-2/+2
| | | | Pointed out by: b.f.
* Fix previous commit: I forgot to include parenthesis.rpaulo2010-07-303-66/+66
| | | | Submitted by: anonymous
* When building WITH_CTF=1, print the ctf executable that's going to berpaulo2010-07-293-33/+99
| | | | | | | run. This makes the 'ctfconvert' and 'ctfmerge' programs show up during a build when compiling a kernel, a library or a program. Sponsored by: The FreeBSD Foundation
* 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
OpenPOWER on IntegriCloud