diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-11 18:36:28 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-11 18:36:28 +0000 |
commit | dab0480f31b5fe4d778a414f3b60e5c5b536b1bd (patch) | |
tree | b69e31da1b3edac0b4815d212b99ac312fb194e2 /nuttx/configs/rgmp/x86/helloxx/Make.defs | |
parent | 5302536d9ce61dfcae635787a7c85820c822ef33 (diff) | |
download | px4-nuttx-dab0480f31b5fe4d778a414f3b60e5c5b536b1bd.tar.gz px4-nuttx-dab0480f31b5fe4d778a414f3b60e5c5b536b1bd.tar.bz2 px4-nuttx-dab0480f31b5fe4d778a414f3b60e5c5b536b1bd.zip |
Completes removal bash ARCHIVE loop; Adds basic Makefile for native windows build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5338 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/rgmp/x86/helloxx/Make.defs')
-rw-r--r-- | nuttx/configs/rgmp/x86/helloxx/Make.defs | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/nuttx/configs/rgmp/x86/helloxx/Make.defs b/nuttx/configs/rgmp/x86/helloxx/Make.defs index d2d0e83ea..b40db563a 100644 --- a/nuttx/configs/rgmp/x86/helloxx/Make.defs +++ b/nuttx/configs/rgmp/x86/helloxx/Make.defs @@ -36,6 +36,7 @@ ############################################################################ include ${TOPDIR}/.config +include ${TOPDIR}/tools/Config.mk RGMPLIBDIR := $(RGMP_INST_DIR)/lib RGMPINCDIR := $(RGMP_INST_DIR)/include @@ -94,35 +95,6 @@ LDFLAGS += -nostdlib EXTRA_LIBS = $(shell $(CC) -print-file-name=libsupc++.a) \ $(shell $(CC) -print-file-name=libgcc_eh.a) -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 - MKDEP = $(TOPDIR)/tools/mkdeps.sh HOSTCC = gcc |