forked from freifunk-franken/firmware
b4d756cb91
The new build_script uses a bsp-style interface. Now it's possible to work on more than one board at the same time. Just select the selected_bsp with the build_script and start over. Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
26 lines
435 B
Plaintext
26 lines
435 B
Plaintext
|
|
machine=wrt54g_ap
|
|
target=$builddir/$machine
|
|
|
|
board_prepare() {
|
|
echo "nothing todo" > /dev/null
|
|
}
|
|
|
|
board_prebuild() {
|
|
cp ./bsp/$machine/.config $target/.config
|
|
cp -r ./bsp/$machine/root_file_system/* $target/files/
|
|
}
|
|
|
|
board_postbuild() {
|
|
cp $target/bin/brcm47xx/openwrt-wrt54g-squashfs.bin ./bin/openwrt-$machine-squashfs.bin
|
|
}
|
|
|
|
board_flash() {
|
|
echo "nothing implemented"
|
|
}
|
|
|
|
board_clean() {
|
|
/bin/rm -rf $target bin/*$machine*
|
|
}
|
|
|