| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Document CROSS_TOOLCHAIN, UNIVERSE_TOOLCHAIN, and USE_GCC_TOOLCHAINS.
Differential Revision: https://reviews.freebsd.org/D40778
(cherry picked from commit 21ef3591b6119f6972896e6c00cbf9ffb759646e)
|
|
|
|
|
|
| |
update target was removed in e290182bcf3895ca659dff111bca6a077c4708b1
(cherry picked from commit 1f7d11e636abf68d92b052fefe63b687d84c966a)
|
|
|
|
|
|
|
|
|
|
| |
PR: 282711
PR: 282737
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 75af1320f4b57fb568ec4f6df6171a0343953f4f)
(cherry picked from commit 02dc158215a69c6439e5a0809e5f9c79e62c5fd1)
(cherry picked from commit 54efa38e255184f7f7862294666b017acb093a08)
|
|
|
|
|
|
|
| |
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
Similar commit in main:
(cherry picked from commit fa9896e082a1)
|
|
|
|
|
|
|
|
| |
This reverts commit 830d566254d3f4e5204f849cb2d2c70d9afffb8f.
The content change was already cherry-picked, and 830d566254d3 served
only to introduce a typo.
Reported by: mhorne
|
|
|
|
|
|
|
|
|
|
| |
Replace them with references to Git.
PR: 254937
Reported by: m.bueker@berlin.de
Differential Revision: https://reviews.freebsd.org/D29949
(cherry picked from commit e444a4c677ee3e86038ba2179c4838f5f4b778cd)
|
|
|
|
|
|
|
|
|
|
|
| |
Replace them with references to Git.
PR: 254937
Reported by: m.bueker@berlin.de
Approved by: 0mp (mentor)
Differential Revision: https://reviews.freebsd.org/D29949
(cherry picked from commit e444a4c677ee3e86038ba2179c4838f5f4b778cd)
|
|
|
|
|
|
| |
Suggested by: jhb
(cherry picked from commit 805c3af898a8fed6a92caa069011c0ce7fa542ef)
|
|
|
|
|
|
|
| |
Reviewed by: 0mp, imp
Sponsored by: The FreeBSD Foundation
(cherry picked from commit e7a13643b17c3ec7357b26324986587dab810da5)
|
|
|
|
|
|
|
|
|
| |
emulators/kqemu-kmod no longer exists in the ports tree.
Reviewed by: imp, bcr
Differential Revision: https://reviews.freebsd.org/D30261
(cherry picked from commit 7fbc0c98a8efaef86d72759372ec7746d929302e)
|
|
|
|
|
|
|
|
| |
As suggested in D27598. This also supports MK_WERROR.clang=no and
MK_WERROR.gcc=no to support the existing NO_WERROR.<compiler> uses.
Reviewed By: brooks
Differential Revision: https://reviews.freebsd.org/D27601
|
|
|
|
|
|
|
|
|
| |
Reviewed by: arichardson
Sponsored by: Dell EMC
Differential Revision: https://reviews.freebsd.org/D27200
Notes:
svn path=/head/; revision=367910
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=367300
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR: 203863 (based on)
Submitted by: Russell Haley <russ dot haley at gmail dot com>
Reviewed by: bcr, imp
Approved by: imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D26343
Notes:
svn path=/head/; revision=365640
|
|
|
|
| |
Notes:
svn path=/head/; revision=363903
|
|
|
|
|
|
|
|
|
|
|
| |
ffs(7), growfs(7), and diskless(8).
Submitted by: Gordon Bergling gbergling_gmail.com
Approved by: bcr
Differential Revision: https://reviews.freebsd.org/D24271
Notes:
svn path=/head/; revision=360602
|
|
|
|
|
|
|
|
|
|
|
|
| |
Document the kernels and worlds targets. Document the TARGETS and EXTRA_TARGETS
variables.
Reviewed by: brooks, bdrewery, emaste (LGTM)
MFC After: 3 days
Differential Revision: https://reviews.freebsd.org/D24212
Notes:
svn path=/head/; revision=359496
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add 'WITHOUT_WORLDS' and 'WITHOUT_KERNELS' as aliases for the inconsistently
named MAKE_JUST_KERNELS and MAKE_JUST_WORLDS respectively. I always forget the
MAKE_ part (or is it BUILD_), and it's inconsistent with everything
else. Document the new things, but leave speculation of any eventual MAKE_JUST_*
deprecation out of the manuals and comments.
Reviewed by: brooks, bdrewery, emaste (LGTM)
MFC After: 3 days
Differential Revision: https://reviews.freebsd.org/D24212
Notes:
svn path=/head/; revision=359494
|
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=341425
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
make buildenv can be used for building for the same architecture as
the host (perhaps this is a degenerate case of cross-building).
TARGET and TARGET_ARCH do not need to be set in this case.
Reviewed by: bdrewery
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D10759
Notes:
svn path=/head/; revision=340329
|
|
|
|
|
|
|
|
|
| |
This controls what interpreter the default boot loader in
/boot/loader{,.efi} is, and which one we compile into userboot by
default.
Notes:
svn path=/head/; revision=338043
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=337906
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Makefile part in the PR is solved already differently, so this
part is skipped form the PR The man page change change is slightly
changed to adapt to the way the Makefile works and to the spirit
of what is intended here.
Submitted by: Juan Ramón Molina Menor <info@juanmolina.eu>
PR: 194910
Sponsored by: Essen Hackathon
Notes:
svn path=/head/; revision=337621
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A comment in Makefile.inc1 has long stated that LOCAL_DIRS are built last,
after the base system. Incremental improvements in parallel building over
the years have led to LOCAL_DIRS being built in parallel with base system
directories. This change allows the .WAIT directive to appear in LOCAL_DIRS
and LOCAL_LIB_DIRS lists to give the user some control over parallel
building of local additions.
Differential Revision: https://reviews.freebsd.org/D13622
Notes:
svn path=/head/; revision=327439
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NO_OBJ has a very specific meaning in sub-directories in that no object
directory will be made. If a user wanted to skip the 'make obj' phase then
passing -DNO_OBJ would break all sub-directories from building properly. Using
NO_OBJ internally also causes issue with NO_OBJ handling being added in
share/mk/bsd.init.mk soon.
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325374
|
|
|
|
|
|
|
|
|
|
| |
This will remove all build files for the source directory
when MK_UNIFIED_OBJDIR is enabled.
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325289
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes the build OBJDIR from the older style of /usr/obj/<srcdir> for
native builds, and /usr/obj/<target>.<target_arch>/<srcdir> for cross builds to
a new simpler format of /usr/obj/<srcdir>/<target>.<target_arch>. This
new format is used regardless of cross or native build. It allows
easier management of multiple source tree object directories.
The UNIFIED_OBJDIR option will be removed and its feature made permanent
for the 12.0 release.
Relnotes: yes (don't note UNIFIED_OBJDIR option since it will be removed)
Prior work: D3711 D874
Reviewed by: gjb, sjg
Discussed at: https://lists.freebsd.org/pipermail/freebsd-arch/2016-May/017805.html
Discussed with: emaste
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D12840
Notes:
svn path=/head/; revision=325288
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without this the user has to mess with 'make -f Makefile.inc1 ...' to figure
out where the files are installed in the OBJDIR and then they need to copy them
to where they really wanted them. Using DESTDIR may be problematic after
r325001 as well.
The files will be installed to DESTDIR/NXTP where NXTP defaults to /nxb-bin.
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325082
|
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325081
|
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325080
|
|
|
|
|
|
|
|
|
|
|
|
| |
to the example, change the architectures to something more common,
and improve description of defaults for TARGET.
Reviewed by: bdrewery, ngie, imp (older revisions)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D10654
Notes:
svn path=/head/; revision=318182
|
|
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=318123
|
|
|
|
|
|
|
|
|
| |
This is useful for cases where -DWORLDFAST is useful.
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=318122
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows for building the world against the already-created
host/sysroot environment. It is not overly useful outside of cases of
large-impact changes such as a testing a new compiler. It will
allow quickly getting back to an error in the target-phases of the
build where a new compiler is being used.
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=318106
|
|
|
|
|
|
|
|
|
|
| |
This is part of a larger effort for WITH_AUTO_OBJ and a WORLDFAST
option.
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=318105
|
|
|
|
|
|
|
|
|
|
|
| |
tests(7) should be grouped in the man section 7 group, not the section 8 group.
MFC after: 1 week
Reported by: make manlint
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=315788
|
|
|
|
|
|
|
| |
pc98 support was removed in r312910
Notes:
svn path=/head/; revision=312938
|
|
|
|
|
|
|
| |
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=303130
|
|
|
|
|
|
|
|
|
|
| |
PR: 209062
Submitted by: Shawn Debnath <sd@beastie.io>
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D6106
Notes:
svn path=/head/; revision=298759
|
|
|
|
|
|
|
|
|
|
|
|
| |
When using meta mode with filemon, the build is reliably incremental
safe. Bmake will use the meta files, along with filemon information,
to rebuild targets when their dependencies change, commands change,
or files they generate are missing.
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=298006
|
|
|
|
|
|
|
|
|
|
| |
Reviewed by: emaste, hselasky (partial), brooks (brief)
Discussed on: arch@
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D5742
Notes:
svn path=/head/; revision=297434
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows 'make analyze' or 'make OBJ.clang-analyzer' to run the
Clang static analyzer and present results on stdout.
Obtained from: NetBSD (CVS Rev. 1.3)
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D5449
Notes:
svn path=/head/; revision=296124
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace `make regress` (legacy test make target) and `make test` (incomplete
test make target added with the FreeBSD test suite) with make check as it's
consistent with other open source projects.
`make check` defaults to running tests from `.OBJDIR`, but can be overridden
with the `CHECKDIR` variable.
Add `make checkworld` target to simplify running the FreeBSD test suite from
`TESTSBASE` (i.e. the top-level tests directory), similar to buildworld.
Document `make check` and `make checkworld` in build(7).
Other minor changes:
- Rename intermediate file (`Kyuafile.auto`) to `Kyuafile` to simplify
`make check`.
- Remove terse warnings attached to `beforetest`/`aftertest`.
- Add kyua binary check to check target in suite.test.mk; error out if it's
not found
The MFC is [partly] contingent on other build related changes being MFCed.
Differential Revision: https://reviews.freebsd.org/D4406
MFC after: 2 months
X-MFC to: stable/10
Relnotes: yes
Reviewed by: bdrewery, Evan Cramer <eccramer@gmail.com>
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=295380
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now it can be used to effectively "build in a subdir". It will use the
'cross-tools', 'libraries', and 'includes' phases of 'buildworld' to properly
setup a WORLDTMP to use. Then it will build 'everything' only in the
listed SUBDIR_OVERRIDE directories. It is still required to list custom
library directories in LOCAL_LIB_DIRS if SUBDIR_OVERRIDE is something
that contains libraries outside of the normal area (such as
SUBDIR_OVERRIDE=contrib/ofed needing LOCAL_LIB_DIRS=contrib/ofed/usr.lib)
Without these changes, SUBDIR_OVERRIDE with buildworld was broken or hit
obscure failures due to missing libraries, includes, or cross compiler.
SUBDIR_OVERRIDE with 'make <target that is not buildworld>' will continue to
work as it did before although its usefulness is questionable.
With a fully populated WORLDTMP, building with a SUBDIR_OVERRIDE with
-DNO_CLEAN only takes a few minutes to start building the target
directories. This is still much better than building unneeded things via
'everything' when testing small subset changes. A BUILDFAST or
SKIPWORLDTMP might make sense for this as well.
- Add in '_worldtmp' as we still need to create WORLDTMP as later targets,
such as '_libraries' and '_includes' use it. This probably was avoiding
calling '_worldtmp' to not remove WORLDTMP for debugging purposes, but
-DNO_CLEAN can be used for that.
- '_legacy' must be included since '_build-tools' uses -legacy.
The SUBDIR_OVERRIDE change came in r95509, while -legacy being part
of build-tools came in r113136.
- 'bootstrap-tools' is still skipped as this feature is not for
upgrades.
- Fix buildworld combined with SUBDIR_OVERRIDE not installing all includes.
The original change for SUBDIR_OVERRIDE in r95509 kept '_includes'
and '_libraries' as building everything possible as the SUBDIR_OVERRIDE
could need anything from them. However in r96462 the real 'includes'
target was changed from manual sub-makes to just recursing 'includes'
on SUBDIR, thus not all includes have been installed into WORLDTMP since then
when combined with 'buildworld'.
This is not done unless calling 'make buildworld' as it would be
unexpected to have it go into all directories when doing 'make
SUBDIR_OVERRIDE=mydir includes'.
- Also need to build the cross-compiler so it is used with --sysroot.
If this is burdensome then telling the build to use the local compiler
as an external compiler (thus using a proper --sysroot to WORLDTMP) is
possible by setting CC=/usr/bin/cc, CXX=/usr/bin/c++, etc.
- Don't build the lib32 distribution with SUBDIR_OVERRIDE in buildworld
since it won't contain anything related to SUBDIR_OVERRIDE. Testing
of the lib32 build can be done with 'make build32'.
- Document these changes in build.7
Sponsored by: EMC / Isilon Storage Division
MFC after: 2 weeks
Notes:
svn path=/head/; revision=289725
|
|
|
|
|
|
|
| |
Pointyhat to: me
Notes:
svn path=/head/; revision=276673
|
|
|
|
|
|
|
|
|
|
| |
STRIP_CMD
MFC after: 3 days
Reported by: lev
Notes:
svn path=/head/; revision=276483
|
|
|
|
| |
Notes:
svn path=/head/; revision=276309
|
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Phabric: D1335
Reviewed by: brueffer
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=275908
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=267866
|
|
|
|
|
|
|
|
| |
PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>
Notes:
svn path=/head/; revision=267776
|