User's Manual
6
2).
Add the following line into drivers/net/wireless/Makefile, CONFIG_RTL8192CU
is for <compile_flag>, rtl8192cu is for <folder_name>:
3). Add the following line into drivers/net/wireless/Kconfig, rtl8192cu is for
<folder_name>:
4).
Config kernel, for example, with
‘
make menuconfig
’
command to select
‘
y
’
or
‘
m
’
for our driver.
5).
Now, you can build kernel with
‘
make
’
command.
6.
Compiling Driver
6.1.
Compiling Driver in Driver Source Folder
For compiling driver in the original driver source folder, simply cd into the
driver source folder and start build driver with
‘
make
’
command.
If everything goes well, it will produce a MODULE_NAME.ko file. The
MODULE_NAME is specified in Makefile. Please refer to:
“
MODULE_NAME
”
in
“
4.2. Platform Setting Section in Detail
”
.
6.2.
Compiling Driver under Kernel Tree
For compiling driver under kernel tree, please refer to:
“
5. Integrating Driver Source into Linux Kernel Tree
”
.
7. Driver Installation
If you have compiled Wi-Fi driver as kernel module and produced a .ko file such
as 8192cu.ko, you should insert driver module with ‘insmod’ command:
As for driver compiled in kernel, it has no need to do
‘
insmod
’
command.
root@rtl8188C_8192C_8192D_usb_linux_v3.3.0_2920.20111123# insmod 8192cu.ko
root@rtl8188C_8192C_8192D_usb_linux_v3.3.0_2920.20111123# ./make
source "drivers/net/wireless/rtl8192cu/Kconfig"
obj-$(CONFIG_RTL8192CU) += rtl8192cu/








