Browse Source

use a menu for tasks so multiselects are possible, reported by Oliver

Waldemar Brodkorb 7 years ago
parent
commit
17ff347c0e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      scripts/create-menu

+ 3 - 3
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