Search Linux Wireless

[PATCH 1/2] compat-wireless: include config.mk early

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

 



From: Johannes Berg <johannes.berg@xxxxxxxxx>

Not doing so can cause extreme build slowdowns,
somehow that confuses the kernel's Makefiles into
calculating the size of every single file all the
time (the calculation code is part of compressing
the kernel with bzip2 etc. so that's very strange.)

Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
---
 Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 67f8e84..bbd77f7 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,6 @@ DESTDIR?=
 
 ifneq ($(KERNELRELEASE),)
 
-include $(COMPAT_CONFIG_CW)
 include $(COMPAT_CONFIG)
 
 NOSTDINC_FLAGS := -I$(M)/include/ \
@@ -68,6 +67,8 @@ export COMPAT_AUTOCONF=include/linux/compat_autoconf.h
 export CREL_PRE:=.compat_autoconf_
 export CREL_CHECK:=$(PWD)/$(CREL_PRE)$(CREL)
 
+include $(COMPAT_CONFIG_CW)
+
 all: modules
 
 $(COMPAT_CONFIG): ;
-- 
1.7.9.1



--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux