2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
10 include $(INCLUDE_DIR
)/kernel.mk
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
17 PKG_SOURCE_URL
:=@openwrt
/
18 PKG_MD5SUM
:=ec6322b9c82781897a9433ef0cefda6f
21 bzcat
$(DL_DIR
)/$(PKG_SOURCE
) | \
22 $(TAR
) -C
$(KERNEL_BUILD_DIR
) $(TAR_OPTIONS
); \
23 chmod
-R u
+w
$(PKG_BUILD_DIR
)
25 include $(INCLUDE_DIR
)/package.mk
27 define KernelPackage
/acx
28 TITLE
:=Driver for TI ACX1xx chipset
29 DEPENDS
:=@LINUX_2_6
&&!LINUX_2_6_AVR32
+wireless-tools
31 This package contains a driver for TI ACX1xx
802.11a
/b
/g chipsets.
32 URL
:=http
://acx100.sourceforge.net
/
33 SUBMENU
:=Wireless Drivers
35 $(PKG_BUILD_DIR
)/acx.
$(LINUX_KMOD_SUFFIX
)
36 AUTOLOAD
:=$(call AutoLoad
,50,acx
)
40 $(MAKE
) -C
$(LINUX_DIR
) \
41 SUBDIRS
="$(PKG_BUILD_DIR)" \
42 ARCH
="$(LINUX_KARCH)" \
43 CROSS_COMPILE
="$(TARGET_CROSS)" \
46 LD
="$(TARGET_CROSS)ld" \
47 KERNELVERSION
="$(KERNEL)" \
48 KERNEL_SOURCE
="$(LINUX_DIR)" \
55 $(eval
$(call KernelPackage
,acx
))