-
Notifications
You must be signed in to change notification settings - Fork 175
/
amlogic_help.sh
executable file
·39 lines (32 loc) · 1.09 KB
/
amlogic_help.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# print amlogic board config
if [ -z ${srctree} ]; then
srctree=`pwd`
fi
folder_board=${srctree}"/board/amlogic"
#echo $folder_board
#ls -a ${folder_board}
echo ""
echo "**************Amlogic Configs**************"
echo "* *"
echo "* ./mk (config_name) *"
echo "* *"
echo "*******************************************"
for file in ${folder_board}/*; do
temp_file=`basename $file`
#echo "$temp_file"
if [ -d ${folder_board}/${temp_file} ] && [ "$temp_file" != "defconfigs" ] && [ "$temp_file" != "configs" ];then
printf "\t$temp_file\n"
fi
done
echo "*******************************************"
customer_folder=${srctree}"/customer/board"
if [ -e ${customer_folder} ];then
echo "**************Customer Configs*************"
for file in ${customer_folder}/*; do
temp_file=`basename $file`
if [ -d ${customer_folder}/${temp_file} ] && [ "$temp_file" != "defconfigs" ] && [ "$temp_file" != "configs" ];then
printf "\t$temp_file\n"
fi
done
echo "*******************************************"
fi