From d51b75ae6d79f878b4ad249c6ca7b22f9c5254a2 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 23 Apr 2012 00:03:18 +0200 Subject: [PATCH] compat-wireless: build alx for kernel > 2.6.27 When compiling against kernel <= 2.6.27 alx has build errors so use atl1c there instead. The logic was wrong before. Signed-off-by: Hauke Mehrtens Signed-off-by: Luis R. Rodriguez --- config.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config.mk b/config.mk index 584189b22476..e8ee33382acc 100644 --- a/config.mk +++ b/config.mk @@ -400,13 +400,13 @@ export CONFIG_MWL8K=m export CONFIG_ATL1=m export CONFIG_ATL2=m export CONFIG_ATL1E=m -ifdef CONFIG_COMPAT_KERNEL_2_6_27 -export CONFIG_ATL1C=n -export CONFIG_ALX=m -else #CONFIG_COMPAT_KERNEL_2_6_27 +ifdef CONFIG_COMPAT_KERNEL_2_6_28 +export CONFIG_ATL1C=m +export CONFIG_ALX=n +else #CONFIG_COMPAT_KERNEL_2_6_28 export CONFIG_ATL1C=n export CONFIG_ALX=m -endif #CONFIG_COMPAT_KERNEL_2_6_27 +endif #CONFIG_COMPAT_KERNEL_2_6_28 ifdef CONFIG_WIRELESS_EXT export CONFIG_HERMES=m -- 2.30.2