User's Manual

2
3. Selecting Chip Type with make_drv Script (for compound release)
Our driver source release has two types: 1) single release, which can build out
driver only for single chip type, and 2) compound release, which can build out drivers
for multiple chip types separately.
For compound release driver, you will see make_drv script after you decompress
the driver tar ball located in driver folder. Before compiling driver source, executing
the make_drv to select the target chip type to compile. For example:
4.
Compilation Settings in Makefile
4.1.
Adding or Selecting Target Platform
The default target platform is PC-Linux, if you do not want to compile driver for
other platforms you can skip this section.
To add or select target platform for compilation, we provide two sections in
Makefile: 1) platform selection section and 2) platform setting section. First, you
should look at the platform selection section of Makefile:
The platform selection section consists of entries with CONFIG_PLATFORM_
prefix. Only one entry is allowed to be set with value y and others with n. The
CONFIG_PLATFORM_I386_PC = y
CONFIG_PLATFORM_ANDROID_X86 = n
CONFIG_PLATFORM_ARM_S3C2K4 = n
CONFIG_PLATFORM_ARM_PXA2XX = n
CONFIG_PLATFORM_ARM_S3C6K4 = n
CONFIG_PLATFORM_MIPS_RMI = n
CONFIG_PLATFORM_RTD2880B = n
CONFIG_PLATFORM_MIPS_AR9132 = n
CONFIG_PLATFORM_MT53XX = n
CONFIG_PLATFORM_RTK_DMP = n
root@rtl8188C_8192C_8192D_usb_linux_v3.3.0_2920.20111123# ./make_drv
Please select chip type(1/2):
1) RTL8192cu
2) RTL8192du
#? 1
You have selected RTL8192cu