]> code.ossystems Code Review - meta-freescale.git/commit
atf: easy define additional build target
authorTing Liu <ting.liu@nxp.com>
Tue, 21 Apr 2020 09:43:08 +0000 (11:43 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 6 May 2020 18:52:35 +0000 (15:52 -0300)
commit2d84421cd70be36a6a602d635b8707cc591faa1d
tree4cea5d6be64e654a0e3bb569f78fe95ba2921b1a
parent316ba4d676ab078b6a29d7da7d718b18d8b96d27
atf: easy define additional build target

Use variable PLATFORM_ADDITIONAL_TARGET to allow define machine
dependent atf targets. This avoids checking ${MACHINE} in shell
script, and allows define additional build target using overrides.
For exmaple:
PLATFORM_ADDITIONAL_TARGET ??= ""
PLATFORM_ADDITIONAL_TARGET_ls1012afrwy = "ls1012afrwy_512mb"
PLATFORM_ADDITIONAL_TARGET_xxx = "yyy" # for other board

Signed-off-by: Ting Liu <ting.liu@nxp.com>
recipes-bsp/atf/atf_git.bb