source: freewrt/package/broadcom-wl-util/Makefile@ 59eb2f4

freewrt_1_0 freewrt_2_0
Last change on this file since 59eb2f4 was 59eb2f4, checked in by Thorsten Glaser <tg@…>, 17 years ago

fix WDS:

  • wireless-mode must be “wds” not “ap”
  • it was impossible to use WDS in bridging mode due to abuse of the 「bridge-ifaces」 variable in the script, which did not allow for more than one value: introduce a new custom variable 「wireless-wds-interface」 to contain “eth2” or similar ONLY, thus allowing 「bridge-ifaces」 to contain “eth0.X eth2”

This does not break existing configurations:

  • when 「wireless-wds-interface」 is not set, let it default to the value of 「bridge-ifaces」

This commit sponsored by tarent GmbH

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@3836 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.5 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= broadcom-wl-util
10PKG_VERSION:= 1.0
11PKG_RELEASE:= 6
12PKG_MD5SUM:= ea7009c695ef16a7eb755eced42c3d2c
13PKG_SOURCE_URL:= http://www.freewrt.org/distfiles
14
15include $(TOPDIR)/mk/package.mk
16
17$(eval $(call PKG_template,BROADCOM_WL_UTIL,broadcom-wl-util,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
18
19$(WRKBUILD)/.configured:
20 touch $@
21
22$(WRKBUILD)/.built:
23 touch $@
24
25$(IPKG_BROADCOM_WL_UTIL):
26 $(INSTALL_DIR) $(IDIR_BROADCOM_WL_UTIL)/usr/sbin
27 $(INSTALL_DIR) $(IDIR_BROADCOM_WL_UTIL)/etc/hotplug.d/net
28 $(INSTALL_DIR) $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-post-down.d
29 $(INSTALL_DIR) $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-pre-up.d
30 $(INSTALL_DIR) $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-up.d
31 $(INSTALL_BIN) $(WRKBUILD)/wl $(IDIR_BROADCOM_WL_UTIL)/usr/sbin
32 $(INSTALL_BIN) ./files/wireless-broadcom.pre-up \
33 $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-pre-up.d/02-wireless-broadcom
34 $(INSTALL_BIN) ./files/wireless-broadcom.post-down \
35 $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-post-down.d/wireless-broadcom
36 $(INSTALL_BIN) ./files/wireless-broadcom.up \
37 $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-up.d/01-wireless-broadcom
38 $(CP) ./files/wds.hotplug \
39 $(IDIR_BROADCOM_WL_UTIL)/etc/hotplug.d/net/01-wds
40 $(IPKG_BUILD) $(IDIR_BROADCOM_WL_UTIL) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.