projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ab9660
)
kmod: don't build documentation if not needed
author
Peter Korsgaard
<jacmet@sunsite.dk>
Thu, 8 Nov 2012 15:25:31 +0000
(16:25 +0100)
committer
Peter Korsgaard
<jacmet@sunsite.dk>
Thu, 8 Nov 2012 15:26:12 +0000
(16:26 +0100)
No sense in building it if we throw it away in target-finalize anyway.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/kmod/kmod.mk
patch
|
blob
|
history
diff --git
a/package/kmod/kmod.mk
b/package/kmod/kmod.mk
index c6ef6a152d2f0b7b9ac967494b08ee1535af2353..28336295df7402df5b5f581b3b19f154f0a5263e 100644
(file)
--- 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