change bool in BR2_COMPILE_* to tristate to avoid unnecessary package/<foo>-install...
[openwrt.git] / package / wificonf / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=wificonf
6 PKG_RELEASE:=5
7
8 PKG_BUILD_DIR:=$(BUILD_DIR)/wificonf
9
10 include $(TOPDIR)/package/rules.mk
11
12 $(eval $(call PKG_template,WIFICONF,$(PKG_NAME),$(PKG_RELEASE),$(ARCH)))
13
14 $(PKG_BUILD_DIR)/.prepared:
15 mkdir -p $@
16 touch $@
17
18 $(PKG_BUILD_DIR)/.configured:
19 touch $@
20
21 $(PKG_BUILD_DIR)/.built:
22 $(TARGET_CC) $(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -o $(PKG_BUILD_DIR)/wifi wificonf.c -L$(STAGING_DIR)/usr/lib -lnvram -lshared $(STAGING_DIR)/usr/lib/libiw.so
23 touch $@
24
25 $(IPKG_WIFICONF):
26 install -d -m0755 $(IDIR_WIFICONF)/sbin
27 install -m0755 $(PKG_BUILD_DIR)/wifi $(IDIR_WIFICONF)/sbin/
28 $(RSTRIP) $(IDIR_WIFICONF)
29 $(IPKG_BUILD) $(IDIR_WIFICONF) $(PACKAGE_DIR)
This page took 0.043579 seconds and 5 git commands to generate.