From 806e24fec1290d54a2689b8a25b66daee0f39b9b Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Sat, 31 Mar 2012 20:31:35 -0700 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- 2.30.2