From: Luis R. Rodriguez Date: Sun, 1 Apr 2012 03:31:35 +0000 (-0700) Subject: compat-wireless: reorder config includes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=806e24fec1290d54a2689b8a25b66daee0f39b9b;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: reorder config includes We need to include first the kernel config as otherwise we end up trying to compile drivers which were disabled for older kernels. This fixes compilation on 2.6.28 where carl9170 was being compiled although we had disabled it on config.mk. Signed-off-by: Luis R. Rodriguez --- diff --git a/Makefile b/Makefile index 89fb26681c5e..4c66dc6138ba 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,8 @@ DESTDIR?= ifneq ($(KERNELRELEASE),) -include $(COMPAT_CONFIG_CW) include $(COMPAT_CONFIG) +include $(COMPAT_CONFIG_CW) NOSTDINC_FLAGS := -I$(M)/include/ \ -include $(M)/include/linux/compat-2.6.h \