diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-05 11:26:42 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-05 11:26:42 -0600 |
commit | 4cb0ef8ef1978b6dbffc35f3dc42193b54e64b37 (patch) | |
tree | e09ec58e2d2029329d8105dca436656e3f76157a /nuttx/tools/Makefile.export | |
parent | 293d27f3d5253141c1477afbdec1b06aa055349f (diff) | |
download | px4-nuttx-4cb0ef8ef1978b6dbffc35f3dc42193b54e64b37.tar.gz px4-nuttx-4cb0ef8ef1978b6dbffc35f3dc42193b54e64b37.tar.bz2 px4-nuttx-4cb0ef8ef1978b6dbffc35f3dc42193b54e64b37.zip |
The apps/ import build requires that we extract more information from the platform Make.defs file.
Diffstat (limited to 'nuttx/tools/Makefile.export')
-rw-r--r-- | nuttx/tools/Makefile.export | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/nuttx/tools/Makefile.export b/nuttx/tools/Makefile.export index 6dfe72bf9..071dbaa1b 100644 --- a/nuttx/tools/Makefile.export +++ b/nuttx/tools/Makefile.export @@ -1,7 +1,7 @@ ############################################################################ # Makefile.export # -# Copyright (C) 2011 Gregory Nutt. All rights reserved. +# Copyright (C) 2011, 2014 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binary forms, with or without @@ -37,10 +37,10 @@ include $(TOPDIR)/.config include $(EXPORTDIR)/Make.defs ifdef ARCHSCRIPT -# + # ARCHSCRIPT may contain a leading -T; it must not be followed by a space # for this to work. -# + ifeq ($(WINTOOL),y) LDPATH = $(shell cygpath -u $(patsubst -T%,%,$(ARCHSCRIPT))) else @@ -70,7 +70,32 @@ ifdef ARCHSCRIPT endif @echo "ARCHCFLAGS=\"$(ARCHCFLAGS) $(ARCHCPUFLAGS)\"" >> $(EXPORTDIR)/makeinfo.sh @echo "ARCHCXXFLAGS=\"$(ARCHCXXFLAGS) $(ARCHCPUFLAGS)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "ARCHPICFLAGS=\"$(ARCHPICFLAGS)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "ARCHWARNINGS=\"$(ARCHWARNINGS)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "ARCHWARNINGSXX=\"$(ARCHWARNINGSXX)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "ARCHOPTIMIZATION=\"$(ARCHOPTIMIZATION)\"" >> $(EXPORTDIR)/makeinfo.sh @echo "CROSSDEV=\"$(CROSSDEV)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "CC=\"$(CC)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "CXX=\"$(CXX)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "CPP=\"$(CPP)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "LD=\"$(LD)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "AR=\"$(AR)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "NM=\"$(NM)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "OBJCOPY=\"$(OBJCOPY)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "OBJDUMP=\"$(OBJDUMP)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "NXFLATLDFLAGS1=\"$(NXFLATLDFLAGS1)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "NXFLATLDFLAGS2=\"$(NXFLATLDFLAGS2)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "OBJEXT=\"$(OBJEXT)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "LIBEXT=\"$(LIBEXT)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "EXEEXT=\"$(EXEEXT)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "HOSTCC=\"$(HOSTCC)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "HOSTINCLUDES=\"$(HOSTINCLUDES)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "HOSTCFLAGS=\"$(HOSTCFLAGS)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "HOSTLDFLAGS=\"$(HOSTLDFLAGS)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "HOSTEXEEXT=\"$(HOSTEXEEXT)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "DIRLINK=\"$(DIRLINK)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "DIRUNLINK=\"$(DIRUNLINK)\"" >> $(EXPORTDIR)/makeinfo.sh + @echo "MKDEP=\"$(MKDEP)\"" >> $(EXPORTDIR)/makeinfo.sh $(Q) chmod 755 $(EXPORTDIR)/makeinfo.sh clean: |