diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-05-11 01:27:04 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-05-11 01:27:04 +0000 |
commit | fbecf21f3da32a9fd0bd25674e93a0d991f5138b (patch) | |
tree | 9afbce738a90c122d5a07059599ff60b0a7dd0d3 /nuttx/tools/mkdeps.sh | |
parent | 2336b14046a4aa4710da40673c4ed2b0dafd1b6c (diff) |
tools/mkdep.sh should not report an error if there are no files on the command line
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3588 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/tools/mkdeps.sh')
-rwxr-xr-x | nuttx/tools/mkdeps.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/tools/mkdeps.sh b/nuttx/tools/mkdeps.sh index 7df4d00c6f..0aec5dba8f 100755 --- a/nuttx/tools/mkdeps.sh +++ b/nuttx/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 |