diff mbox series

[1/1] arm-bsp/trusted-firmware-m: disable libmetal doc generation

Message ID 20240222130813.380961-2-bence.balogh@arm.com
State New
Headers show
Series Disable libmetal doc generation for CS1000 in TFM | expand

Commit Message

bence.balogh@arm.com Feb. 22, 2024, 1:08 p.m. UTC
From: Bence Balogh <bence.balogh@arm.com>

The TF-M configuration step can fail if the doxygen executable is found.
This commit disables the doc generation until this is fixed in the
upstream repos.

Signed-off-by: Bence Balogh <bence.balogh@arm.com>
---
 .../trusted-firmware-m/trusted-firmware-m-corstone1000.inc      | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m-corstone1000.inc b/meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m-corstone1000.inc
index f4623f50..19ad2897 100644
--- a/meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m-corstone1000.inc
+++ b/meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m-corstone1000.inc
@@ -19,6 +19,8 @@  SRC_URI += "git://github.com/OpenAMP/libmetal.git;protocol=https;branch=main;nam
            "
 SRCREV_libmetal = "28fa2351d6a8121ce6c1c2ac5ee43ce08d38dbae"
 EXTRA_OECMAKE += "-DLIBMETAL_SRC_PATH=${S}/../libmetal -DLIBMETAL_BIN_PATH=${B}/libmetal-build"
+# The configuration can fail if libmetal tries to generate the docs and the doxygen bin is found
+EXTRA_OECMAKE += "-DWITH_DOC=False"
 
 # OpenAMP v2023.04.0
 LICENSE += "& BSD-2-Clause & BSD-3-Clause"