forked from freifunk-franken/firmware
Adrian Schmutzler
73e227cdc8
In OpenWrt commit 27eea249213b ("ar71xx: fix MAC address setup for TL-WDR4300 board") the LAN/WAN MAC addresses for the TL-WDR3600, TL-WDR4300 and TL-WDR4310 were changed. This creates an overlap of the LAN und 5 GHz MAC addresses, where the first will also affect the BATMAN interface eth0.3. To keep BATMAN interfaces with separate addresses, this patch will set the ETHMESHMAC to eth0 +1, corresponding to the virtual WAN device (VLAN 2) OpenWrt sets up (which we aren't using anyway). ref: https://github.com/openwrt/openwrt/commit/27eea249213b04a372491009850926f9282d13 Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Fabian Bläse <fabian@blaese.de>
40 lines
738 B
Makefile
40 lines
738 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fff-network
|
|
PKG_RELEASE:=15
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=base
|
|
CATEGORY:=Freifunk
|
|
TITLE:= Freifunk-Franken network configuration
|
|
URL:=http://www.freifunk-franken.de
|
|
DEPENDS:=+fff-boardname +fff-firewall
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
This package configures the network interfaces
|
|
endef
|
|
|
|
define Build/Prepare
|
|
echo "all: " > $(PKG_BUILD_DIR)/Makefile
|
|
endef
|
|
|
|
define Build/Configure
|
|
# nothing
|
|
endef
|
|
|
|
define Build/Compile
|
|
# nothing
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(CP) ./files/* $(1)/
|
|
test -d ./$(BOARD) && $(CP) ./$(BOARD)/* $(1)/etc/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|