diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-02 21:45:51 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-02 21:45:51 +0000 |
commit | 7655205aac2ae8aca89bcd4e3e056bb20a33414c (patch) | |
tree | c73db6ff85714280a38f853813fee6a89fe0a049 /LUFA/Build/lufa.build.in | |
parent | 450ff51b7e3e8c5c8a39760bc05fb763abf780c0 (diff) | |
download | lufa-7655205aac2ae8aca89bcd4e3e056bb20a33414c.tar.gz lufa-7655205aac2ae8aca89bcd4e3e056bb20a33414c.tar.bz2 lufa-7655205aac2ae8aca89bcd4e3e056bb20a33414c.zip |
Clean up CORE build system module, use simple rather than recursive make variables for internal constants and $(shell) derived values.
Diffstat (limited to 'LUFA/Build/lufa.build.in')
-rw-r--r-- | LUFA/Build/lufa.build.in | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/LUFA/Build/lufa.build.in b/LUFA/Build/lufa.build.in index a4b5c363e..3b28db9ee 100644 --- a/LUFA/Build/lufa.build.in +++ b/LUFA/Build/lufa.build.in @@ -76,24 +76,24 @@ CC_FLAGS ?= # Determine the utility prefix to use for the selected architecture
ifeq ($(ARCH), AVR8)
- CROSS = avr-
+ CROSS := avr-
else ifeq ($(ARCH), XMEGA)
- CROSS = avr-
+ CROSS := avr-
else ifeq ($(ARCH), UC3)
- CROSS = avr32-
+ CROSS := avr32-
else
$(error Unsupported architecture.)
endif
# Output Messages
-MSG_BUILD_BEGIN = Begin compilation of project \"$(TARGET)\"...
-MSG_BUILD_END = Finished building project \"$(TARGET)\".
-MSG_COMPILE_CMD = ' [CC] :'
-MSG_REMOVE_CMD = ' [RM] :'
-MSG_LINKER_CMD = ' [LNK] :'
-MSG_SIZE_CMD = ' [SIZE] :'
-MSG_OBJCPY_CMD = ' [OBJCPY] :'
-MSG_OBJDMP_CMD = ' [OBJDMP] :'
+MSG_BUILD_BEGIN := Begin compilation of project \"$(TARGET)\"...
+MSG_BUILD_END := Finished building project \"$(TARGET)\".
+MSG_COMPILE_CMD := ' [CC] :'
+MSG_REMOVE_CMD := ' [RM] :'
+MSG_LINKER_CMD := ' [LNK] :'
+MSG_SIZE_CMD := ' [SIZE] :'
+MSG_OBJCPY_CMD := ' [OBJCPY] :'
+MSG_OBJDMP_CMD := ' [OBJDMP] :'
# Convert input source file list to differentiate them by type
C_SOURCE = $(filter %.c, $(SRC))
@@ -138,8 +138,8 @@ ifneq ($(UNKNOWN_SOURCE),) endif
# Determine flags to pass to the size utility based on its reported features
-SIZE_MCU_FLAG = $(shell $(CROSS)size --help | grep -- --mcu > /dev/null && echo --mcu=$(MCU) )
-SIZE_FORMAT_FLAG = $(shell $(CROSS)size --help | grep -- --format=.*avr > /dev/null && echo --format=avr )
+SIZE_MCU_FLAG := $(shell $(CROSS)size --help | grep -- --mcu > /dev/null && echo --mcu=$(MCU) )
+SIZE_FORMAT_FLAG := $(shell $(CROSS)size --help | grep -- --format=.*avr > /dev/null && echo --format=avr )
begin:
|