forked from freifunk-franken/firmware
Fabian Blaese
1faaec432a
OpenWrt only builds and installs a packet for each architecture. If a package is already fully built and installed for a architecture, it is not rebuilt. Because we have two different BSPs building two different targets (BOARDs) using the same architecture (ath79 and ar71xx, mips), the fff-network package is not reinstalled when switching between those. However, we have defined an install step, which copies the necessary network files seperated by board. But because the package is not rebuilt when switching targets, the wrong network files might be present in the package. To resolve this issue, the network files are now seperated by ARCH instead of the target (i.e. the BOARD variable). Signed-off-by: Fabian Bläse <fabian@blaese.de> Acked-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Robert Langhammer <rlanghammer@web.de> [bump PKG_RELEASE] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
11 lines
203 B
Plaintext
11 lines
203 B
Plaintext
PORTORDER="1 2 3 4 5"
|
|
|
|
WANDEV=eth1
|
|
SWITCHDEV=eth1
|
|
CLIENT_PORTS="4 5 0t"
|
|
WAN_PORTS="1 0t"
|
|
BATMAN_PORTS="2 3 0t"
|
|
|
|
ROUTERMAC=$(cat /sys/class/net/eth1/address)
|
|
ETHMESHMAC=$(cat /sys/class/net/eth0/address)
|