diff options
author | Chris Brand <chris.brand@cypress.com> | 2019-12-04 10:25:46 -0800 |
---|---|---|
committer | David Hu <david.hu@arm.com> | 2019-12-05 08:34:31 +0000 |
commit | 776606676af9114c632b70e71796bd8acadd6361 (patch) | |
tree | e402d1d1b55f2a2a49ded2542969ec262b247f8e /app | |
parent | d246041ff5705697718fb389a13a069d519241f3 (diff) | |
download | trusted-firmware-m-776606676af9114c632b70e71796bd8acadd6361.tar.gz |
Core: Add support for ALL_SRC_ASM
Similar to ALL_SRC_C, for use with (platform) assembly code that
is common to secure, non-secure, and BL2.
Note that bl2/ext/mcuboot/CMakeLists.txt already supports it.
Change-Id: I01bac335d0915b6d4750bdc46074a02f44de977a
Signed-off-by: Chris Brand <chris.brand@cypress.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 155492e360..9112c8881d 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -155,7 +155,7 @@ embedded_set_target_linker_file(TARGET ${PROJECT_NAME} PATH "${NS_SCATTER_FILE_ #Create an object library to avoid compiling all source files twice, when two executables #with different memory map need to be linked(BL2 non-swapping) set(PROJECT_OBJ_LIB ${PROJECT_NAME}_obj_lib) -add_library(${PROJECT_OBJ_LIB} OBJECT ${ALL_SRC_C} ${ALL_SRC_C_NS} ${ALL_SRC_ASM_NS} ${NS_APP_SRC}) +add_library(${PROJECT_OBJ_LIB} OBJECT ${ALL_SRC_C} ${ALL_SRC_C_NS} ${ALL_SRC_ASM} ${ALL_SRC_ASM_NS} ${NS_APP_SRC}) #Set common compiler flags config_setting_shared_compiler_flags(${PROJECT_OBJ_LIB}) |