소스 검색

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

Waldemar Brodkorb 8 년 전
부모
커밋
17ff347c0e
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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