aboutsummaryrefslogtreecommitdiff
path: root/share/mk/meta.autodep.mk
Commit message (Collapse)AuthorAgeFilesLines
* meta.autodep.mk do not override start_utcSimon J. Gerraty2024-04-241-1/+3
| | | | | Update meta.autodep.mk If included at level 0 it is important not to override start_utc
* Update dirdeps.mk et alSimon J. Gerraty2024-03-141-6/+10
| | | | bmake-20240309 includes updates to dirdeps and meta mode makefiles
* Update jobs.mk to leverage -jCSimon J. Gerraty2023-09-181-3/+8
| | | | | | | | | | With bmake-20230909 we can use -j1.5C to use 1.5*ncpu bmake will set .MAKE.JOBS.C=yes if this is supported, and in that case jobs.mk will use JOB_MAX_C as default for JOB_MAX. Remove logic from local.sys.mk which is now handled by jobs.mk Also use latest dirdeps-targets.mk and meta.{autodep,subdir}.mk
* Update meta mode makefilesSimon J. Gerraty2023-04-171-3/+2
| | | | | | | | | | | | meta2deps - add checks to detect truncated/corrupted filemon data (only known to happen on Linux hosts), to ensure we do not auto update dependencies based on incomplete data. meta.stage.mk adds STAGE_SHLIB_LINKS_FILTER and STAGE_LINK_AS_* We also allow for hosts where egrep is deprecated for grep -E Reviewed by: stevek
* Update dirdeps.mk et al to 20211212 versionsSimon J. Gerraty2021-12-181-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | dirdeps.mk: simplify computation of qualified vs unqualified dirdeps. Note the importance of avoiding unresolved variables in DIRDEPS Fix DIRDEP_LOADAVG_REPORT - expr(1) fails if expression evaluates to 0 Trim ${SRCTOP}/ from debug etc messages to make comparison easier. Include number of DIRDEPS in debug output. Trim ${SRCTOP}/ when exporting to env while building DIRDEPS_CACHE to help avoid env exhaustion. Use DIRDEPS_ALL_MACHINES_FILTER to better handle ALL_MACHINES in complex build environments. dirdeps-options.mk: use separate .undef for each variable dirdeps-targets.mk: allow for '.' in DIRDEPS_TARGETS_DIRS meta.autodep.mk: leverage ${.SUFFIXES} if we can. meta.sys.mk: allow use in META_MODE vs DIRDEPS_BUILD meta2deps.py: compute a list of dirdep extensions that map to current TARGET_SPEC to avoid confusion. Reviewed by: stevek
* Update dirdeps.mk et al to latestSimon J. Gerraty2020-11-241-10/+6
| | | | | | | | | | | Move some local tweaks to local.*.mk Reviewed by: bdrewery MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D27300 Notes: svn path=/head/; revision=367999
* Update dirdeps.mk et al to latestSimon J. Gerraty2018-08-021-17/+27
| | | | | | | | | | | | | | | dirdeps.mk and meta.autodep.mk will now look for Makefile.depend.options to handle optional dependencies, the work is all done by dirdeps-options.mk Also update to latest meta.stage.mk and gendirdeps.mk Reviewed by: bdrewery Differential Revision: https://reviews.freebsd.org/D15701 Notes: svn path=/head/; revision=337186
* Created static libc PIC/no-SSP library to be used by rtld.Konstantin Belousov2018-05-091-2/+2
| | | | | | | | | | | | | | | | Rtld is not compatible with SSP, and since we link libc_pic.a to rtld to have the basic support like memory and string copy functions, we have to both carefully limit libc use, and to provide the ssp support shims. This change makes the libc use in rtld more straighforward but still limited, and allows to remove the shims, to be done in the next commit. Submitted by: Luis Pires Reviewed by: bdrewery, brooks Differential revision: https://reviews.freebsd.org/D15283 Notes: svn path=/head/; revision=333397
* When MAKEOBJDIRPREFIX points to a case-insensitive file system, theMarcel Moolenaar2016-09-241-3/+3
| | | | | | | | | | | | | | | | | build can break when different source files create the same target files (case-insensitivity speaking). This is the case for object files compiled with -fpic and shared libraries. The former uses an extension of ".So", and the latter an extension ".so". Rename shared object files from *.So to *.pico to match what NetBSD does. See also r305855 MFC after: 1 month Sponsored by: Bracket Computing Differential Revision: https://reviews.freebsd.org/D7906 Notes: svn path=/head/; revision=306297
* Don't strip paths away from META_XTRAS.Bryan Drewery2016-05-261-1/+1
| | | | | | | | | | This would otherwise disallow using meta files from a foreign build that spread them around in directories outside our own .OBJDIR. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=300805
* Update dirdeps.mk et alSimon J. Gerraty2016-04-181-1/+16
| | | | | | | | | | | | | | | | | dirdeps.mk: move logic to handle -f dirdeps.mk to inside check for first read of dirdeps.mk Also fix handling of WITHOUT_DIRDEPS_BELOW gendirdeps.mk: pass M2D_EXCLUDES to meta2deps meta.autodep.mk: if we build with nofilemon, leave a cookie to prevent updating dependencies until cleaned. Reviewed by: bdrewery Notes: svn path=/head/; revision=298225
* Merge bmake-20160307Simon J. Gerraty2016-03-111-2/+2
| | | | Notes: svn path=/head/; revision=296637
* META MODE: Don't add staged DPADDs to DIRDEPS when bootstrapping gendirdeps.Bryan Drewery2015-11-251-1/+1
| | | | | | | | | | | | This was finding libraries that were installed into DESTDIR/usr/lib, where DESTDIR is the stage directory, and then adding in usr/lib to DIRDEPS. Just exclude the STAGE_ROOT if defined. Discussed with: sjg Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291316
* META MODE: Define variables this file uses that were defined elsewhere.Bryan Drewery2015-11-251-0/+3
| | | | | | | | Discussed with: sjg Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291315
* META MODE: Don't truncate DIRDEPS for bootstrapping during gendirdeps.Bryan Drewery2015-11-251-1/+1
| | | | | | | | Reviewed by: sjg Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291314
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+1
| | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
* always filter out dirdeps.cache*metaSimon J. Gerraty2015-05-261-0/+2
| | | | Notes: svn path=/projects/bmake/; revision=283587
* Merge head from 7/28Simon J. Gerraty2014-08-191-3/+6
| | | | Notes: svn path=/projects/bmake/; revision=270164
* Handle empty meta listSimon J. Gerraty2014-05-101-2/+2
| | | | Notes: svn path=/projects/bmake/; revision=265786
* Update - allow collecting stats when WITH_META_STATS is defined.Simon J. Gerraty2014-05-071-0/+26
| | | | Notes: svn path=/projects/bmake/; revision=265622
* Sync latest versionsSimon J. Gerraty2013-04-141-1/+2
| | | | Notes: svn path=/projects/bmake/; revision=249458
* Sync from headSimon J. Gerraty2012-11-041-0/+2
| | | | Notes: svn path=/projects/bmake/; revision=242545
* Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+259
Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572