1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 08:29:41 +02:00

add-xbboot-to-xburst-tools-debian-package

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
Xiangfu Liu 2010-05-05 11:36:05 +08:00
parent 65cc561309
commit 30a9ef8e88
20 changed files with 14 additions and 7 deletions

View File

@ -1,7 +1,7 @@
This Debian package is developed in a Git repository (see the Vcs-Git field
of debian/control). To build from a git checkout:
debian/rules get-orig-source REPO=.. BRANCH=remotes/origin/master
debian/rules get-orig-source REPO=. BRANCH=remotes/origin/master
mv xburst-tools_*.tar.gz ..
debian/autogen.sh
debuild

View File

@ -12,5 +12,6 @@ dpkg-parsechangelog --format rfc822 --all |
awk -f debian/changelog.upstream.awk
debian/rules firmware
cp -f xburst_stage1/xburst_stage1.bin debian/
cp -f xburst_stage2/xburst_stage2.bin debian/
cp -f usbboot/xburst_stage1/xburst_stage1.bin debian/
cp -f usbboot/xburst_stage2/xburst_stage2.bin debian/
cp -f xbboot/target-stage1/stage1.bin debian/

View File

2
debian/docs vendored Normal file
View File

@ -0,0 +1,2 @@
usbboot/README.usbboot
xbboot/README.xbboot

View File

@ -11,7 +11,7 @@ override_dh_auto_clean:
exit 1; \
}
dh_auto_clean
sh debian/clean.sh
#sh debian/clean.sh
override_dh_auto_configure: configure
dh_auto_configure -- $(opt_optimize) $(opt_quiet) \
@ -22,6 +22,7 @@ override_dh_auto_install:
: install firmware from source package
dh_install debian/xburst_stage1.bin usr/share/xburst-tools/
dh_install debian/xburst_stage2.bin usr/share/xburst-tools/
dh_install debian/stage1.bin usr/share/xburst-tools/
override_dh_installchangelogs:
dh_installchangelogs debian/changelog.upstream
@ -48,8 +49,11 @@ configure: configure.ac
firmware: configure
./configure --enable-firmware
$(MAKE) -C src ../xburst_stage1/xburst_stage1.bin \
$(MAKE) -C usbboot/src \
../xburst_stage1/xburst_stage1.bin \
../xburst_stage2/xburst_stage2.bin
$(MAKE) -C xbboot/host-app \
../target-stage1/stage1.bin
REPO = git://projects.qi-hardware.com/xburst-tools.git
BRANCH = master

View File

@ -1,2 +1,3 @@
debian/xburst_stage1.bin
debian/xburst_stage2.bin
debian/stage1.bin

1
debian/xburst-tools.manpages vendored Normal file
View File

@ -0,0 +1 @@
./usbboot/doc/usbboot.1

View File

@ -1 +0,0 @@
README

View File

@ -1 +0,0 @@
./doc/usbboot.1