Add target to re-run autogen on all modules in a given package directory.

This commit is contained in:
Jeffrey Townsend
2019-07-30 14:14:44 -07:00
parent 616b4f448d
commit acf082873b

View File

@@ -53,6 +53,11 @@ pkg:
$(ONL_V_GEN) $(ONLPM_ENVIRONMENT) NOBUILD=1 $(ONLPM) $(ONLPM_OPTS) --build all --arches $(ARCHES)
#
# Run the module autogen on all modules under the current directory.
#
autogen:
$(BUILDER)/tools/modtool.py --load-dir . --foreach-module 'make -C %(dir)s autogen'
#
# Generate a rule for all available packages