diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2012-11-08 16:25:31 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-11-08 16:26:12 +0100 |
commit | 2fc64312d4840eb777df7e10b8405a364e813b9e (patch) | |
tree | 972b0ffb2d9cf3f26b94b2202e138081fc65f114 /package/kmod | |
parent | 8ab9660933b76e53e316e973cacdc1ae3655f3b5 (diff) | |
download | buildroot-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')
-rw-r--r-- | package/kmod/kmod.mk | 4 |
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 |