From 14c47261c2a90d6aa96bf3ff83028eb9404c10ce Mon Sep 17 00:00:00 2001 From: Mike Crowe Date: Wed, 24 Aug 2022 16:35:39 +0100 Subject: yasm: Only depend on xmlto when docs are enabled The yasm build system only requires xmlto when building its documentation. It automatically detects whether it is present at configure time. Signed-off-by: Mike Crowe Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/yasm/yasm_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/yasm/yasm_git.bb b/meta-oe/recipes-devtools/yasm/yasm_git.bb index 044fcbea74..3dd382be1f 100644 --- a/meta-oe/recipes-devtools/yasm/yasm_git.bb +++ b/meta-oe/recipes-devtools/yasm/yasm_git.bb @@ -4,7 +4,8 @@ HOMEPAGE = "http://www.tortall.net/projects/yasm/" LIC_FILES_CHKSUM = "file://COPYING;md5=a12d8903508fb6bfd49d8d82c6170dd9" -DEPENDS += "flex-native bison-native xmlto-native" +DEPENDS += "flex-native bison-native" +PACKAGECONFIG[docs] = ",,xmlto-native," PV = "1.3.0+git${SRCPV}" # v1.3.0 -- cgit v1.2.3-54-g00ecf