Patchwork [33/36] package/qemu: option to build the docs

login
register
mail settings
Submitter Yann E. MORIN
Date Aug. 12, 2012, 11:54 p.m.
Message ID <1344815664-28138-33-git-send-email-yann.morin.1998@free.fr>
Download mbox | patch
Permalink /patch/176838/
State RFC
Headers show

Comments

Yann E. MORIN - Aug. 12, 2012, 11:54 p.m.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/qemu/qemu.mk |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

Patch

diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index a1d192e..9e3e65f 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -177,6 +177,12 @@  ifeq ($(BR2_PACKAGE_QEMU_BLOBS),)
 QEMU_OPTS += --disable-blobs
 endif
 
+ifeq ($(BR2_HAVE_DOCUMENTATION),y)
+QEMU_OPTS += --enable-docs
+else
+QEMU_OPTS += --disable-docs
+endif
+
 #----------------------------------------------------------------------------
 # Package hooks
 
@@ -262,7 +268,6 @@  define QEMU_CONFIGURE_CMDS
 	        --disable-vnc-sasl                  \
 	        --disable-brlapi                    \
 	        --disable-guest-base                \
-	        --disable-docs                      \
 	        --disable-rbd                       \
 	        --disable-guest-agent               \
 	        --disable-smartcard                 \