Skip to contentSkip to conversation

openobex: disable building documentation

PATCH In review [email protected] 2 participants 2 messages Aug 17, 2017 – Aug 18, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openobex: disable building documentation

From: Chen Qi <[email protected]>

When building openobex on a host without any connection to outside, the configure fails as it tries to get some url from outside to build the documentation.

Fix this problem by disabling building documentation.

---
 meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb +1 -0
index 053c80a..2db48f3 100644
@@ -21,6 +21,7 @@ inherit cmake pkgconfig
 S = "${WORKDIR}/${BP}-Source"
 
 EXTRA_OECONF = " -DCMAKE_SKIP_RPATH=ON "
+EXTRA_OECMAKE += "-DBUILD_DOCUMENTATION=OFF"
 
 #--enable-apps --enable-syslog
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 19 lines · On 2017-08-16 11:35 PM, [email protected] wrote:

From: Chen Qi <[email protected]>

When building openobex on a host without any connection to outside, the configure fails as it tries to get some url from outside to build the documentation.

Fix this problem by disabling building documentation.

---
  meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb | 1 +
  1 file changed, 1 insertion(+)
meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb +0 -0
index 053c80a..2db48f3 100644

meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb inherit cmake pkgconfig · line 27

Quoted 7 lines
meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb +1 -0
@@ -21,6 +21,7 @@ inherit cmake pkgconfig
  S = "${WORKDIR}/${BP}-Source"
 
  EXTRA_OECONF = " -DCMAKE_SKIP_RPATH=ON "
+EXTRA_OECMAKE += "-DBUILD_DOCUMENTATION=OFF"
 
  #--enable-apps --enable-syslog
 

Okay as a work-around. I guess.

What would it take to add the additional data/src used to build the docs?

Signature · 2 lines
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada, K2K 2W5