User's Manual

7
23.SelectingChipTypewithmake_drvScript(forcompoundrelease)
Our driver source release has two types: 1) single release, which can build out
driveronlyforsinglechiptype,and2)compoundrelease,whichcanbuildoutdriversfor
multiplechiptypesseparately.
Forcompoundreleasedriver,youwillseemake_drvscriptafteryoudecompress
thedrivertarballlocatedindriverfolder.Beforecompilingdriversource,executingthe
make_drvtoselectthetargetchiptypetocompile.Forexample:
root@rtl8188C_8192C_8192D_usb_linux_v3.3.0_2920.20111123#./make_drv
Pleaseselectchiptype(1/2):
1)RTL8192cu
2)RTL8192du
#?1
YouhaveselectedRTL8192cu
24.CompilationSettingsinMakefile
24.1.AddingorSelectingTargetPlatform
ThedefaulttargetplatformisPCLinux,ifyoudonotwanttocompiledriverfor
otherplatformsyoucanskipthissection.
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
shouldlookattheplatformselectionsectionofMakefile:
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
Theplatformselectionsectionconsistsofentrieswith‘CONFIG_PLATFORM_’prefix.
Onlyoneentryisallowedtobesetwithvalue‘y’andotherswith‘n’.The3