瀏覽代碼

dubhe: setup.sh: Enable qspi-nfs-image

Signed-off-by: weiheng.cheng <weiheng.cheng@starfivetech.com>
weiheng.cheng 10 月之前
父節點
當前提交
87b4bfcec7
共有 1 個文件被更改,包括 7 次插入7 次删除
  1. 7 7
      setup.sh

+ 7 - 7
setup.sh

@@ -127,7 +127,7 @@ esac
 }
 
 updatecfg(){
-cfg=("ENABLE_INIT" "ENABLE_EXT4" "ENABLE_UBI")
+cfg=("ENABLE_INIT" "ENABLE_EXT4" "ENABLE_UBI" "ENABLE_NFS")
 for cfgname in ${cfg[@]}; do
     if [[ $1 == ${cfgname} ]]; then
         if ! grep -q $1 ./conf/local.conf; then
@@ -168,15 +168,15 @@ echo "     SD-Image.img";
 echo "3) QSPI-Ubifs-Image";
 echo "   - Minimal image with ubifs support.";
 echo "   - Generated output : ";
-echo -e "     QSPI-Ubifs-Image.bin${NC}";
-#echo "4) QSPI-NFS-Image";
-#echo "   - NFS config has been enabled.";
-#echo "   - Generated output : ";
-#echo -e "     QSPI-NFS-Image.bin${NC}";
+echo -e "     QSPI-Ubifs-Image.bin";
+echo "4) QSPI-NFS-Image";
+echo "   - NFS config has been enabled.";
+echo "   - Generated output : ";
+echo -e "     QSPI-NFS-Image.bin${NC}";
 echo "";
 
 PS3="Select your action : "
-options=("Build qspi-image" "Build dubhe-image-minimal" "Build qspi-ubifs-image" "Quit")
+options=("Build qspi-image" "Build dubhe-image-minimal" "Build qspi-ubifs-image" "Build qspi-nfs-image" "Quit")
 
 select opt in "${options[@]}" 
 do