Commit 582133a8 authored by Sathees Balya's avatar Sathees Balya
Browse files

romlib: Add map file generation



Change-Id: I1f377d2d94c0fe8d2d9e62614f4a8e2dfcd9e745
Signed-off-by: default avatarSathees Balya <sathees.balya@arm.com>
parent 032e3a6c
...@@ -15,6 +15,7 @@ LIBS = -lmbedtls -lfdt -lc ...@@ -15,6 +15,7 @@ LIBS = -lmbedtls -lfdt -lc
INC = $(INCLUDES:-I%=-I../../%) INC = $(INCLUDES:-I%=-I../../%)
PPFLAGS = $(INC) $(DEFINES) -P -D__ASSEMBLY__ -D__LINKER__ -MD -MP -MT $(BUILD_DIR)/romlib.ld PPFLAGS = $(INC) $(DEFINES) -P -D__ASSEMBLY__ -D__LINKER__ -MD -MP -MT $(BUILD_DIR)/romlib.ld
OBJS = $(BUILD_DIR)/jmptbl.o $(BUILD_DIR)/init.o OBJS = $(BUILD_DIR)/jmptbl.o $(BUILD_DIR)/init.o
MAPFILE = ../../$(BUILD_PLAT)/romlib/romlib.map
V ?= 0 V ?= 0
ifeq ($(V),0) ifeq ($(V),0)
...@@ -25,7 +26,7 @@ endif ...@@ -25,7 +26,7 @@ endif
ifeq ($(DEBUG),1) ifeq ($(DEBUG),1)
CFLAGS := -g CFLAGS := -g
LDFLAGS := -g LDFLAGS := -g --gc-sections -O1 -Map=$(MAPFILE)
endif endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment