summaryrefslogtreecommitdiff
path: root/scripts/create-menu
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-24 10:34:34 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-24 10:34:59 +0200
commit17ff347c0ea70f644d3796408f87026163d8f3a3 (patch)
tree981ca33dd0fc83c4a5da9b97c4f5a38ec62964d5 /scripts/create-menu
parentcadbbb801b73997857c586b8eed469aa8d345bdc (diff)
use a menu for tasks so multiselects are possible, reported by Oliver
Diffstat (limited to 'scripts/create-menu')
-rwxr-xr-xscripts/create-menu6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/create-menu b/scripts/create-menu
index b6dba30cb..13fbe4f87 100755
--- a/scripts/create-menu
+++ b/scripts/create-menu
@@ -14,10 +14,10 @@ printf "source target/config/Config.in.system.choice\n" >> target/config/Config.
# update tasks
if [ -d "$topdir/tasks" ];then
printf "# autogenerated via scripts/create-menu\n" > $topdir/target/config/Config.in.tasks
- printf "choice\n" >> $topdir/target/config/Config.in.tasks
- printf "prompt \"Task\" if !ADK_TARGET_CHOOSE_ARCH\n\n" >> $topdir/target/config/Config.in.tasks
+ printf "menu \"Tasks\"\n" >> $topdir/target/config/Config.in.tasks
+ printf "\tvisible if ADK_TARGET_OS_LINUX && !ADK_TARGET_CHOOSE_ARCH\n\n" >> $topdir/target/config/Config.in.tasks
cat $topdir/tasks/* >> $topdir/target/config/Config.in.tasks 2>/dev/null
- printf "\nendchoice\n\n" >> $topdir/target/config/Config.in.tasks
+ printf "\nendmenu\n\n" >> $topdir/target/config/Config.in.tasks
fi
# create system default