summaryrefslogtreecommitdiff
path: root/recipes-kernel/rsi-91x/files/rsi-91x-config.patch
blob: 448c7b2f8bfe81a89cb4dc10b1d2afaca23a06a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff --git a/rsi/Makefile b/rsi/Makefile
index 0c610f8..a7ec0cc 100644
--- a/rsi/Makefile
+++ b/rsi/Makefile
@@ -17,7 +17,7 @@ KERNELDIR=/lib/modules/$(KERNELRELEASE)/build
 #CONFIG_RSI_BT_ALONE=y
 
 # Uncomment below line for Wi-Fi BT coex mode
-#CONFIG_RSI_COEX_MODE=y
+CONFIG_RSI_COEX_MODE=y
 
 # Uncomment below line for WLAN + Zigbee coex mode
 #CONFIG_RSI_ZIGB=y
@@ -168,13 +168,18 @@ rsi_usb-objs := $(COMMON_USB_OBJS)
 rsi_91x-objs := $(RSI_91X_OBJS)
 
 all:
+	@echo env is:
+	env
 	@echo -e "\033[32mCompiling RSI drivers...\033[0m"
 	make -C$(KERNELDIR)/ M=$(PWD) modules
 	chmod 777 start_rs9116.sh
 	chmod 777 osd_common_insert.sh
-	make CC="$(CC)" ROOT_DIR=$(ROOT_DIR) -C $(PWD)/apps
+	# make CC="$(CC)" ROOT_DIR=$(ROOT_DIR) -C $(PWD)/apps
 	@echo -e "\033[32mCompilation done SUCCESSFULLY\033[0m"
 
+modules_install:
+	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
+
 clean:
 	make -C$(KERNELDIR)/ M=$(PWD) clean
 	@find . -name 'receive' | xargs rm -rf