From 0418996ebaec24f5e48fde24f48522c4cb8b1381 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 19 May 2020 02:34:45 -0400 Subject: [PATCH] trusted-firmware-a: re-enable generation of packages There is no need to inherit nopackages. Even when the output binaries are being consumed from deploy or sysroot, and the main binary package is not meant to be installed in the rootfs, package generation is still useful for SDK use cases and as a way to distribute sources (e.g. src.rpm/SRPM) in Distros. Signed-off-by: Denys Dmytriyenko Reviewed-by: Diego Sueiro Signed-off-by: Jon Mason --- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc index c9c5710d..fe9a4e09 100644 --- a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc +++ b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc @@ -5,7 +5,7 @@ PROVIDES = "virtual/trusted-firmware-a" PACKAGE_ARCH = "${MACHINE_ARCH}" -inherit deploy nopackages +inherit deploy COMPATIBLE_MACHINE ?= "invalid" @@ -158,7 +158,10 @@ do_install() { done } +FILES_${PN} = "/firmware" SYSROOT_DIRS += "/firmware" +# Skip QA check for relocations in .text of elf binaries +INSANE_SKIP_${PN} = "textrel" do_deploy() { cp -rf ${D}/firmware/* ${DEPLOYDIR}/