aboutsummaryrefslogtreecommitdiff
path: root/bl32/tsp
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2014-02-12 15:54:48 +0000
committerDan Handley <dan.handley@arm.com>2014-03-05 16:21:14 +0000
commit6d55d109a31139c316b28b1b4b307a9f1ec0924d (patch)
treef807b6849d04f252736b1443169f83b8e5519b1a /bl32/tsp
parentcf6eeb8a60bfb8c6b2e49c3839eed173d814f2ba (diff)
downloadtrusted-firmware-a-6d55d109a31139c316b28b1b4b307a9f1ec0924d.tar.gz
Update Makefiles to get proper dependency checking working.
This change requires all platforms to now specify a list of source files rather than object files. New source files should preferably be specified by using the path as well and we should add this in the future for all files so we can remove use of vpath. This is desirable because vpath hides issues like the fact that BL2 currently pulls in a BL1 file bl1/aarch64/early_exceptions.S and if in the future we added bl2/aarch64/early_exceptions.S then it's likely only one of the two version would be used for both bootloaders. This change also removes the 'dump' build target and simply gets bootloaders to always generate a dump file. At the same time the -x option is added so the section headers and symbols table are listed. Fixes ARM-software/tf-issues#11 Change-Id: Ie38f7be76fed95756c8576cf3f3ea3b7015a18dc Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'bl32/tsp')
-rw-r--r--bl32/tsp/tsp-fvp.mk7
-rw-r--r--bl32/tsp/tsp.mk14
2 files changed, 9 insertions, 12 deletions
diff --git a/bl32/tsp/tsp-fvp.mk b/bl32/tsp/tsp-fvp.mk
index 2bf748e531..278d358d93 100644
--- a/bl32/tsp/tsp-fvp.mk
+++ b/bl32/tsp/tsp-fvp.mk
@@ -33,7 +33,6 @@ vpath %.c ${PLAT_BL2_C_VPATH}
vpath %.S ${PLAT_BL2_S_VPATH}
# TSP source files specific to FVP platform
-BL32_OBJS += bl32_plat_setup.o \
- bl32_setup_xlat.o \
- plat_common.o \
- ${PLAT_BL_COMMON_OBJS}
+BL32_SOURCES += bl32_plat_setup.c \
+ bl32_setup_xlat.c \
+ plat_common.c
diff --git a/bl32/tsp/tsp.mk b/bl32/tsp/tsp.mk
index bc23315e43..a16c97026c 100644
--- a/bl32/tsp/tsp.mk
+++ b/bl32/tsp/tsp.mk
@@ -38,16 +38,14 @@ vpath %.S lib/arch/${ARCH} \
include \
lib/sync/locks/exclusive
-BL32_OBJS += tsp_entrypoint.o \
- tsp_main.o \
- tsp_request.o \
- spinlock.o \
- early_exceptions.o \
- ${BL_COMMON_OBJS}
+BL32_SOURCES += tsp_entrypoint.S \
+ tsp_main.c \
+ tsp_request.S \
+ spinlock.S \
+ early_exceptions.S
BL32_ENTRY_POINT := tsp_entrypoint
-BL32_MAPFILE := tsp.map
-BL32_LINKERFILE := tsp.ld
+BL32_LINKERFILE := tsp.ld.S
vpath %.ld.S ${BL32_ROOT}
vpath %.c ${BL32_ROOT}