diff --git a/ChangeLog b/ChangeLog index 1d696e6f44..59cb892e30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1735,3 +1735,5 @@ build time * Makefile: Removed support for Pascal pcode interpreter. Support for that interpreter has been moved to apps/interpreter/Makefile. + * tools/mkdep.sh: Should not report an error if there are no files on the command + line. This happens normally in certain configurations. diff --git a/tools/mkdeps.sh b/tools/mkdeps.sh index 7df4d00c6f..0aec5dba8f 100755 --- a/tools/mkdeps.sh +++ b/tools/mkdeps.sh @@ -156,9 +156,9 @@ if [ -z "$cc" ]; then fi if [ -z "$files" ]; then - echo "No files specified" - show_usage - exit 2 + # Don't report an error -- this happens normally in some configurations + echo "# No files specified for dependency generataion" + exit 0 fi # Check if this compiler generates Cygwin/Linux paths or Windows paths