summaryrefslogtreecommitdiff
path: root/nuttx/tools
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-03 20:12:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-03 20:12:59 +0000
commitb052b3b6508e6a9a51017072c541fa0eb8467fdb (patch)
tree17f5df6ecd839ddf1ef41cffc724c6161486e06b /nuttx/tools
parent73705c2998717a35ad81c099340caa518eaed785 (diff)
downloadpx4-nuttx-b052b3b6508e6a9a51017072c541fa0eb8467fdb.tar.gz
px4-nuttx-b052b3b6508e6a9a51017072c541fa0eb8467fdb.tar.bz2
px4-nuttx-b052b3b6508e6a9a51017072c541fa0eb8467fdb.zip
Progress toward a z80 native Windows build -- still needs some work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5411 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools')
-rw-r--r--nuttx/tools/Config.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/nuttx/tools/Config.mk b/nuttx/tools/Config.mk
index 300df7a6a..9ac93e7d0 100644
--- a/nuttx/tools/Config.mk
+++ b/nuttx/tools/Config.mk
@@ -134,10 +134,16 @@ endef
# ASSEMBLE - Default macro to assemble one assembly language file
# Example: $(call ASSEMBLE, in-file, out-file)
#
+# NOTE that the most common toolchain, GCC, uses the compiler to assemble
+# files because this has the advantage of running the C Pre-Processor against
+# the assembly language files. This is not possible with other toolchains;
+# platforms using those other tools should define AS and over-ride this
+# definition in order to use the assembler directly.
+#
# Depends on these settings defined in board-specific Make.defs file
# installed at $(TOPDIR)/Make.defs:
#
-# CC - By default, the C compiler is used to compile assembly lagnuage
+# CC - By default, the C compiler is used to compile assembly language
# files
# AFLAGS - Options to pass to the C+compiler
@@ -164,8 +170,7 @@ endef
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
define ARCHIVE
- @echo "AR: $2"
- $(AR) $1
+ @echo AR: $2
$(Q) $(AR) $1 $(2)
endef
else