diff options
author | Ronald Cron <ronald.cron@arm.com> | 2018-05-30 16:11:02 +0200 |
---|---|---|
committer | Ronald Cron <ronald.cron@arm.com> | 2018-06-08 11:46:12 +0200 |
commit | cf5c8712b0f8ba718e3d5a948c16e519f73b8824 (patch) | |
tree | 9da62c2a209c99154f78b654aefb908e8a1cf4cf /arch/src/Makefile | |
parent | 3bd63de8453e42c8f3ac34b6d6fc87cf58c3547e (diff) |
Add the SCP-firmware framework
Please see doc/framework.md for details.
Co-authored-by: Filipe Rinaldi <filipe.rinaldi@arm.com>
Co-authored-by: Paul Beesley <paul.beesley@arm.com>
Co-authored-by: Chris Kay <chris.kay@arm.com>
Co-authored-by: Elieva Pignat <elieva.pignat@arm.com>
Co-authored-by: Pedro Custodio <pedro.krewinkelcustodio@arm.com>
Change-Id: I1744c60eca295c60b3fabcfafb522fbff5d7306c
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
Diffstat (limited to 'arch/src/Makefile')
-rw-r--r-- | arch/src/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/src/Makefile b/arch/src/Makefile new file mode 100644 index 00000000..1de30bdb --- /dev/null +++ b/arch/src/Makefile @@ -0,0 +1,29 @@ +# +# Arm SCP/MCP Software +# Copyright (c) 2015-2018, Arm Limited and Contributors. All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + +include $(BS_DIR)/cpu.mk + +BS_LIB_NAME = arch + +BS_LIB_SOURCES_host += host.c +BS_LIB_SOURCES_host += host_interrupt.c +ifeq ($(BUILD_HAS_MULTITHREADING),yes) + BS_LIB_SOURCES_host += host_thread.c +endif + +BS_LIB_INCLUDES += $(ARCH_DIR)/include +BS_LIB_INCLUDES += $(FWK_DIR)/include + +# +# Select arch-specific sources and includes +# +BS_LIB_SOURCES += $(BS_LIB_SOURCES_$(BS_ARCH_CPU)) +BS_LIB_SOURCES += $(BS_LIB_SOURCES_$(BS_ARCH_ARCH)) +BS_LIB_INCLUDES += $(BS_LIB_INCLUDES_$(BS_ARCH_CPU)) +BS_LIB_INCLUDES += $(BS_LIB_INCLUDES_$(BS_ARCH_ARCH)) + +include $(BS_DIR)/lib.mk |