1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-22 08:42:48 +02:00

add cross compile to Makefile.am

Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
This commit is contained in:
Xiangfu Liu 2009-06-30 14:34:20 +08:00
parent 6d4212b643
commit dc52bfe889
5 changed files with 8 additions and 13 deletions

View File

@ -90,4 +90,3 @@ clean:
@rm -f src/fs/*.o src/fs/*~
@rm -f include/*~ ${IMAGE_DIR}/*
@make clean -C $(TOOLS)

View File

@ -1,5 +1,7 @@
xburst-tools (20090630-1) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
[ xiangfu liu ]
* Initial release
-- xiangfu <xiangfu.z@gmail.com> Mon, 29 Jun 2009 16:27:20 +0800
-- xiangfu liu <xiangfu.z@gmail.com> Tue, 30 Jun 2009 14:28:36 +0800

View File

@ -4,7 +4,7 @@ Priority: extra
Maintainer: xiangfu liu <xiangfu.z@gmail.com>
Build-Depends: debhelper (>= 7), libusb-dev, libconfuse-dev
Standards-Version: 3.8.0
Homepage: http://code.google.com/p/pi-project
Homepage: http://github.com/xiangfu/xburst-tools
Package: xburst-tools
Architecture: any

View File

@ -1,7 +1,7 @@
This package was debianized by Xiangfu Liu<xiangfu.z@gmail.com> on
Mon, 22 Jun 2009 22:48:14 +0800.
It was downloaded from <http://code.google.com/p/pi-project/>
It was downloaded from <http://github.com/xiangfu/xburst-tools>
Upstream Author(s): Xiangfu Liu <xiangfu.z@gmail.com>
@ -15,5 +15,3 @@ or (at your option) any later version.
On Debian systems, the complete text of the GNU General Public
License can be found in the file `/usr/share/common-licenses/GPL-3'.
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.

View File

@ -1,9 +1,5 @@
AM_CFLAGS = -pedantic -Wall -W -O1 -g3 -std=gnu99 -lusb -lconfuse
BUILD_BRANCH := $(shell git branch | grep ^\* | cut -d' ' -f2)
BUILD_HEAD := $(shell git show --pretty=oneline | head -n1 | cut -d' ' -f1 | cut -b1-16)
BUILD_VERSION := ${BUILD_BRANCH}_${BUILD_HEAD}
xburst_tools_version.h:
echo -e '#ifndef XBURST_TOOLS_VERSION' \
'\n#define XBURST_TOOLS_VERSION "20090630-1"' \
@ -22,7 +18,7 @@ data_DATA = ../xburst_stage1/xburst_stage1.bin \
EXTRA_DIST = $(datadir)
../xburst_stage1/xburst_stage1.bin:
$(MAKE) -C ../xburst_stage1
$(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../xburst_stage1
../xburst_stage2/xburst_stage2.bin:
$(MAKE) -C ../xburst_stage2
$(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../xburst_stage2