mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2025-04-21 12:27:27 +03:00
debian/rules: add target to build source tarball
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>
This commit is contained in:
committed by
Xiangfu Liu
parent
a2a9d90ef9
commit
3d74b6ace7
@@ -47,3 +47,10 @@ firmware: configure
|
||||
./configure --enable-firmware
|
||||
$(MAKE) -C src ../xburst_stage1/xburst_stage1.bin \
|
||||
../xburst_stage2/xburst_stage2.bin
|
||||
|
||||
REPO = git://projects.qi-hardware.com/xburst-tools.git
|
||||
BRANCH = master
|
||||
debiandir_SQ = $(subst ','\'',$(dir $(lastword $(MAKEFILE_LIST))))
|
||||
get-orig-source:
|
||||
REPO='$(REPO)' BRANCH='$(BRANCH)' \
|
||||
sh '$(debiandir_SQ)'get-orig-source.sh
|
||||
|
||||
Reference in New Issue
Block a user