Search Linux Wireless

Re: [PATCH] Warp speed building

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Kiszka wrote:
> Including config.mk again when kbuild called into the top level Makefile
> slowed down the build process awfully. The reason for this were all the
> dynamic, shell-based variable evaluations that were called over and over
> again. Fortunately, including config.mk only in the outer Makefile run
> appears to be enough. So let's remove this warp speed blocker.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxx>
> ---
>  Makefile |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 0ab7d27..49a786a 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -13,8 +13,6 @@ OLD_IWL=$(shell $(MODPROBE) -l iwl4965)
>  
>  ifneq ($(KERNELRELEASE),)
>  
> -include $(M)/$(COMPAT_CONFIG)
> -
>  NOSTDINC_FLAGS := -I$(M)/include/ -include $(M)/include/net/compat.h $(CFLAGS)
>  
>  obj-y := net/wireless/ net/mac80211/ net/rfkill/

Hi Jan,

I have tested this patch and it reduced the build time for me from 3:30
to 2:40 minutes on a dual core system. I can not see any changes, expect
the reduced build time on my system. The resulting modules are still the
same.

Hauke

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux