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
19 PKG_BUILD_DIR
:=$(KERNEL_BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_UNPACK
:=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
+wireless-tools
31 This package contains a driver for TI ACX1xx
802.11a
/b
/g chipsets.
32 URL
:=http
://acx100.sourceforge.net
/
33 VERSION
:=$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
)
34 SUBMENU
:=Wireless Drivers
36 $(PKG_BUILD_DIR
)/acx.
$(LINUX_KMOD_SUFFIX
)
37 AUTOLOAD
:=$(call AutoLoad
,50,acx
)
41 $(MAKE
) -C
$(LINUX_DIR
) \
42 SUBDIRS
="$(PKG_BUILD_DIR)" \
43 ARCH
="$(LINUX_KARCH)" \
44 CROSS_COMPILE
="$(TARGET_CROSS)" \
47 LD
="$(TARGET_CROSS)ld" \
48 KERNELVERSION
="$(KERNEL)" \
49 KERNEL_SOURCE
="$(LINUX_DIR)" \
56 $(eval
$(call KernelPackage
,acx
))