forked from freifunk-franken/firmware
![Tim Niemeyer](/assets/img/avatar_default.png)
(see OpenWRT r35564) This fixes #603 Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
27 lines
516 B
Plaintext
27 lines
516 B
Plaintext
|
|
machine=wr841n8
|
|
target=$builddir/$machine
|
|
|
|
board_prepare() {
|
|
# Fix multicast on eth0 (see OpenWRT r35564)
|
|
cat build_patches/wr841n8-enable_multicast_eth1.patch | patch -p1 -d $target
|
|
}
|
|
|
|
board_prebuild() {
|
|
cp ./bsp/$machine/.config $target/.config
|
|
cp -r ./bsp/$machine/root_file_system/* $target/files/
|
|
}
|
|
|
|
board_postbuild() {
|
|
cp $target/bin/ar71xx/openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-*.bin ./bin/
|
|
}
|
|
|
|
board_flash() {
|
|
echo "nothing implemented"
|
|
}
|
|
|
|
board_clean() {
|
|
/bin/rm -rf $target bin/*$machine*
|
|
}
|
|
|