summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-04-11 19:39:42 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-04-14 11:34:43 +0200
commitbb10d6e1f03bf0aa535b4875f937d1b4479fc5ab (patch)
tree3232b505421d7bcc04070c32835ac2cfd58f29ca
parentfe2c80ca49170accc85d9023ed96f2177ddf76ad (diff)
downloadptxdist-bb10d6e1f03bf0aa535b4875f937d1b4479fc5ab.tar.gz
ptxdist-bb10d6e1f03bf0aa535b4875f937d1b4479fc5ab.tar.xz
ptxdist: add randconfig option
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-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}" &&