diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-08-27 14:58:42 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-08-27 14:58:42 +0000 |
commit | 1b571c64512a21d7aabc7122ead9bac785c8ff56 (patch) | |
tree | 8413ac81481f5882da4b2be180da0ed20c9c20ef /nuttx/tools | |
parent | d719433123a921aa84a51139cc6ffc4a46533bc4 (diff) | |
download | px4-nuttx-1b571c64512a21d7aabc7122ead9bac785c8ff56.tar.gz px4-nuttx-1b571c64512a21d7aabc7122ead9bac785c8ff56.tar.bz2 px4-nuttx-1b571c64512a21d7aabc7122ead9bac785c8ff56.zip |
STM32 I2C fix, documentation update, fixes for FreeBSD/ASH build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3917 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools')
-rwxr-xr-x | nuttx/tools/mkdeps.sh | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/nuttx/tools/mkdeps.sh b/nuttx/tools/mkdeps.sh index 0aec5dba8..6d83f2ca0 100755 --- a/nuttx/tools/mkdeps.sh +++ b/nuttx/tools/mkdeps.sh @@ -1,8 +1,8 @@ #!/bin/bash ############################################################################ -# tools mkdeps.sh +# tools/mkdeps.sh # -# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. +# Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <spudmonkey@racsa.co.cr> # # Redistribution and use in source and binary forms, with or without @@ -34,12 +34,10 @@ # ############################################################################ -WD= - # # Usage: -function show_usage () +show_usage () { echo "" echo "$progname [OPTIONS] CC -- CFLAGS -- file [file [file...]]" @@ -69,7 +67,7 @@ function show_usage () exit 1 } -function dodep () +dodep () { unset fullpath if [ -z "$altpath" ]; then @@ -94,7 +92,7 @@ function dodep () fi $cc -M $cflags $fullpath || \ - { echo "# ERROR: $cc -M $cflags $fullpath FAILED" ; exit 4 ; } + ( echo "# ERROR: $cc -M $cflags $fullpath FAILED"; exit 4; ) } unset cc |