From e70772c61f74bdf3561f7f5326e3ebb5a9bff4cb Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 11 May 2011 01:27:04 +0000 Subject: 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 --- nuttx/tools/mkdeps.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nuttx/tools') 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 -- cgit v1.2.3