config/functions: just check if the linux.*.conf exists

(cherry picked from commit c7b19e897cd0aa1524509b457ad6f9793177f25d)
This commit is contained in:
Lukas Rusak 2017-03-14 12:06:20 -07:00 committed by Jonas Karlman
parent d03c993501
commit d2c6ecdf09

View File

@ -329,7 +329,7 @@ dashes="==========================="
linux_config_dir="$PROJECT_DIR/$PROJECT/linux"
fi
if [ ! -f $linux_config_dir/linux.$TARGET_ARCH.conf ] &&
if [ ! -e $linux_config_dir/linux.$TARGET_ARCH.conf ] &&
! ls $linux_config_dir/*/linux.$TARGET_ARCH.conf &>/dev/null; then
check_arch="$check_arch\n $dashes$dashes$dashes"
check_arch="$check_arch\n ERROR: Architecture not found, use a valid Architecture"