build: incdir.sh shouldn't check whether the path exist

since compiler never complain that the path(by -I) doesn't exist

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-05-22 02:43:08 +08:00 committed by patacongo
parent 1c2e8cbb36
commit 2a2ffe41dd
2 changed files with 0 additions and 13 deletions

View File

@ -98,11 +98,6 @@ if "%1" == "" (
goto :End goto :End
) )
if not exist %1 (
echo ERROR: Path %1 does not exist
goto :Usage
)
if "%fmt%"=="zds" goto :GenerateZdsPath if "%fmt%"=="zds" goto :GenerateZdsPath
if "%response%"=="" goto :FirstStdPath if "%response%"=="" goto :FirstStdPath
if "%pathtype%"=="system" goto :NextStdSystemPath if "%pathtype%"=="system" goto :NextStdSystemPath

View File

@ -191,14 +191,6 @@ fi
unset response unset response
for dir in $dirlist; do for dir in $dirlist; do
# Verify that the include directory exists
if [ ! -d $dir ]; then
echo "Include path '$dir' does not exist"
echo $showusage
exit 1
fi
# Check if the path needs to be extended for Windows-based tools under Cygwin # Check if the path needs to be extended for Windows-based tools under Cygwin
# windows=yes: We are building for a windows platform # windows=yes: We are building for a windows platform
# wintool=y: The platform is Cygwin and we are using a windows native tool # wintool=y: The platform is Cygwin and we are using a windows native tool