summaryrefslogtreecommitdiff
path: root/amlogic_help.sh
diff options
context:
space:
mode:
authorXiaobo Gu <xiaobo.gu@amlogic.com>2015-12-18 14:21:25 +0800
committerXiaobo Gu <xiaobo.gu@amlogic.com>2015-12-18 17:38:27 +0800
commita270928821d8161be0fcb71c52666b60db12b901 (patch)
treeb88f42af7b32d5681562a17db95de2badc91793f /amlogic_help.sh
parent72ca77a0d988fa9930580a449311a2ff9d283e07 (diff)
downloadu-boot-odroid-c1-a270928821d8161be0fcb71c52666b60db12b901.tar.gz
PD#116790: Support customer folder
a). Support customer folder(no matter exist or not) b). _defconfig and (config).h have 3 different place now. _defconfig: 1. configs/ 2. board/amlogic/defconfigs/ 3. customer/board/defconfigs/ (config).h: 1. include/configs/ 2. board/amlogic/configs/ 3. customer/board/configs/ Change-Id: I63858d32931b72b35ac8fc0702c8903e3d00d279
Diffstat (limited to 'amlogic_help.sh')
-rwxr-xr-xamlogic_help.sh18
1 files changed, 16 insertions, 2 deletions
diff --git a/amlogic_help.sh b/amlogic_help.sh
index 69f5299690..4df368f39b 100755
--- a/amlogic_help.sh
+++ b/amlogic_help.sh
@@ -15,10 +15,24 @@ echo "*******************************************"
for file in ${folder_board}/*; do
temp_file=`basename $file`
- if [ -d ${folder_board}/${temp_file} ];then
+ #echo "$temp_file"
+ if [ -d ${folder_board}/${temp_file} ] && [ "$temp_file" != "defconfigs" ] && [ "$temp_file" != "configs" ];then
echo " \c"
echo $temp_file
fi
done
-echo "*******************************************" \ No newline at end of file
+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
+ echo " \c"
+ echo $temp_file
+ fi
+ done
+ echo "*******************************************"
+fi