libmodbus: add documentation PACKAGECONFIG
PATCH 1/1 libmodbus: add documentation PACKAGECONFIG
From: Ming Liu <[email protected]>
asciidoc, xmlto programs are being checked to decide if documentation should be generated or not depending on if they are present, this will definitely lead to a non-deterministic build.
Fix it by adding documentation to PACKAGECONFIG.
Signed-off-by Ming Liu <[email protected]>
--- meta-oe/recipes-extended/libmodbus/libmodbus.inc | 3 +++ 1 file changed, 3 insertions(+)
meta-oe/recipes-extended/libmodbus/libmodbus.inc +3 -0
@@ -10,4 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c" SRC_URI = "http://libmodbus.org/releases/${BP}.tar.gz" +PACKAGECONFIG ??= "" +PACKAGECONFIG[documentation] = "--with-documentation,--without-documentation,asciidoc-native xmlto-native" + inherit autotools pkgconfig
Signature · 1 line
2.7.4