summaryrefslogtreecommitdiff
path: root/nuttx/tools/incdir.sh
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-03 18:42:33 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-03 18:42:33 +0000
commitc5ec7c478098273586b7a5716e30dc82c1e6aba5 (patch)
tree241ec95305382eac68e212764452ee17655df48f /nuttx/tools/incdir.sh
parentcfc7fe371ad9efc22bded77dc0779ec4eff1a9fd (diff)
downloadpx4-nuttx-c5ec7c478098273586b7a5716e30dc82c1e6aba5.tar.gz
px4-nuttx-c5ec7c478098273586b7a5716e30dc82c1e6aba5.tar.bz2
px4-nuttx-c5ec7c478098273586b7a5716e30dc82c1e6aba5.zip
Pass __KERNEL__ define (or not) to all makes to handle small differences in user-/kernel-builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3459 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools/incdir.sh')
-rwxr-xr-xnuttx/tools/incdir.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/tools/incdir.sh b/nuttx/tools/incdir.sh
index e520ca21f..32f383324 100755
--- a/nuttx/tools/incdir.sh
+++ b/nuttx/tools/incdir.sh
@@ -48,8 +48,8 @@ while [ ! -z "$1" ]; do
wintool=y
;;
-h )
- echo "$progname is a tool for flexible generate of include path arguments for a"
- echo "variety of diffent compilers in a variety of compilation environments"
+ echo "$progname is a tool for flexible generation of include path arguments for a"
+ echo "variety of different compilers in a variety of compilation environments"
echo ""
echo $usage
echo ""
@@ -92,7 +92,7 @@ fi
#
# Most compilers support CFLAG options like '-I<dir>' to add include
# file header paths. Some (like the Zilog tools), do not. This script
-# makes the select of header file paths compiler independent.
+# makes the selection of header file paths compiler independent.
#
# Below are all known compiler names (as found in the config/*/*/Make.defs
# files). If a new compiler is used that has some unusual syntax, then
@@ -101,9 +101,9 @@ fi
# NAME Syntax
# $(CROSSDEV)gcc -I<dir1> -I<dir2> -I<dir3> ...
# sdcc -I<dir2> -I<dir2> -I<dir3> ...
-# $(ZDSBINDIR)/ez8cc.exe -usrinc:'<dir1>:<dir2:<dir3>:...`
-# $(ZDSBINDIR)/zneocc.exe -usrinc:'<dir1>:<dir2:<dir3>:...`
-# $(ZDSBINDIR)/ez80cc.exe -usrinc:'<dir1>:<dir2:<dir3>:...`
+# $(ZDSBINDIR)/ez8cc.exe -usrinc:'<dir1>:<dir2>:<dir3>:...`
+# $(ZDSBINDIR)/zneocc.exe -usrinc:'<dir1>:<dir2>:<dir3>:...`
+# $(ZDSBINDIR)/ez80cc.exe -usrinc:'<dir1>:<dir2>:<dir3>:...`
#
# Furthermore, just to make matters more difficult, with Windows based
# toolchains, we have to use the full windows-style paths to the header