follow the xtables changes in 2.6.17
[openwrt.git] / package / wlc / Makefile
1 # $Id: Makefile 2480 2005-11-14 02:07:33Z nbd $
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=wlc
6 PKG_RELEASE:=1
7
8 PKG_BUILD_DIR:=$(BUILD_DIR)/wlc
9
10 include $(TOPDIR)/package/rules.mk
11
12 define Package/wlc
13 SECTION:=base
14 CATEGORY:=Base system
15 DEPENDS:=@PACKAGE_KMOD_BRCM_WL
16 DEFAULT:=y
17 TITLE:=Utility for configuring the Broadcom wl driver
18 DESCRIPTION:=Utility for configuring the Broadcom wl driver
19 endef
20
21
22 define Build/Prepare
23 mkdir -p $(PKG_BUILD_DIR)
24 $(CP) src/* $(PKG_BUILD_DIR)/
25 endef
26
27 define Build/Compile
28 $(MAKE) -C $(PKG_BUILD_DIR)\
29 $(TARGET_CONFIGURE_OPTS) \
30 CC="$(TARGET_CC)" \
31 CFLAGS="-I$(PKG_BUILD_DIR)/include $(TARGET_CFLAGS)" \
32 all
33 endef
34
35 define Package/wlc/install
36 install -d -m0755 $(1)/sbin
37 install -m0755 $(PKG_BUILD_DIR)/wlc $(1)/sbin/
38 endef
39
40 $(eval $(call BuildPackage,wlc))
This page took 0.047625 seconds and 5 git commands to generate.