1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 18:22:28 +02:00
xburst-tools/usbboot/debian/autogen.sh
Jonathan Nieder 81adfd188d Do not build firmware on buildds
There is no mipsel cross-compiler packaged for Debian, so building
the firmware on arbitrary build machines is not possible.

So let packagers build firmware when generating the source package.
The built firmware is kept in the debian/ directory and then
copied verbatim to <staging directory>/usr/share/xburst-tools
at the appropriate time.

The commands to prepare the firmware are in a script named
debian/autogen.sh, which could be taught to do other things (such as
generate a changelog) later.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2010-04-05 14:58:29 +08:00

11 lines
259 B
Bash
Executable File

#!/bin/sh
# Generate debian/xburst_stage1.bin and debian/xburst_stage2.bin
#
# Requires a mipsel-openwrt-linux- toolchain on the $PATH.
set -e
debian/rules firmware
cp -f xburst_stage1/xburst_stage1.bin debian/
cp -f xburst_stage2/xburst_stage2.bin debian/