1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00
freebsd/targets
Simon J. Gerraty 2bdd404abe bootstrap-packages handle optional DIRDEPS
Add logic to bootstrap-packages.sh to handle constructs like:

SUBDIR.${MK_OPT}+= sub

and:

.if ${MK_OPT} == "yes"
SUBDIR+= sub
.endif

there are other methods used in various makefiles
so this will be better than nothing, but not complete coverage.

In either case a reldir will be added to
targets/packages/$package/Makefile.depend.options
rather than
targets/packages/$package/Makefile.depend

It does not matter that in many cases the Makefile.depend will end up
with no DIRDEPS.

Also check that parent Makefile does not have a subdir commented out,
before including it.

If BOOTSTRAP_PACKAGES_FLAGS is -v we report each Makefile.depend[.options]
we create.

Reviewed by:	stevek
2024-10-14 14:58:12 -07:00
..
pseudo bootstrap-packages handle optional DIRDEPS 2024-10-14 14:58:12 -07:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.inc targets/Makefile.inc skip updates 2024-10-14 11:34:55 -07:00
Makefile.xtras Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00