diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-05-02 10:54:57 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-05-04 09:34:29 +0200 |
commit | 279a7c9e5487bba79c4c4c609b8e6ace78e570bd (patch) | |
tree | 88402f6a431649038401aa6e5329c92a645376ba | |
parent | 18a22b09aeccf03eb9f7ca8ba47a3755ef5fea06 (diff) | |
download | ptxdist-279a7c9e5487bba79c4c4c609b8e6ace78e570bd.tar.gz ptxdist-279a7c9e5487bba79c4c4c609b8e6ace78e570bd.tar.xz |
ptxdist: add support for alldefconfig
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-x | bin/ptxdist | 7 | ||||
-rw-r--r-- | scripts/libptxdist.sh | 13 |
2 files changed, 6 insertions, 14 deletions
diff --git a/bin/ptxdist b/bin/ptxdist index 21eb49fe8..ea16e064a 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -948,6 +948,7 @@ Setup and Project Actions: allmodconfig run 'make allmodconfig' on ptxconfig file allyesconfig run 'make allyesconfig' on ptxconfig file allnoconfig run 'make allnoconfig' on ptxconfig file + alldefconfig run 'make alldefconfig' on ptxconfig file randconfig run 'make randconfig' on ptxconfig file migrate migrate config files from a previous @@ -1380,7 +1381,7 @@ parse_first() # # calls menu/old config on several components # -# $1 what kind of config ("menuconfig", "oldconfig", "allmodconfig", "allyesconfig", "allnoconfig") +# $1 what kind of config ("menuconfig", "oldconfig", "all*config", "randconfig") # $2 what to "config" # $... optional parameters # @@ -1396,7 +1397,7 @@ do_config() fi case "${config}" in - "menuconfig"|"nconfig"|"oldconfig"|"allmodconfig"|"allyesconfig"|"allnoconfig"|"randconfig") + menuconfig|nconfig|oldconfig|all*config|randconfig) ;; *) echo @@ -1750,7 +1751,7 @@ parse_second() ######## *config, *setup, toolchain - menuconfig|nconfig|oldconfig|allmodconfig|allyesconfig|allnoconfig|randconfig) + menuconfig|nconfig|oldconfig|allmodconfig|allyesconfig|allnoconfig|alldefconfig|randconfig) do_config "${cmd}" "${@}" exit ;; diff --git a/scripts/libptxdist.sh b/scripts/libptxdist.sh index d86b7ee7b..d1687cd72 100644 --- a/scripts/libptxdist.sh +++ b/scripts/libptxdist.sh @@ -302,17 +302,8 @@ ptxd_kconfig() { "${conf}" --oldconfig "${file_kconfig}" fi ;; - allmodconfig) - "${conf}" --allmodconfig "${file_kconfig}" - ;; - allyesconfig) - "${conf}" --allyesconfig "${file_kconfig}" - ;; - allnoconfig) - "${conf}" --allnoconfig "${file_kconfig}" - ;; - randconfig) - "${conf}" --randconfig "${file_kconfig}" + all*config|randconfig) + "${conf}" --${config} "${file_kconfig}" ;; dep) copy_back="false" |