summaryrefslogtreecommitdiffstats
path: root/package/kmod/kmod.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-11-08 16:25:31 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-08 16:26:12 +0100
commit2fc64312d4840eb777df7e10b8405a364e813b9e (patch)
tree972b0ffb2d9cf3f26b94b2202e138081fc65f114 /package/kmod/kmod.mk
parent8ab9660933b76e53e316e973cacdc1ae3655f3b5 (diff)
downloadbuildroot-novena-2fc64312d4840eb777df7e10b8405a364e813b9e.tar.gz
buildroot-novena-2fc64312d4840eb777df7e10b8405a364e813b9e.zip
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>
Diffstat (limited to 'package/kmod/kmod.mk')
-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 c6ef6a152..28336295d 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