mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 06:07:14 +02:00
add CONF_FIRMWARE to Makefile.am
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
parent
945e32bae2
commit
4c7e4f9bd5
@ -1,4 +1,4 @@
|
||||
AM_CFLAGS = -pedantic -Wall -W -O1 -g3 -std=gnu99 -lusb
|
||||
AM_CFLAGS = -pedantic -Wall -W -O1 -g3 -std=gnu99 -lusb -DDATADIR=\"$(pkgdatadir)\"
|
||||
|
||||
xbboot_version.h:
|
||||
echo -e '#ifndef XBBOOT_VERSION' \
|
||||
@ -10,10 +10,13 @@ bin_PROGRAMS = xbboot
|
||||
xbboot_SOURCES = host_main.c
|
||||
|
||||
prefix = /usr
|
||||
datadir = /usr/share/xburst-tools
|
||||
data_DATA = ../target-stage1/stage1.bin
|
||||
pkgdatadir = $(datadir)/xburst-tools
|
||||
|
||||
EXTRA_DIST = $(datadir)
|
||||
if COND_FIRMWARE
|
||||
pkgdata_DATA = ../target-stage1/stage1.bin
|
||||
endif
|
||||
|
||||
../target-stage1/stage.bin:
|
||||
$(MAKE) -C ../target-stage1
|
||||
EXTRA_DIST = $(pkgdatadir)
|
||||
|
||||
../target-stage1/stage1.bin:
|
||||
$(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../target-stage1
|
||||
|
Loading…
Reference in New Issue
Block a user