1 | #!/bin/sh |
2 | # Generate debian/xburst_stage1.bin, debian/xburst_stage2.bin, |
3 | # and debian/changelog.upstream. |
4 | # |
5 | # Uses debian/changelog and the git revision log. |
6 | # |
7 | # Requires a mipsel-openwrt-linux- toolchain on the $PATH. |
8 | |
9 | set -e |
10 | |
11 | dpkg-parsechangelog --format rfc822 --all | |
12 | awk -f debian/changelog.upstream.awk |
13 | |
14 | debian/rules firmware |
15 | cp -f usbboot/xburst_stage1/xburst_stage1.bin debian/ |
16 | cp -f usbboot/xburst_stage2/xburst_stage2.bin debian/ |
17 | cp -f xbboot/target-stage1/stage1.bin debian/ |
18 | |