#
2bdd404a |
| 14-Oct-2024 |
Simon J. Gerraty <sjg@FreeBSD.org> |
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 me
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
show more ...
|
#
87b759f0 |
| 11-Oct-2024 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Add targets/pseudo/bootstrap-packages
Try to compensate for the lack any origin for a DIRDEPS build.
bootstrap-packages will extract the PACKAGE lines from the tree's Makefiles and use them to popu
Add targets/pseudo/bootstrap-packages
Try to compensate for the lack any origin for a DIRDEPS build.
bootstrap-packages will extract the PACKAGE lines from the tree's Makefiles and use them to populate targets/packages/Makefile.depend and targets/packages/*/Makefile.depend so we can at least try to keep the Makefile.depend files throughout the tree up to date.
This is far from ideal, as we cannot (easily) take into account options that affect the contents of various packages.
Reviewed by: stevek Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D47065
show more ...
|