diff options
Diffstat (limited to 'scripts/lib/ptxd_make_world_kconfig.sh')
-rw-r--r-- | scripts/lib/ptxd_make_world_kconfig.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_kconfig.sh b/scripts/lib/ptxd_make_world_kconfig.sh index 6d1e8b45e..bb3cdc853 100644 --- a/scripts/lib/ptxd_make_world_kconfig.sh +++ b/scripts/lib/ptxd_make_world_kconfig.sh @@ -62,7 +62,13 @@ export -f ptxd_make_world_kconfig_sync ptxd_make_kconfig() { local file_dotconfig="${pkg_config}" local ref_file_dotconfig="${pkg_ref_config}" - local ptx_config_mode=run + + if [ -z "${ptx_config_mode}" ]; then + case "${pkg_stage}" in + *config) ptx_config_mode=update ;; + *) ptx_config_mode=run ;; + esac + fi ptxd_make_kconfig_setup && ptxd_eval \ |