Document how to use ‘git archive’ to build a tarball from the
usbboot subdirectory of the source repository.
Repeated invocations of the get-orig-source target to fetch the
same commit will produce byte-for-byte identical results.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
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>
This makes the packaging easier to read and modify.
Features added:
* runs ‘make’ with the -j option for a tiny speedup
* uses appropriate compiler flags even when run directly instead of
through dpkg-buildpackage
* after interrupting a partial build, there is no need any more
for (fake) root privileges to clean up
* after interrupting a partial build, ‘debian/rules clean’ will
work without running autoreconf again.
Features retained:
* ‘debian/rules -n <target>’ provides the list of commands used
to make that target.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>