2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=@SF
/acx100
17 PKG_MD5SUM
:=7d5ce3215708e4e9f95cf567a9ee3a12
20 bzcat
$(DL_DIR
)/$(PKG_SOURCE
) | \
21 $(TAR
) -C
$(KERNEL_BUILD_DIR
) $(TAR_OPTIONS
); \
22 chmod
-R u
+w
$(PKG_BUILD_DIR
)
24 include $(INCLUDE_DIR
)/package.mk
26 define KernelPackage
/acx
27 TITLE
:=Driver for TI ACX1xx chipset
28 DEPENDS
:=@LINUX_2_6 @PCI_SUPPORT||TARGET_ar7
+wireless-tools
29 URL
:=http
://acx100.sourceforge.net
/
30 SUBMENU
:=Wireless Drivers
31 FILES
:= $(PKG_BUILD_DIR
)/acx.
$(LINUX_KMOD_SUFFIX
)
32 AUTOLOAD
:=$(call AutoLoad
,50,acx
)
35 define KernelPackage
/acx
/description
36 This package contains a driver for TI ACX1xx
802.11a
/b
/g chipsets.
42 define Download
/tiacx111c16
44 URL
:=http
://teknoraver.net
/software
/acx-mac80211
/
45 MD5SUM
:=7026826460376f6b174f9225bd7781b9
47 $(eval
$(call Download
,tiacx111c16
))
49 define Download
/tiacx111c19
51 URL
:=http
://ipkg.k1k2.de
/files
/
52 MD5SUM
:=a1fa9681e297b4e36e257090fc12265a
54 $(eval
$(call Download
,tiacx111c19
))
58 $(MAKE
) -C
$(LINUX_DIR
) \
59 SUBDIRS
="$(PKG_BUILD_DIR)" \
60 ARCH
="$(LINUX_KARCH)" \
61 CROSS_COMPILE
="$(TARGET_CROSS)" \
64 LD
="$(TARGET_CROSS)ld" \
65 KERNELVERSION
="$(KERNEL)" \
66 KERNEL_SOURCE
="$(LINUX_DIR)" \
73 define KernelPackage
/acx
/install
74 $(INSTALL_DIR
) $(1)/lib
/firmware
75 $(INSTALL_DATA
) $(DL_DIR
)/$(C16_FW
) $(1)/lib
/firmware
/
76 $(INSTALL_DATA
) $(DL_DIR
)/$(C19_FW
) $(1)/lib
/firmware
/
77 $(INSTALL_DIR
) $(1)/lib
/wifi
78 $(INSTALL_DATA
) .
/files
/lib
/wifi
/acx.sh
$(1)/lib
/wifi
/
81 $(eval
$(call KernelPackage
,acx
))