From 2fc64312d4840eb777df7e10b8405a364e813b9e Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 8 Nov 2012 16:25:31 +0100 Subject: [PATCH] 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 --- package/kmod/kmod.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk index c6ef6a152d..28336295df 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 -- 2.30.2