#
8f2848ea |
| 10-Nov-2023 |
Kyle Evans <kevans@FreeBSD.org> |
crunchgen: fix "keep" for an ELF world, break it out
"keep" currently adds a leading underscore, which hasn't been useful or accurate since a.out days. Preserve the symbol name as it's given rather
crunchgen: fix "keep" for an ELF world, break it out
"keep" currently adds a leading underscore, which hasn't been useful or accurate since a.out days. Preserve the symbol name as it's given rather than mangle it to match ELF-style symbol names.
This was partially fixed back in 6cd35234a092d ("Assume ELF-style symbol names now.") for crunchgen, but the keeplist wasn't changed to match it.
While we're here, break it out to bsd.crunchgen.mk for later use in bsdbox.
Reviewed by: adrian, imp Differential Revision: https://reviews.freebsd.org/D42499
show more ...
|
Revision tags: release/14.0.0 |
|
#
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
bbec1387 |
| 24-May-2018 |
Bryan Drewery <bdrewery@FreeBSD.org> |
rescue: Restore 'make depend' call to fix WITH_META_MODE after r334008.
The rescue/crunchgen build avoids linking binaries for the objects it is building by doing 'make foo.o bar.o' rather than 'mak
rescue: Restore 'make depend' call to fix WITH_META_MODE after r334008.
The rescue/crunchgen build avoids linking binaries for the objects it is building by doing 'make foo.o bar.o' rather than 'make all'. This breaks the implicit 'beforebuild: depend' dependency which ensured that all source files were generated and up-to-date before building the object files. This manifested as a WITH_META_MODE build problem for bin/sh in the rescue build with syntax.{c,h} not properly being regenerated or recognized as changed in the dependency graph.
Sponsored by: Dell EMC MFC after: 1 week Reported by: many
show more ...
|
#
55b1c6e7 |
| 15-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325663 through r325841.
|
#
4a398ab3 |
| 10-Nov-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
No need to run 'make depend' with FAST_DEPEND logic in-tree.
Sponsored by: Dell EMC Isilon
|
#
41207752 |
| 10-Nov-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
AUTO_OBJ: No need to tree-walk with 'make obj' here.
Sponsored by: Dell EMC Isilon
|
#
f633c2fc |
| 10-Nov-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Pass down any PROG-specific buildopts for forwarded targets.
This currently has no impact.
Sponsored by: Dell EMC Isilon
|
#
f8190300 |
| 10-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325505 through r325662.
|
#
ff87c77c |
| 10-Nov-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Add support for CRUNCH_LIBS_ for specifying a lib only for 1 prog.
Sponsored by: Dell EMC Isilon
|
#
c2c014f2 |
| 07-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r323559 through r325504.
|
#
076777cc |
| 31-Oct-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r325199
|
#
32e7d9d0 |
| 31-Oct-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
AUTO_OBJ can work for crunchgen build-tools.
Sponsored by: Dell EMC Isilon
|
#
579deb45 |
| 31-Oct-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Disable MK_AUTO_OBJ as a make argument like r325078.
This avoids needlessly trying to enable it opportunistically.
Sponsored by: Dell EMC Isilon
|
Revision tags: release/10.4.0 |
|
#
1409e715 |
| 21-Aug-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r322398 through r322746.
|
#
a451e711 |
| 18-Aug-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r322675
|
#
96dd05dd |
| 16-Aug-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
Quote ${MAKE} when passing in env in case it contains spaces.
Downstream we are wrapping MAKE with a limits(1) call which interferes with these non-quoted cases.
Sponsored by: Dell EMC Isilon
|
Revision tags: release/11.1.0 |
|
#
dbbb03c2 |
| 06-Apr-2017 |
Bryan Drewery <bdrewery@FreeBSD.org> |
META_MODE: Fix build-tools still sometimes rebuilding during target build.
In a cross-build, the build-tools are native host binaries. We do not want to rebuild them when building for the target.
META_MODE: Fix build-tools still sometimes rebuilding during target build.
In a cross-build, the build-tools are native host binaries. We do not want to rebuild them when building for the target. Bmake previously did not support checking .NOMETA on an existing target, so .NOMETA_CMP was used here. However, .NOMETA_CMP still triggers meta mode conditions if the number of commands or the command changes. In r312467 the paths to build ncurses files were modified and thus triggered meta mode to rebuild the build tools (make_keys, make_hash) in ncurses during the target build. Bmake 20160604 committed in r301462 changed .NOMETA to also skip meta mode logic for an existing .meta file as well, thus it is now the proper fix here.
I explored moving the build-tools output to WORLDTMP/tools with relatively good success, but have concerns that doing so would be problematic for downstream vendors who use LOCAL_TOOL_DIRS and expect the tools to be in current OBJDIR for the target. It also adds more complexity into finding the tools during target build and handling of where they are for rescue/rescue and mkcsmapper_static/mkesdb_static which should really not be connected in build-tools anyway.
MFC after: 2 weeks Reported by: many Sponsored by: Dell EMC Isilon
show more ...
|
Revision tags: release/11.0.1, release/11.0.0 |
|
#
637cce3a |
| 03-Sep-2016 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead @ r305314
|
#
2aeb0380 |
| 02-Sep-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r305220 through r305300.
|
#
689a876e |
| 02-Sep-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
DIRDEPS_BUILD: Include crunched object meta files for gendirdeps.
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
|
#
5017231a |
| 02-Sep-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
META_MODE/DIRDEPS_BUILD: Fix various issues with crunch builds.
- DIRDEPS_BUILD: Fix crunchgen builds losing their library dependencies on a nop-rebuild. - META_MODE: Fix not rebuilding various cr
META_MODE/DIRDEPS_BUILD: Fix various issues with crunch builds.
- DIRDEPS_BUILD: Fix crunchgen builds losing their library dependencies on a nop-rebuild. - META_MODE: Fix not rebuilding various crunch.mk targets if their .meta files warrant a rebuild. They were lacking .meta files previously. This adds .NOMETA to the crunch objects being used since they are already built. Bmake was forcing a rebuild on them since their .meta files were not in the expected place; there is no reason to rebuild them.
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
show more ...
|
#
9954e8e6 |
| 02-Sep-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
META_MODE: Don't expect .meta files for side-effect generated files.
This is similar to r301285.
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
#
4da4ebac |
| 14-Jun-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
WITH_META_MODE: Fix rescue rebuilding build-tools.
This is the same issue as r297997.
Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
|
#
38f6966b |
| 27-May-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
DIRDEPS_BUILD: Fix and hookup rescue/rescue to the build.
Sponsored by: EMC / Isilon Storage Division
|
#
eb9b07bb |
| 27-May-2016 |
Bryan Drewery <bdrewery@FreeBSD.org> |
WITH_AUTO_OBJ: Fix crunchgen builds.
Passing MAKEOBJDIRPREFIX to the main prog build (rescue) would confuse WITH_AUTO_OBJ and cause it to create a recursed object directory that then broke the actua
WITH_AUTO_OBJ: Fix crunchgen builds.
Passing MAKEOBJDIRPREFIX to the main prog build (rescue) would confuse WITH_AUTO_OBJ and cause it to create a recursed object directory that then broke the actual prog build. This is normally not a problem since we do not call 'make -f prog.mk obj' before building anything in it.
Crunchgen(1) also assumes that if -o is not passed then if an object directory does not already exist then it should build in the source directories. The normal buildworld process will have already ran 'make obj' in each of the component directories so this is not a problem. With WITH_AUTO_OBJ though this is not the case. So we must tell crunchgen(1) that MK_AUTO_OBJ=yes will create the directory and to not require it be present before generating its Makefile.
Sponsored by: EMC / Isilon Storage Division
show more ...
|