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 <mac@mcrowe.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Mike Crowe 2022-08-24 16:35:39 +01:00 committed by Khem Raj
parent 8e6b9583d6
commit 14c47261c2

View File

@ -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