@@ -153,4 +153,15 @@ config BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES
Names of generated image files that are installed in the
output images/ directory.
+config BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_TARGETS
+ string "Additional ATF targets options"
+ help
+ Additional target options for ATF build
+ E.G. 'pbl'
+
+config BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_DEPENDENCIES
+ string "Additional AFT dependencies"
+ help
+ Additional dependencies for ATF build, E.G. "host-qoriq-rcw"
+
endif
@@ -92,6 +92,12 @@ endif
ARM_TRUSTED_FIRMWARE_MAKE_TARGETS = all
+ARM_TRUSTED_FIRMWARE_MAKE_TARGETS += \
+ $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_TARGETS))
+
+ARM_TRUSTED_FIRMWARE_DEPENDENCIES += \
+ $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_DEPENDENCIES))
+
ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP),y)
ARM_TRUSTED_FIRMWARE_MAKE_TARGETS += fip
ARM_TRUSTED_FIRMWARE_DEPENDENCIES += host-openssl
two new options for arm-trusted-firmware: 1. BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_TARGETS - for additional targets, E.G. "pbl". 2. BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_DEPENDENCIES - for additional dependencies, E.G. "host-qoriq-rcw" Signed-off-by: Changming Huang <jerry.huang@nxp.com> changes since v2: 1. introduce option BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_TARGETS. 2. introduce option BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_DEPENDENCIES. 3. rewrite the makefile with these two options changes since v1: 1. Use option BR2_PACKAGE_HOST_RCW_ATF as the condition for RCW used by ATF. --- boot/arm-trusted-firmware/Config.in | 11 +++++++++++ boot/arm-trusted-firmware/arm-trusted-firmware.mk | 6 ++++++ 2 files changed, 17 insertions(+)