aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wild <ewild@sysmocom.de>2019-10-09 15:34:14 +0200
committerEric Wild <ewild@sysmocom.de>2019-10-09 15:34:14 +0200
commit04462d960cdb8b035a6aa7c4dc1d185f26ecd640 (patch)
tree10d258e5f544ab8f451adf3e73e3d82f78073736
parent4c43ab3788e1963e7777d713e0ccd4ccbf736d37 (diff)
allow different prefixes, print memory usagehoernchen/fsm3
-rw-r--r--sysmoOCTSIM/gcc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysmoOCTSIM/gcc/Makefile b/sysmoOCTSIM/gcc/Makefile
index a989d0c..0e1f2c6 100644
--- a/sysmoOCTSIM/gcc/Makefile
+++ b/sysmoOCTSIM/gcc/Makefile
@@ -2,7 +2,7 @@
# Manually edited. Do not overwrite with Automatically-generated file.
################################################################################
-SYSTEM_PREFIX:=/usr/local/arm-none-eabi
+SYSTEM_PREFIX?=/usr/local/arm-none-eabi
EXTRA_LIBS=$(SYSTEM_PREFIX)/lib/libosmocore.a
EXTRA_CFLAGS=-I$(SYSTEM_PREFIX)/include -I../../ccid_common
CROSS_COMPILE= arm-none-eabi-
@@ -165,7 +165,7 @@ $(OUTPUT_FILE_PATH): $(OBJS)
@echo Building target: $@
@echo Invoking: ARM/GNU Linker
$(CC) -o $(OUTPUT_FILE_NAME).elf $(OBJS) $(EXTRA_LIBS) -Wl,--start-group -lm -Wl,--end-group -mthumb \
--Wl,-Map="$(OUTPUT_FILE_NAME).map" --specs=nano.specs -Wl,--gc-sections -mcpu=cortex-m4 \
+-Wl,-Map="$(OUTPUT_FILE_NAME).map" --specs=nano.specs -Wl,--gc-sections -Wl,--print-memory-usage -mcpu=cortex-m4 \
\
-T"../gcc/gcc/same54n19a_dfu.ld" \
-L"../gcc/gcc"