From 312a25202b2f171d4c1ff58afb39acf55e5fc6ba Mon Sep 17 00:00:00 2001 From: Usama Arif Date: Mon, 11 Jan 2021 17:11:27 +0000 Subject: [PATCH] arm-bsp/images: artifacts image for tc0 Trusted-firmware-a is the final component to be built with the rest of the components dependent of it, therefore building tc0-artifacts-image which depends on trusted-firmware-a will build all the required binaries. Signed-off-by: Usama Arif Change-Id: I57760a339da1601bd66e3dd752a7b2814e84bbb8 Signed-off-by: Jon Mason --- meta-arm-bsp/documentation/tc0.md | 6 +++--- .../recipes-bsp/images/tc0-artifacts-image.bb | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 meta-arm-bsp/recipes-bsp/images/tc0-artifacts-image.bb diff --git a/meta-arm-bsp/documentation/tc0.md b/meta-arm-bsp/documentation/tc0.md index f11b7815..9ea4f7c2 100644 --- a/meta-arm-bsp/documentation/tc0.md +++ b/meta-arm-bsp/documentation/tc0.md @@ -16,11 +16,11 @@ In the local.conf file, MACHINE should be set as follows: MACHINE = "tc0" To build the required binaries for tc0, run the commmand: -```bash$ bitbake trusted-firmware-a``` +```bash$ bitbake tc0-artifacts-image``` Trusted-firmware-a is the final component to be built with the rest of the -components dependent of it, therefore building trusted-firmware-a will -build all the required binaries. +components dependent of it, therefore building tc0-artifacts-image which depends +on trusted-firmware-a will build all the required binaries. ## Running To run the produced binaries in a TC0 Fixed Virtual Platform please get diff --git a/meta-arm-bsp/recipes-bsp/images/tc0-artifacts-image.bb b/meta-arm-bsp/recipes-bsp/images/tc0-artifacts-image.bb new file mode 100644 index 00000000..43c1edac --- /dev/null +++ b/meta-arm-bsp/recipes-bsp/images/tc0-artifacts-image.bb @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (c) 2020 Arm Limited +# +SUMMARY = "Total Compute Images" +DESCRIPTION = "Build all the images required for Total Compute platform" +LICENSE = "Apache-2.0" + +inherit nopackages + +# The last image to be built is trusted-firmware-a +DEPENDS += " trusted-firmware-a"