[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH v2 19/23] build: Support syncconfig with kconfiglib
syncconfig rule generate the config header file and other header files needed from fixdep. This patch provides a python interface for the syncconfig using scriptsyncconfig rule Signed-off-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx> --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 00d01c2b..1f60ea6d 100644 --- a/Makefile +++ b/Makefile @@ -676,7 +676,8 @@ COMMON_CONFIG_ENV = \ KCONFIG_PLAT_IN="$(KCONFIG_PLAT_IN)" \ UK_NAME="$(CONFIG_UK_NAME)" -PHONY += scriptconfig iscriptconfig kmenuconfig guiconfig dumpvarsconfig +PHONY += scriptconfig syncscriptconfig iscriptconfig kmenuconfig guiconfig \ + dumpvarsconfig PYTHONCMD ?= python kpython := PYTHONPATH=$(UK_CONFIGLIB):$$PYTHONPATH $(PYTHONCMD) @@ -701,7 +702,12 @@ kmenuconfig:$(KCONFIG_DIR)/fixdep $(CONFIG_CONFIG_IN) @$(SCRIPTS_DIR)/configupdate $(UK_CONFIG) $(UK_CONFIG_OUT) -guiconfig: $(KCONFIG_DIR)/fixdep +scriptsyncconfig: $(KCONFIG_DIR)/fixdep + @$(COMMON_CONFIG_ENV) $(kpython) $(CONFIGLIB)/genconfig.py \ + --sync-deps=$(BUILD_DIR)/include/config \ + --header-path=$(KCONFIG_AUTOHEADER) $(CONFIG_CONFIG_IN) + @$(SCRIPTS_DIR)/configupdate $(UK_CONFIG) $(UK_CONFIG_OUT) + @$(kpython) $(CONFIGLIB)/guiconfig.py $(CONFIG_CONFIG_IN) @$(SCRIPTS_DIR)/configupdate $(UK_CONFIG) $(UK_CONFIG_OUT) @@ -884,6 +890,7 @@ help: @echo ' gconfig - interactive GTK-based configurator' @echo ' oldconfig - resolve any unresolved symbols in .config' @echo ' syncconfig - Same as oldconfig, but quietly, additionally update deps' + @echo ' scriptsyncconfig - Same as oldconfig, but quietly, additionally update deps' @echo ' olddefconfig - Same as silentoldconfig but sets new symbols to their default value' @echo ' randconfig - New config with random answer to all options' @echo ' defconfig - New config with default answer to all options' -- 2.20.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |