diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-18 14:06:57 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-18 14:06:57 +0000 |
commit | a2256f3fd98983957fb7ecd9f841e7c68de8870b (patch) | |
tree | d1d54006ec6ad4d567a89be7fbb45ffbf10ea100 /nuttx/configs/nucleus2g | |
parent | 294e1a2df929d1d39369d450236b099ea0a6d16d (diff) | |
download | px4-firmware-a2256f3fd98983957fb7ecd9f841e7c68de8870b.tar.gz px4-firmware-a2256f3fd98983957fb7ecd9f841e7c68de8870b.tar.bz2 px4-firmware-a2256f3fd98983957fb7ecd9f841e7c68de8870b.zip |
Refactor common make definitions to tools/Config.mk; Add verbosity option to build (Richard Cochran)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5160 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/nucleus2g')
-rw-r--r-- | nuttx/configs/nucleus2g/nsh/Make.defs | 28 | ||||
-rw-r--r-- | nuttx/configs/nucleus2g/ostest/Make.defs | 28 | ||||
-rw-r--r-- | nuttx/configs/nucleus2g/usbserial/Make.defs | 28 | ||||
-rw-r--r-- | nuttx/configs/nucleus2g/usbstorage/Make.defs | 28 |
4 files changed, 0 insertions, 112 deletions
diff --git a/nuttx/configs/nucleus2g/nsh/Make.defs b/nuttx/configs/nucleus2g/nsh/Make.defs index 44cab10a4..65ec1c8f0 100644 --- a/nuttx/configs/nucleus2g/nsh/Make.defs +++ b/nuttx/configs/nucleus2g/nsh/Make.defs @@ -127,34 +127,6 @@ ifeq ($(CONFIG_DEBUG_SYMBOLS),y) LDFLAGS += -g endif -define PREPROCESS - @echo "CPP: $1->$2" - @$(CPP) $(CPPFLAGS) $1 -o $2 -endef - -define COMPILE - @echo "CC: $1" - @$(CC) -c $(CFLAGS) $1 -o $2 -endef - -define COMPILEXX - @echo "CXX: $1" - @$(CXX) -c $(CXXFLAGS) $1 -o $2 -endef - -define ASSEMBLE - @echo "AS: $1" - @$(CC) -c $(AFLAGS) $1 -o $2 -endef - -define ARCHIVE - echo "AR: $2"; \ - $(AR) $1 $2 || { echo "$(AR) $1 $2 FAILED!" ; exit 1 ; } -endef - -define CLEAN - @rm -f *.o *.a -endef HOSTCC = gcc HOSTINCLUDES = -I. diff --git a/nuttx/configs/nucleus2g/ostest/Make.defs b/nuttx/configs/nucleus2g/ostest/Make.defs index 614654a8f..413f40178 100644 --- a/nuttx/configs/nucleus2g/ostest/Make.defs +++ b/nuttx/configs/nucleus2g/ostest/Make.defs @@ -127,34 +127,6 @@ ifeq ($(CONFIG_DEBUG_SYMBOLS),y) LDFLAGS += -g endif -define PREPROCESS - @echo "CPP: $1->$2" - @$(CPP) $(CPPFLAGS) $1 -o $2 -endef - -define COMPILE - @echo "CC: $1" - @$(CC) -c $(CFLAGS) $1 -o $2 -endef - -define COMPILEXX - @echo "CXX: $1" - @$(CXX) -c $(CXXFLAGS) $1 -o $2 -endef - -define ASSEMBLE - @echo "AS: $1" - @$(CC) -c $(AFLAGS) $1 -o $2 -endef - -define ARCHIVE - echo "AR: $2"; \ - $(AR) $1 $2 || { echo "$(AR) $1 $2 FAILED!" ; exit 1 ; } -endef - -define CLEAN - @rm -f *.o *.a -endef HOSTCC = gcc HOSTINCLUDES = -I. diff --git a/nuttx/configs/nucleus2g/usbserial/Make.defs b/nuttx/configs/nucleus2g/usbserial/Make.defs index 92f540a1f..5e473323e 100644 --- a/nuttx/configs/nucleus2g/usbserial/Make.defs +++ b/nuttx/configs/nucleus2g/usbserial/Make.defs @@ -127,34 +127,6 @@ ifeq ($(CONFIG_DEBUG_SYMBOLS),y) LDFLAGS += -g endif -define PREPROCESS - @echo "CPP: $1->$2" - @$(CPP) $(CPPFLAGS) $1 -o $2 -endef - -define COMPILE - @echo "CC: $1" - @$(CC) -c $(CFLAGS) $1 -o $2 -endef - -define COMPILEXX - @echo "CXX: $1" - @$(CXX) -c $(CXXFLAGS) $1 -o $2 -endef - -define ASSEMBLE - @echo "AS: $1" - @$(CC) -c $(AFLAGS) $1 -o $2 -endef - -define ARCHIVE - echo "AR: $2"; \ - $(AR) $1 $2 || { echo "$(AR) $1 $2 FAILED!" ; exit 1 ; } -endef - -define CLEAN - @rm -f *.o *.a -endef HOSTCC = gcc HOSTINCLUDES = -I. diff --git a/nuttx/configs/nucleus2g/usbstorage/Make.defs b/nuttx/configs/nucleus2g/usbstorage/Make.defs index c71349c74..35487f85b 100644 --- a/nuttx/configs/nucleus2g/usbstorage/Make.defs +++ b/nuttx/configs/nucleus2g/usbstorage/Make.defs @@ -127,34 +127,6 @@ ifeq ($(CONFIG_DEBUG_SYMBOLS),y) LDFLAGS += -g endif -define PREPROCESS - @echo "CPP: $1->$2" - @$(CPP) $(CPPFLAGS) $1 -o $2 -endef - -define COMPILE - @echo "CC: $1" - @$(CC) -c $(CFLAGS) $1 -o $2 -endef - -define COMPILEXX - @echo "CXX: $1" - @$(CXX) -c $(CXXFLAGS) $1 -o $2 -endef - -define ASSEMBLE - @echo "AS: $1" - @$(CC) -c $(AFLAGS) $1 -o $2 -endef - -define ARCHIVE - echo "AR: $2"; \ - $(AR) $1 $2 || { echo "$(AR) $1 $2 FAILED!" ; exit 1 ; } -endef - -define CLEAN - @rm -f *.o *.a -endef HOSTCC = gcc HOSTINCLUDES = -I. |