From acf082873b7d9ce6b32b9e14ebdaf0eb88834e43 Mon Sep 17 00:00:00 2001 From: Jeffrey Townsend Date: Tue, 30 Jul 2019 14:14:44 -0700 Subject: [PATCH] Add target to re-run autogen on all modules in a given package directory. --- make/pkg.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/make/pkg.mk b/make/pkg.mk index 98d9dfd6..ae186223 100644 --- a/make/pkg.mk +++ b/make/pkg.mk @@ -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