Skip to contentSkip to conversation

libmodbus: add documentation PACKAGECONFIG

PATCH New [email protected] 1 participant 1 message Apr 30, 2019

lore
Share & tools
lore
#0 lore raw

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.

---
 meta-oe/recipes-extended/libmodbus/libmodbus.inc | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-extended/libmodbus/libmodbus.inc +3 -0
index a01659a..b502177 100644
@@ -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