#
e2c0e292 |
| 16-Jul-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
ea6c594c |
| 15-Jul-2020 |
Alex Richardson <arichardson@FreeBSD.org> |
Fix BUILD_WITH_STRICT_TMPPATH builds
We need dd in $PATH for some of the MK_BOOT code and some tests also use it.
Obtained from: CheriBSD
|
#
94a82666 |
| 22-Jun-2020 |
Ryan Moeller <freqlabs@FreeBSD.org> |
flua: add ucl library
libucl comes with a Lua library binding. Build it into flua.
This lets us parse/generate config files in the various formats supported by libucl with flua. For example, the
flua: add ucl library
libucl comes with a Lua library binding. Build it into flua.
This lets us parse/generate config files in the various formats supported by libucl with flua. For example, the following script will detect the format of an object written to stdin as one of UCL config, JSON, or YAML and write it to stdout as pretty-printed JSON:
local ucl = require('ucl') local parser = ucl.parser() parser:parse_string(io.read('*a')) local obj = parser:get_object() print(ucl.to_format(obj, 'json'))
Reviewed by: kevans, pstef Approved by: mmacy (mentor) Relnotes: yes Differential Revision: https://reviews.freebsd.org/D25009
show more ...
|
#
e7fd9688 |
| 14-Jun-2020 |
Toomas Soome <tsoome@FreeBSD.org> |
Move font related data structured to sys/font.c and update vtfontcvt
Prepare support to be able to handle font data in loader, consolidate data structures to sys/font.h and update vtfontcvt.
vtfont
Move font related data structured to sys/font.c and update vtfontcvt
Prepare support to be able to handle font data in loader, consolidate data structures to sys/font.h and update vtfontcvt.
vtfontcvt update is about to output set of glyphs in form of C source, the implementation does allow to output compressed or uncompressed font bitmaps.
Reviewed by: bcr Differential Revision: https://reviews.freebsd.org/D24189
show more ...
|
Revision tags: release/11.4.0 |
|
#
773bec08 |
| 27-Jan-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r357119 through r357178.
|
#
162ae9c8 |
| 27-Jan-2020 |
Alex Richardson <arichardson@FreeBSD.org> |
Allow bootstrapping makefs on older FreeBSD hosts and Linux/macOS
In order to do so we need to install the msdosfs headers to the bootstrap sysroot and avoid includes of kernel headers that may not
Allow bootstrapping makefs on older FreeBSD hosts and Linux/macOS
In order to do so we need to install the msdosfs headers to the bootstrap sysroot and avoid includes of kernel headers that may not exist on every host (e.g. sys/lockmgr.h). This change should allow bootstrapping of makefs on FreeBSD 11+ as well as Linux and macOS.
We also have to avoid using the IO_SYNC macro since that may not be available. In makefs it is only used to switch between calling bwrite() and bdwrite() which both call the same function. Therefore we can simply always call bwrite().
For our CheriBSD builds we always bootstrap makefs by setting LOCAL_XTOOL_DIRS='lib/libnetbsd usr.sbin/makefs' and use the makefs binary from the build tree to create a bootable disk image.
Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D23201
show more ...
|
#
4f47920e |
| 12-Jan-2020 |
Kyle Evans <kevans@FreeBSD.org> |
Makefile.inc1: push /usr/libexec into the BPATH/TMPPATH
${WORLDTMP}/legacy/usr/libexec will only have libexec/ bits that we've pushed as bootstrap tools, so this is generally safe to include prior t
Makefile.inc1: push /usr/libexec into the BPATH/TMPPATH
${WORLDTMP}/legacy/usr/libexec will only have libexec/ bits that we've pushed as bootstrap tools, so this is generally safe to include prior to PATH. The following are the ramifications of this change:
- BPATH addition gets us at least bootstrap flua in WMAKEENV path for buildenv, for those earlier systems where it's bootstrapped still
- Reworked the sysent target to just set PATH and let it get worked out in src.lua.mk or individual sysent makefiles -- this gives us back the ability to overwrite LUA_CMD and use a different/external lua for these targets. sysent can also now work cleanly in buildenv.
- tools/build/Makefile will now symlink the host flua into build's host tools so that the above can work without needing to add the host's /usr/libexec explicitly into TMPPATH.
Reviewed by: arichardson, brooks, imp (all slightly earlier version) Differential Revision: https://reviews.freebsd.org/D22464
show more ...
|
#
f22a5921 |
| 19-Nov-2019 |
Kyle Evans <kevans@FreeBSD.org> |
Convert in-tree sysent targets to use new makesyscalls.lua
flua is bootstrapped as part of the build for those on older versions/revisions that don't yet have flua installed. Once upgraded past r354
Convert in-tree sysent targets to use new makesyscalls.lua
flua is bootstrapped as part of the build for those on older versions/revisions that don't yet have flua installed. Once upgraded past r354833, "make sysent" will again naturally work as expected.
Reviewed by: brooks Differential Revision: https://reviews.freebsd.org/D21894
show more ...
|
Revision tags: release/12.1.0 |
|
#
17adf17b |
| 28-Oct-2019 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Building head on stable/11 requires libzstd
Add lib/libzstd to _elftoolchain_libs
tools/build/Makefile needs to create the install dir for libzstd Since this would make the line too long, rework to
Building head on stable/11 requires libzstd
Add lib/libzstd to _elftoolchain_libs
tools/build/Makefile needs to create the install dir for libzstd Since this would make the line too long, rework to use a list in one per line format (easier to add in future) and dispense with the .for loop
Reviewed by: emaste bapt Differential Revision: https://reviews.freebsd.org/D220134
show more ...
|
#
fbe12f20 |
| 01-Aug-2019 |
Mark Johnston <markj@FreeBSD.org> |
Include caph_rights_limit() in libegacy if need be.
Reported by: jenkins Sponsored by: The FreeBSD Foundation
|
Revision tags: release/11.3.0 |
|
#
e532a999 |
| 20-Jun-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @349234
Sponsored by: The FreeBSD Foundation
|
#
c36f4276 |
| 15-Jun-2019 |
Marius Strobl <marius@FreeBSD.org> |
Add <sys/dnv.h> required for libnv to SYSINCS, too, apparently missed in r336335.
|
#
7648bc9f |
| 13-May-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @347527
Sponsored by: The FreeBSD Foundation
|
#
6389bef8 |
| 18-Apr-2019 |
Cy Schubert <cy@FreeBSD.org> |
As an interim measure until a more permanent solution is implemented workaround the following error:
/usr/src/contrib/elftoolchain/strings/strings.c:198:55: error: use of undeclared identifier 'FA_O
As an interim measure until a more permanent solution is implemented workaround the following error:
/usr/src/contrib/elftoolchain/strings/strings.c:198:55: error: use of undeclared identifier 'FA_OPEN' fa = fileargs_init(argc, argv, O_RDONLY, 0, &rights, FA_OPEN);
Reported by: O. Hartmann <ohartmann@walstatt.org> Reported by: Michael Butler <imb@protected-networks.net> Reported by: gjb@ & cy@ (implicit) Reviewed by: emaste@ Noted by: rgrimes@
show more ...
|
#
9a696dc6 |
| 04-Apr-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead@r345880
|
#
d5f4dd1b |
| 04-Apr-2019 |
Mariusz Zaborski <oshogbo@FreeBSD.org> |
Add cap_fileargs.h to -legacy if needed.
Reviewed by: arichardson Differential Revision: https://reviews.freebsd.org/D19685
|
Revision tags: release/12.0.0 |
|
#
3d5db455 |
| 24-Nov-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340427 through r340868.
|
#
3b7e9bfe |
| 19-Nov-2018 |
Alex Richardson <arichardson@FreeBSD.org> |
Add capsicum_helpers.h to -legacy if needed
This fixes bootstrap of capsicumized strings on FreeBSD 11.
Reviewed By: oshogbo, bdrewery Differential Revision: https://reviews.freebsd.org/D17971
|
#
c06e7b66 |
| 07-Nov-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340126 through r340212.
|
#
b25c7179 |
| 05-Nov-2018 |
Alex Richardson <arichardson@FreeBSD.org> |
Fix -DNO_CLEAN build after r340157
Approved By: jhb (mentor)
|
#
8f62bca4 |
| 05-Nov-2018 |
Alex Richardson <arichardson@FreeBSD.org> |
Allow building world without inheriting $PATH
Inheriting $PATH during the build phase can cause the build to fail when compiling on a different system due to missing build tools or incompatible vers
Allow building world without inheriting $PATH
Inheriting $PATH during the build phase can cause the build to fail when compiling on a different system due to missing build tools or incompatible versions somewhere in $PATH. This has cause build failures for us before due to the jenkins slaves still running FreeBSD 10. Listing the tools we depend on explicitly instead of just using whatever happens to be in $PATH allows us to check that we don't accidentally add a new build dependency.
All tools that do no need to be bootstrapped will now be symlinked to ${WORLDTMP}/legacy/bin and during the build phase $PATH will only contain ${WORLDTMP}. There is also a new variable "BOOTSTRAP_ALL_TOOLS" which can be set to force compiling almost all bootstrap tools instead of symlinking them. This will not bootstrap tools such as cp,mv, etc. since they may be used during the build and for those we should really only be using POSIX compatible options.
Furthermore, this change is required in order to be able to build on non-FreeBSD hosts. While the same binaries may exist on Linux/MacOS they often accept different flags or produce incompatible output.
Approved By: brooks (mentor) Differential Revision: https://reviews.freebsd.org/D16815
show more ...
|
#
7847e041 |
| 24-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r338026 through r338297, and resolve conflicts.
|
#
4acc8a67 |
| 20-Aug-2018 |
Alex Richardson <arichardson@FreeBSD.org> |
Don't create directories in ${WORLDTMP}/legacy with mtree
This has two advantages: 1) We no longer create lots of empty directories that are not needed 2) This is a requirement for building on non-F
Don't create directories in ${WORLDTMP}/legacy with mtree
This has two advantages: 1) We no longer create lots of empty directories that are not needed 2) This is a requirement for building on non-FreeBSD hosts since mtree will only exist after the bootstrap-tools phase there.
Aproved By: jhb (mentor) Differential Revision: https://reviews.freebsd.org/D16773
show more ...
|
#
8d14ced6 |
| 16-Jul-2018 |
Alex Richardson <arichardson@FreeBSD.org> |
Fix buildworld on FreeBSD 10
Since r336126 we depend on explicit_bzero() for the libmd bootstrap. Add it to -legacy if it is not found in /usr/include/strings.h.
Reviewed By: ian Approved By: brook
Fix buildworld on FreeBSD 10
Since r336126 we depend on explicit_bzero() for the libmd bootstrap. Add it to -legacy if it is not found in /usr/include/strings.h.
Reviewed By: ian Approved By: brooks (mentor) Differential Revision: https://reviews.freebsd.org/D16245
show more ...
|
#
63889bbd |
| 16-Jul-2018 |
Alex Richardson <arichardson@FreeBSD.org> |
No longer install sys/nv.h and sys/cnv.h in lib/libnv/Makefile
Use tools/build/Makefile to install the headers into ${WORLDTMP}/legacy instead. Compared to r336026 this has the minor advantage that
No longer install sys/nv.h and sys/cnv.h in lib/libnv/Makefile
Use tools/build/Makefile to install the headers into ${WORLDTMP}/legacy instead. Compared to r336026 this has the minor advantage that it avoids unncessary header installation when building the non-bootstrap libnv.
Reviewed By: bdrewery, kevans Approved By: brooks (mentor) Differential Revision: https://reviews.freebsd.org/D16187
show more ...
|