diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2018-07-17 15:47:46 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2018-07-18 09:46:53 +0200 |
commit | cfa34d9afb5c8b5931937744c6c838f9d0010823 (patch) | |
tree | 1b3cdfd7278902a8a3b79eaa89e8db099e51c9b9 /mk | |
parent | d58d79ec4ae8db53f9d86c15173730b9a45d7553 (diff) |
Add support for compiling in-tree TAs
Adds support for compiling in-tree TAs. Unless specified via
CFG_USER_TA_TARGET_<ta-name> the TA will be built with the first TA
target (aka TA dev kit, when delivered) specified in the variable
ta-targets which is initialized in core/arch/arm/plat-*/conf.mk.
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compile.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/compile.mk b/mk/compile.mk index 79f7f3b6..35d12ef9 100644 --- a/mk/compile.mk +++ b/mk/compile.mk @@ -149,6 +149,11 @@ $(foreach f, $(srcs), $(eval $(call \ # Handle generated source files, that is, files that are compiled from out-dir $(foreach f, $(gen-srcs), $(eval $(call process_srcs,$(f),$$(basename $f).o))) +# Handle specified source files, that is, files that have a specified path +# but where the object file should go into a specified out directory +$(foreach f, $(spec-srcs), $(eval $(call \ + process_srcs,$(f),$(spec-out-dir)/$$(notdir $$(basename $f)).o))) + $(objs): $(conf-file) define _gen-asm-defines-file |