setup.sh: add driver_aocpu dir [1/1]

PD#SWPL-65905

Problem:
add driver_aocpu dir

Solution:
add driver_aocpu dir

Verify:
ad401_a113l

Signed-off-by: Kelvin Zhang <kelvin.zhang@amlogic.com>
Change-Id: Ic0469d5de04498956cd8864e5159754f1235992b
diff --git a/setup.sh b/setup.sh
index cf74bf3..f79ee1d 100755
--- a/setup.sh
+++ b/setup.sh
@@ -7,7 +7,7 @@
 cmake_file="$PWD/CMakeLists.txt"
 kconfig_file="$PWD/Kconfig"
 build_dir="build"
-drivers_dir="drivers"
+#drivers_dir="drivers drivers_aocpu"
 exclude_dir="products"
 special_dirs="arch soc boards"
 third_party_dir="third_party"
@@ -24,6 +24,11 @@
 	echo "Faild to save $RTOS_SDK_MANIFEST_FILE"
 	exit 1
 fi
+if [[ "$PRODUCT" == aocpu ]]; then
+	sed -i '/path="drivers"/d' $RTOS_SDK_MANIFEST_FILE
+else
+	sed -i '/path="drivers_aocpu"/d' $RTOS_SDK_MANIFEST_FILE
+fi
 
 # Write the fixed content to CMakeLists.txt
 cat <<EOF > $cmake_file
@@ -66,7 +71,8 @@
 		if [[ $keyword == path=* ]]; then
 			repo_path=`echo ${keyword#*${pattern}} | sed 's/\"//g' | sed 's/\/>//g'`
 
-			if [[ $repo_path == $drivers_dir* ]] || [[ $repo_path == $third_party_dir* ]]; then
+#			if [[ $repo_path == $drivers_dir* ]] || [[ $repo_path == $third_party_dir* ]]; then
+			if [[ $repo_path == $third_party_dir* ]]; then
 				category=`echo $repo_path | sed 's/_/ /g'`
 			else
 				category=`dirname $repo_path`