diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-26 18:59:14 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-26 18:59:14 +0000 |
commit | 5bd8df9d37f1ed4e504ff6b43545ba8300cd2de1 (patch) | |
tree | 7f0b115adf2e1cc1bca3c37d2093f1aae9ae5aa7 /nuttx/configs/xtrs | |
parent | 0656ff623ae406226308306079b56355662d58d4 (diff) | |
download | px4-nuttx-5bd8df9d37f1ed4e504ff6b43545ba8300cd2de1.tar.gz px4-nuttx-5bd8df9d37f1ed4e504ff6b43545ba8300cd2de1.tar.bz2 px4-nuttx-5bd8df9d37f1ed4e504ff6b43545ba8300cd2de1.zip |
Need pre-processor support for auto-generation of source file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1312 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/xtrs')
-rw-r--r-- | nuttx/configs/xtrs/nsh/Make.defs | 5 | ||||
-rw-r--r-- | nuttx/configs/xtrs/ostest/Make.defs | 5 | ||||
-rw-r--r-- | nuttx/configs/xtrs/pashello/Make.defs | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/nuttx/configs/xtrs/nsh/Make.defs b/nuttx/configs/xtrs/nsh/Make.defs index f73855d2a..5b35cd8b4 100644 --- a/nuttx/configs/xtrs/nsh/Make.defs +++ b/nuttx/configs/xtrs/nsh/Make.defs @@ -67,6 +67,11 @@ OBJEXT = .o LIBEXT = .lib EXEEXT = .cmd +define PREPROCESS + @echo "CPP: $1->$2" + @$(CPP) $(CPPFLAGS) $1 -o $2 +endef + define COMPILE @echo "CC: $1" @$(CC) -c $(CFLAGS) $1 -o $2 diff --git a/nuttx/configs/xtrs/ostest/Make.defs b/nuttx/configs/xtrs/ostest/Make.defs index 561fce02e..3b77c2951 100644 --- a/nuttx/configs/xtrs/ostest/Make.defs +++ b/nuttx/configs/xtrs/ostest/Make.defs @@ -67,6 +67,11 @@ OBJEXT = .o LIBEXT = .lib EXEEXT = .cmd +define PREPROCESS + @echo "CPP: $1->$2" + @$(CPP) $(CPPFLAGS) $1 -o $2 +endef + define COMPILE @echo "CC: $1" @$(CC) -c $(CFLAGS) $1 -o $2 diff --git a/nuttx/configs/xtrs/pashello/Make.defs b/nuttx/configs/xtrs/pashello/Make.defs index 561fce02e..3b77c2951 100644 --- a/nuttx/configs/xtrs/pashello/Make.defs +++ b/nuttx/configs/xtrs/pashello/Make.defs @@ -67,6 +67,11 @@ OBJEXT = .o LIBEXT = .lib EXEEXT = .cmd +define PREPROCESS + @echo "CPP: $1->$2" + @$(CPP) $(CPPFLAGS) $1 -o $2 +endef + define COMPILE @echo "CC: $1" @$(CC) -c $(CFLAGS) $1 -o $2 |