updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / rtl8192ce / kernel-3.0_support.patch
blob6d786d7105b9206af36df73ee8c3a0d8d26c8e81
1 Modifications performed by ValdikSS (iam@valdikss.org.ru). I
2 created this patch from his update to show the changes.
4 diff -Naur rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/Makefile rtl8192ce_linux_2.6.0006.0321.2011-new/HAL/rtl8192/Makefile
5 --- rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/Makefile 2011-02-11 02:37:42.000000000 -0600
6 +++ rtl8192ce_linux_2.6.0006.0321.2011-new/HAL/rtl8192/Makefile 2011-08-03 10:30:32.000000000 -0500
7 @@ -4,7 +4,7 @@
8 KVER := $(shell uname -r)
9 MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
11 -ifeq ($(shell uname -r|cut -d. -f1,2), 2.6)
12 +ifeq ($(shell uname -r|cut -d- -f1), 3.0)
13 ###################### KERNEL 2.6 ################################
14 ifeq ($(NIC_SELECT),RTL8192CE)
15 sub_folder = rtl8192c
16 @@ -739,7 +739,7 @@
17 ###################### KERNEL 2.4 ################################
18 LD := ld
19 KSRC := /lib/modules/$(KVER)/build
20 -CONFIG_FILE := $(KSRC)/include/linux/autoconf.h
21 +CONFIG_FILE := $(KSRC)/include/generated/autoconf.h
22 CFLAGS += -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall
23 CFLAGS += -I$(KSRC)/include -I.
24 CFLAGS += -DMODVERSIONS -DEXPORT_SYMTAB -include $(KSRC)/include/linux/modversions.h