Bump the upstream version number since configure.ac changed. Add
a debian/source/included-binaries file so dpkg-source does not
misinterpret the included firmware as a mistake.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
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>
The compiled firmware files are unrepresentable in a text diff.
Use the new source format with debian.tar.gz to fix this.
This will also make it easier to patch the upstream source if that
is ever needed in between versions.
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>
Allow usbboot to be built on systems without a mipsel cross-compiler
by passing configure the --disable-firmware option.
Before using the resulting binary, one would need to grab the firmware
from another machine.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Use anchored filenames and wildcards to make it easier to keep the
.gitignore file up to date with future code changes.
The entries are more precise now:
* ‘git add .’ will not start tracking the src/usbboot binary
* ‘git ls-files -i --exclude-standard’ will not list
xburst_stage1/Makefile and xburst_stage2/Makefile as mistakenly
tracked.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>