diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -20,7 +20,7 @@ LIBRARIES_PATH := $(SRCROOT)/libraries LDDIR := $(SUPPORT_PATH)/ld # Support files for this Makefile MAKEDIR := $(SUPPORT_PATH)/make -BOARD_INCLUDE_DIR := $(MAKEDIR)/board-includes +BOARD_INCLUDE_DIR ?= $(MAKEDIR)/board-includes ## ## Target-specific configuration. This determines some compiler and @@ -66,10 +66,10 @@ GLOBAL_CFLAGS := -Os -g3 -gdwarf-2 -nostdlib \ -DBOOTLOADER_$(BOOTLOADER) GLOBAL_CXXFLAGS := -fno-rtti -fno-exceptions -Wall $(TARGET_FLAGS) GLOBAL_ASFLAGS := -x assembler-with-cpp $(TARGET_FLAGS) -LDFLAGS = $(TARGET_LDFLAGS) $(TOOLCHAIN_LDFLAGS) -mcpu=cortex-m3 -mthumb \ - -Xlinker --gc-sections \ - -Xassembler --march=armv7-m -Wall -# -Xlinker --print-gc-sections \ +LDFLAGS = $(TARGET_LDFLAGS) $(TOOLCHAIN_LDFLAGS) +LDFLAGS += -Xlinker --gc-sections +#LDFLAGS += -Xlinker --print-gc-sections +LDFLAGS += -Xassembler -Wall ## ## Set all submodules here |