summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-11-08 15:25:31 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-11-08 15:26:12 (GMT)
commit2fc64312d4840eb777df7e10b8405a364e813b9e (patch)
tree972b0ffb2d9cf3f26b94b2202e138081fc65f114
parent8ab9660933b76e53e316e973cacdc1ae3655f3b5 (diff)
downloadbuildroot-2fc64312d4840eb777df7e10b8405a364e813b9e.tar.gz
buildroot-2fc64312d4840eb777df7e10b8405a364e813b9e.tar.bz2
kmod: don't build documentation if not needed
No sense in building it if we throw it away in target-finalize anyway. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/kmod/kmod.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index c6ef6a1..2833629 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -4,6 +4,10 @@ KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod/
KMOD_INSTALL_STAGING = YES
KMOD_DEPENDENCIES = host-pkgconf
+ifneq ($(BR2_HAVE_DOCUMENTATION),y)
+KMOD_CONF_OPT += --disable-manpages
+endif
+
ifeq ($(BR2_PACKAGE_ZLIB),y)
KMOD_DEPENDENCIES += zlib
KMOD_CONF_OPT += --with-zlib