summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
Commit message (Collapse)AuthorAgeFilesLines
* It's a bit odd, but "make update" in src/ can also update the ports/,ru2011-06-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | doc/, and now www/ trees, but only using the "cvsup" transport. When "make update" is run using a tree's makefile, it can also use "cvs" (except for www/) and "svn" (only src/). Clean up documentation and code regarding "make update": - Increase oddness by adding support for WWWSUPFILE and NO_WWWUPDATE to Makefile.inc1 (analogous to PORTSSUPFILE/NO_PORTSUPDATE and DOCSUPFILE/NO_DOCUPDATE; WWWSUPFILE already supported by www/Makefile). - Document all trees that support CVS_UPDATE. - Document all trees that support SUP_UPDATE. - Document SVN_UPDATE. - Document NO_WWWUPDATE. - make.conf(5) mistakenly said that *SUPFILE* had defaults. - Add an example entry for WWWSUPFILE.
* Implement WITH{,OUT}_{GCC,BINUTILS} to provide finer-grained controlimp2011-05-191-2/+10
| | | | | | | over building gcc and binutils. They default to true, unless MK_TOOLCHAIN is no. Reviewed by: ru@
* Clean up a loose end from the conversion from gnu ar/ranlib to the BSDimp2011-05-181-2/+4
| | | | | | | | one. Without this, we don't have ar or randlib in the tool path, leading to much pain for some users. This pain is exposed by the external toolchain enhancements that I'm working on. Submitted by: John Hein (ages ago, and dropped on the floor by me: sorry)
* Backout libinstall.a -> libpkg commit.flz2011-05-171-3/+2
| | | | Discussed with: erwin, brooks, bapt
* Disconnect sun4v architecture from the three.attilio2011-05-141-1/+1
| | | | | | | | | Some files keep the SUN4V tags as a code reference, for the future, if any rewamped sun4v support wants to be added again. Reviewed by: marius Tested by: sbruno Approved by: re
* + DTrace as a bootstrap tool is only needed on certain older systems.obrien2011-05-111-4/+10
| | | | | | | + Be more consistent between BMAKE and TMAKE. + Add NO_CTF to crosstools as is done for bootstrap and build tools. Reviewed by: marcel
* Correct the kernel config name printed out during install.obrien2011-05-051-1/+1
| | | | | PR: 156579 Submitted by: dhw
* Note which of the built kernels is being installed.obrien2011-04-221-1/+1
| | | | | PR: 156579 Submitted by: dhw
* Remove libobjc and other Objective-C related components, as these aredim2011-04-171-1/+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/+2
| | | | | | | | 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-2/+2
| | | | | | | | | | | | | | 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.
* Fix the delete-old/check-old targets to work with arbitrarily longuqs2011-04-011-10/+27
| | | | | | | | | | | OLD_FILES/OLD_DIRS/OLD_LIBS lists. If you specify enough WITHOUT_FOO flags, the argument list passed to the shell will be too long. Using .for/.endfor make(1) "loop" will make the parser of the Makefile explode. Hack around this with good old pipes. No objections: netchild Reported by: b.f.
* - Merge in OFED 1.5.3 from projects/ofed/headjeff2011-03-211-1/+8
|
* Improve the distributeworld target in Makefile.inc1 and update the releasenwhitehorn2011-03-021-0/+46
| | | | | | | | | | infrastructure to use it. make distributeworld can now be used without preparing its environment first and installs games into its distribution using the regular make distribute logic instead of post-processing with a script. Also add two new targets, packageworld and packagekernel, that tar up the results of distributeworld and distributekernel (also new), respectively.
* Use a suitable DIRPRFX for each invocation of make in the build32 andjhb2011-03-011-11/+13
| | | | | | | install32 targets so that the full path to each program or library is displayed in the make output. MFC after: 1 week
* Commit two more files missed in r219089.pjd2011-02-271-0/+2
| | | | MFC after: 1 month
* Add the BSD-licensed Citrus iconv to the base system with default offgabor2011-02-251-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Flesh out WITHOUT_GROFF support to DTRT.uqs2011-02-221-8/+13
| | | | | | | | | | | | A full featured groff is required during buildworld, so build it always and don't rely on it being present on the host system. vgrind(1) is tightly coupled to a roff processor and will not be built/installed when groff is disabled. Also much of the roff'ed documentation under share/doc will not be built/installed when WITHOUT_GROFF is defined. Reviewed by: ru (partial)
* Back out 218933 and 281934. The easy cases still worked, but someimp2011-02-221-16/+2
| | | | | hard cases broke in worse ways than the status quo. Back them out until that can be resolved.
* Select building CLANG based on ${TARGET_ARCH} and existence ofimp2011-02-221-2/+16
| | | | | WITH{,OUT}_CLANG. We default to yes on some archs, no on others, unless WITHOUT_CLANG or WITH_CLANG is defined respectively.
* Upgrade our copy of llvm/clang to r126079, from upstream's trunk.dim2011-02-201-1/+0
| | | | | This contains many improvements, primarily better C++ support, an integrated assembler for x86 and support for -pg.
* Hmmm, specifying TARGET and TARGET_ARCH in the environment doesn'timp2011-02-111-6/+6
| | | | | | | seem to work when building xdev anymore (most likely my changes lately moving the TARGET guessing stuff to Makefile from Makefile.inc1, but I really don't grok why). Fix make xdev by putting them on the command line. This will work either way while I try to figure it out.
* CPUTYPE is now a required define for calling Makefile.inc1 diretly, soimp2011-02-111-39/+45
| | | | | | | | make sure we define it for the xdev stuff. Move xdev stuff to be last again in this file. # xdev-build works now, but xdev-install appears to be broken though.
* You are now *REQUIRED* to pass both TARGET and TARGET_ARCH to anyimp2011-02-101-0/+11
| | | | | | | invocations of Makefile.inc1 (since that's supposed to be an internal interface for world and related targets). Document this with a .error message. For a transition period, support passing in just TARGET, but give a .warning for that case: I plan on removing it in 9.0...
* Move the architecture guessing from Makefile.inc1 to Makefile. Weimp2011-01-311-26/+0
| | | | | | | | | | need to do this because variables specified on the command line override those specified in the Makefile. This is why we also moved from TARGET to _TARGET in Makefile, and then set TARGET on the command line when we fork a submake with Makefile.inc1. This makes mips/mips work again, even without the workaround committed to lib/libc/Makefile.
* Retire TARGET_ABI.imp2011-01-071-2/+2
| | | | | | | | | | | | | | | 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.
* Do not lint code beyond necessity (with apologies to Wiliam of Ockham).markm2010-11-181-1/+1
| | | | | Don't lint externally maintained CDDL code, or relint the 32-bit libraries in amd64 mode.
* add / to the translation of TARGET_ARCH to TARGETimp2010-11-141-1/+1
|
* The fixes for mips/mips arm/arm compat hacks broke if TARGET orimp2010-11-131-2/+3
| | | | | | TARGET_ARCH wasn't defined. Fix it for that case. Submitted by: Garrett Cooper
* Add legacy names for mips:mips and arm with TARGET_BIG_ENDIAN, for the moment.imp2010-11-131-0/+14
|
* Replace libgcc.a by libcompiler_rt.a.ed2010-11-111-1/+2
| | | | | | | | | | | | | | | libcompiler_rt.a is a BSD licensed C language runtime, which implements many routines which are linked into binaries on architectures where certain functionality is missing (e.g. 64 bits mul/div on i386). Unfortunately, libcompiler_rt cannot replace libgcc entirely. Certain features, such as an unwinder for exception handling, are missing. That's why only libgcc.a is replaced for now, because this one does seem to be complete. Tested by: rene (amd64), nwhitehorn (powerpc), droso (i386 exprun) and many others. Thanks! Obtained from: user/ed/compiler-rt
* Merge from tbemd:imp2010-11-091-3/+3
| | | | | | o TARGET=mips --> little endian 32-bit mips build o mipsel and mipseb TARGET_ARCH are both mips TARGETs o Add some more architecture combinations
* Check TARGET_ARCH as well as TARGET to determine if we are doing a crossnwhitehorn2010-09-081-1/+1
| | | | | | | build. This is necessary to be able to cross-build 32-bit PowerPC from a 64-bit PowerPC host. Reviewed by: imp
* Repair some build breakage introduced in r211725 and garbage collect somenwhitehorn2010-08-281-2/+2
| | | | code made obsolete in the same commit.
* The order was correct before. I'd talked to Nathan about this before,imp2010-08-241-4/+2
| | | | | | | so this must have been mismerged into tbemd before I merged it back to head. This unbreaks this on powerpc64 Submitted by: nathanw@
* MFtbemd:imp2010-08-231-2/+2
| | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
* Minor tweak from tbemdimp2010-08-231-1/+0
|
* Don't link drti.o with libelf_pic.a. This means that all software withrpaulo2010-08-211-1/+1
| | | | | | | userland SDT probes must be linked with libelf explicitly. Requested by: kib Sponsored by: The FreeBSD Foundation
* Add clang to the cross-tools build stage.rpaulo2010-08-211-0/+7
| | | | Submitted by: Dimitry Andric <dimitry at andric.com>
* Add libelf to the prebuild libs.rpaulo2010-08-211-1/+1
| | | | | | This is needed for the DTrace instrumentation object. Sponsored by: The FreeBSD Foundation
* Revert r211436; it was a good idea, but not fully thought out.des2010-08-181-9/+2
|
* Split kernel stage 3.2 (build everything) into 3.2 (build the kernel)des2010-08-171-2/+9
| | | | | | | and 3.3 (build the modules). IMHO, this makes it a little easier to track the progress of a kernel build using whereintheworld et al. MFC after: 3 weeks
* Relax FDT_DTS_FILE validation (and unbreak world build).raj2010-07-151-2/+0
| | | | Pointed out by: kib
* Fix FDT_DTS_FILE parsing to properly retrieve its value. This unbreaks theraj2010-07-151-1/+5
| | | | | | | 'builddtb' target. Make the processing more robust against non-existent kernel config files (pointed out by imp@).
* Connect powerpc64 to the build. It is not presently part of make universe,nwhitehorn2010-07-131-16/+37
| | | | | | which will be added soon. Reviewed by: imp
* Merge from tbemd:imp2010-06-241-3/+3
| | | | | | | use MACHINE_CPUARCH instead of MACHINE_CPU since the sources for the CSU is based on MACHINE_CPUARCH Reviewed by: arch@ (twice)
* Merge from tbemd:imp2010-06-241-1/+1
| | | | | | | | change the name of the object tree from ${TARGET} to ${TARGET}.${TARGET_ARCH} so we can do both big and little endian builds in the same tree. Reviewed by: arch@ (twice)
* Merge from TBEMD:imp2010-06-241-3/+1
| | | | | | | | Rather than having arch specific code in Makefile.inc1, generalize so that we can control the settings of different options on a per architecutre basis. Reviewed by: arch@ (twice)
* Use awk alone for extracting FDT_DTS_FILE instead of grep/cut, which israj2010-06-161-2/+2
| | | | | | simpler and more robust. Submitted by: Andrzej Tobola
* Connect FDT infrastructure to the build system.raj2010-06-131-0/+41
| | | | | Reviewed by: imp Sponsored by: The FreeBSD Foundation
OpenPOWER on IntegriCloud