diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-11 01:27:04 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-11 01:27:04 +0000 |
commit | e70772c61f74bdf3561f7f5326e3ebb5a9bff4cb (patch) | |
tree | 9afbce738a90c122d5a07059599ff60b0a7dd0d3 /nuttx/tools | |
parent | dd1708a63c78d0d5c9c229371a9c89afcc4664dd (diff) | |
download | px4-nuttx-e70772c61f74bdf3561f7f5326e3ebb5a9bff4cb.tar.gz px4-nuttx-e70772c61f74bdf3561f7f5326e3ebb5a9bff4cb.tar.bz2 px4-nuttx-e70772c61f74bdf3561f7f5326e3ebb5a9bff4cb.zip |
tools/mkdep.sh should not report an error if there are no files on the command line
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3588 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools')
-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 7df4d00c6..0aec5dba8 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 |