Patchwork [25/29] package/qemu: option to build the docs

login
register
mail settings
Submitter Yann E. MORIN
Date Feb. 3, 2013, 2:07 p.m.
Message ID <05320c25dbd8e25c0464b5f154cabc35918bada0.1359899108.git.yann.morin.1998@free.fr>
Download mbox | patch
Permalink /patch/217783/
State Changes Requested
Headers show

Comments

Yann E. MORIN - Feb. 3, 2013, 2:07 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 d18b3ec..3a09cdc 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -262,6 +262,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
+
 # Post-install removal of unwanted keymaps:
 # - if we want 'all', we do nothing;
 # - if we want none, we completely remove the keymap dir
@@ -337,7 +343,6 @@  define QEMU_CONFIGURE_CMDS
 	        --disable-brlapi                    \
 	        --disable-fdt                       \
 	        --disable-guest-base                \
-	        --disable-docs                      \
 	        --disable-rbd                       \
 	        --disable-smartcard                 \
 	        --disable-strip                     \