diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2014-01-13 12:37:03 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-01-20 18:45:04 +0000 |
commit | 25cff83ee4300f26d5b7661ad6359525aaa36b94 (patch) | |
tree | 99eb00fe80b041dbaaf54ed8403aab6744154c59 /bl2 | |
parent | 5443f2be407f23a19c31564121683ddc24b982e8 (diff) | |
download | arm-trusted-firmware-25cff83ee4300f26d5b7661ad6359525aaa36b94.tar.gz |
Build system: Fixes #2: Add multi-platform support
Move all explicit platform or architecture specific references
into a new platform.mk file that is defined for each platform.
Change-Id: I9d6320d1ba957e0cc8d9b316b3578132331fa428
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'bl2')
-rw-r--r-- | bl2/bl2.mk | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -28,21 +28,22 @@ # POSSIBILITY OF SUCH DAMAGE. # -vpath %.c common/ drivers/arm/interconnect/cci-400/ \ - drivers/arm/peripherals/pl011 common/ lib/ \ - plat/fvp plat/fvp/${ARCH} lib/semihosting arch/aarch64/ \ - lib/stdlib +vpath %.c common/ lib/ \ + plat/${PLAT} plat/${PLAT}/${ARCH} arch/${ARCH} \ + ${PLAT_BL2_C_VPATH} -vpath %.S lib/arch/aarch64 \ - lib/semihosting/aarch64 \ - include lib/sync/locks/exclusive +vpath %.S lib/arch/${ARCH} \ + include lib/sync/locks/exclusive \ + ${PLAT_BL2_S_VPATH} -BL2_ASM_OBJS := bl2_entrypoint.o spinlock.o -BL2_C_OBJS := bl2_main.o bl2_plat_setup.o bl2_arch_setup.o fvp_common.o \ +BL2_OBJS += bl2_entrypoint.o \ + bl2_arch_setup.o \ + bl2_main.o \ + spinlock.o \ early_exceptions.o + BL2_ENTRY_POINT := bl2_entrypoint BL2_MAPFILE := bl2.map BL2_LINKERFILE := bl2.ld -BL2_OBJS := $(BL2_C_OBJS) $(BL2_ASM_OBJS) CFLAGS += $(DEFINES) |