]> git.baikalelectronics.ru Git - arm-tf.git/commit
build: permit multiple linker scripts
authorChris Kay <chris.kay@arm.com>
Mon, 16 Jan 2023 18:57:26 +0000 (18:57 +0000)
committerChris Kay <chris.kay@arm.com>
Fri, 10 Feb 2023 17:01:47 +0000 (17:01 +0000)
commita6ff0067ab57d848d3fb28a3eb2b47e6cf2a6092
tree1c1c94aaac3d8ab1fca05e0bff9e5d2be8bb956d
parent82274936374bf630bf5256370e93a531fdda6372
build: permit multiple linker scripts

This change allows platforms to provide more than one linker script to
any image utilizing the `MAKE_BL` build system macro.

This is already done by some MediaTek platforms via the
`EXTRA_LINKERFILE` build system variable, which has now been removed.

In its place, additional linker scripts may be added to the
`<IMAGE>_LINKER_SCRIPT_SOURCES` variable.

BREAKING-CHANGE: The `EXTRA_LINKERFILE` build system variable has been
 replaced with the `<IMAGE>_LINKER_SCRIPT_SOURCES` variable. See the
 commit message for more information.

Change-Id: I3f0b69200d6a4841fd158cd09344ce9e67047271
Signed-off-by: Chris Kay <chris.kay@arm.com>
make_helpers/build_macros.mk
plat/mediatek/build_helpers/mtk_build_helpers.mk
plat/mediatek/build_helpers/mtk_build_helpers_epilogue.mk