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(+)

diff --git a/meta-oe/recipes-extended/libmodbus/libmodbus.inc 
b/meta-oe/recipes-extended/libmodbus/libmodbus.inc
index a01659a..b502177 100644
--- a/meta-oe/recipes-extended/libmodbus/libmodbus.inc
+++ b/meta-oe/recipes-extended/libmodbus/libmodbus.inc
@@ -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
-- 
2.7.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to