mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-01 12:33:07 +02:00
Make CROSS_COMPILE configure script variable.
This commit is contained in:
parent
afa0c1b5f2
commit
6c1baa5e21
@ -21,6 +21,10 @@ no) firmware=false ;;
|
|||||||
esac],[firmware=false])
|
esac],[firmware=false])
|
||||||
AM_CONDITIONAL([COND_FIRMWARE], [test "$firmware" = true])
|
AM_CONDITIONAL([COND_FIRMWARE], [test "$firmware" = true])
|
||||||
|
|
||||||
|
AC_ARG_VAR([CROSS_COMPILE],
|
||||||
|
[Cross compiler prefix for building firmware, ]
|
||||||
|
[e.g. CROSS_COMPILE=mipsel-openwrt-linux-.])
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
|
@ -23,7 +23,7 @@ cfg_DATA = ../doc/usbboot.cfg
|
|||||||
EXTRA_DIST = $(pkgdatadir) $(cfgdir)
|
EXTRA_DIST = $(pkgdatadir) $(cfgdir)
|
||||||
|
|
||||||
../xburst_stage1/xburst_stage1.bin:
|
../xburst_stage1/xburst_stage1.bin:
|
||||||
$(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../xburst_stage1
|
$(MAKE) CROSS_COMPILE=$(CROSS_COMPILE) -C ../xburst_stage1
|
||||||
|
|
||||||
../xburst_stage2/xburst_stage2.bin:
|
../xburst_stage2/xburst_stage2.bin:
|
||||||
$(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../xburst_stage2
|
$(MAKE) CROSS_COMPILE=$(CROSS_COMPILE) -C ../xburst_stage2
|
||||||
|
@ -18,4 +18,4 @@ endif
|
|||||||
EXTRA_DIST = $(pkgdatadir)
|
EXTRA_DIST = $(pkgdatadir)
|
||||||
|
|
||||||
../target-stage1/stage1.bin:
|
../target-stage1/stage1.bin:
|
||||||
$(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../target-stage1
|
$(MAKE) CROSS_COMPILE=$(CROSS_COMPILE) -C ../target-stage1
|
||||||
|
Loading…
Reference in New Issue
Block a user