fix iptables extension issue with mac os x builds
[openwrt.git] / package / acx / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=acx
13 PKG_VERSION:=20070101
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
17 PKG_SOURCE_URL:=http://lisas.de/~andi/acx100/
18 PKG_MD5SUM:=ec6322b9c82781897a9433ef0cefda6f
19 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20 #PKG_CAT:=bzcat
21 PKG_UNPACK:=bzcat $(DL_DIR)/$(PKG_SOURCE) | \
22 $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS); \
23 chmod -R u+w $(PKG_BUILD_DIR)
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define KernelPackage/acx
28 TITLE:=Driver for TI ACX1xx chipset
29 DEPENDS:=@LINUX_2_6 +wireless-tools
30 DESCRIPTION:=\
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
35 FILES:= \
36 $(PKG_BUILD_DIR)/acx.$(LINUX_KMOD_SUFFIX)
37 AUTOLOAD:=$(call AutoLoad,50,acx)
38 endef
39
40 define Build/Compile
41 $(MAKE) -C $(LINUX_DIR) \
42 SUBDIRS="$(PKG_BUILD_DIR)" \
43 ARCH="$(LINUX_KARCH)" \
44 CROSS_COMPILE="$(TARGET_CROSS)" \
45 CC="$(TARGET_CC)" \
46 CPP="$(TARGET_CC)" \
47 LD="$(TARGET_CROSS)ld" \
48 KERNELVERSION="$(KERNEL)" \
49 KERNEL_SOURCE="$(LINUX_DIR)" \
50 KDIR="$(LINUX_DIR)" \
51 CONFIG_ACX=m \
52 CONFIG_ACX_PCI=m \
53 modules
54 endef
55
56 $(eval $(call KernelPackage,acx))
This page took 0.059908 seconds and 5 git commands to generate.