summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ptxdist5
-rw-r--r--scripts/libptxdist.sh3
2 files changed, 6 insertions, 2 deletions
diff --git a/bin/ptxdist b/bin/ptxdist
index ca0929524..181ff0ef5 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -847,6 +847,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
+ randconfig run 'make randconfig' on ptxconfig file
migrate migrate config files from a previous
ptxdist release
@@ -1280,7 +1281,7 @@ do_config()
fi
case "${config}" in
- "menuconfig"|"nconfig"|"oldconfig"|"allmodconfig"|"allyesconfig"|"allnoconfig")
+ "menuconfig"|"nconfig"|"oldconfig"|"allmodconfig"|"allyesconfig"|"allnoconfig"|"randconfig")
;;
*)
echo
@@ -1635,7 +1636,7 @@ parse_second()
######## *config, *setup, toolchain
- menuconfig|nconfig|oldconfig|allmodconfig|allyesconfig|allnoconfig)
+ menuconfig|nconfig|oldconfig|allmodconfig|allyesconfig|allnoconfig|randconfig)
do_config "${cmd}" "${@}"
exit
;;
diff --git a/scripts/libptxdist.sh b/scripts/libptxdist.sh
index 6c93e57f5..67e1bb023 100644
--- a/scripts/libptxdist.sh
+++ b/scripts/libptxdist.sh
@@ -302,6 +302,9 @@ ptxd_kconfig() {
allnoconfig)
"${conf}" --allnoconfig "${file_kconfig}"
;;
+ randconfig)
+ "${conf}" --randconfig "${file_kconfig}"
+ ;;
dep)
copy_back="false"
yes "" | "${conf}" --writedepend "${file_kconfig}" &&