From b052b3b6508e6a9a51017072c541fa0eb8467fdb Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 3 Dec 2012 20:12:59 +0000 Subject: 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 --- nuttx/tools/Config.mk | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'nuttx/tools') 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 -- cgit v1.2.3