firmware/bsp/board_wr841n8.bsp
Tim Niemeyer fbd093d05f buildscript: add support for config targets
With this changes it's possible to open the menuconfig and kernel_menuconfig
target and save the corresponding config files to the local bsp.

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-12-09 23:51:50 +01:00

26 lines
450 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() {
echo "nothing todo" > /dev/null
}
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*
}