RT3370_RT5370_RT5372_Linux_STA_V2.5.0 无线rt3070驱动
2.1.定义芯片类型及头文件包含路径以及选择硬件运行平台
CHIPSET = 3070
C_INCLUDE_PATH ?= $(PWD)/include
PLATFORM = SMDK2.2修改LINUX_SRC及CROSS_COMPILE参数
ifeq ($(PLATFORM),SMDK)
#LINUX_SRC = /home/bhushan/itcenter/may28/linux-2.6-samsung
#CROSS_COMPILE = /usr/local/arm/4.2.2-eabi/usr/bin/arm-linux-#以下设置根据自己的放置位置及编译具体路径设置
LINUX_SRC = /home/tango/code/linux-2.6.32.2
CROSS_COMPILE = /opt/FriendlyARM/toolschain/4.4.3/bin/arm-linux-
然后再make CHIPSET=3070 即可生成rt3070sta.ko文件。
1