From 425c605a6d4270b48833d314ba880c0b3a5a1eec Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Tue, 30 Apr 2019 21:36:26 +0200 Subject: [PATCH] libmodbus: add documentation PACKAGECONFIG 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 Signed-off-by: Khem Raj --- 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 a01659a72d..b502177aa4 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