mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-26 03:04:04 +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:
|
xbboot_version.h:
|
||||||
echo -e '#ifndef XBBOOT_VERSION' \
|
echo -e '#ifndef XBBOOT_VERSION' \
|
||||||
@ -10,10 +10,13 @@ bin_PROGRAMS = xbboot
|
|||||||
xbboot_SOURCES = host_main.c
|
xbboot_SOURCES = host_main.c
|
||||||
|
|
||||||
prefix = /usr
|
prefix = /usr
|
||||||
datadir = /usr/share/xburst-tools
|
pkgdatadir = $(datadir)/xburst-tools
|
||||||
data_DATA = ../target-stage1/stage1.bin
|
|
||||||
|
|
||||||
EXTRA_DIST = $(datadir)
|
if COND_FIRMWARE
|
||||||
|
pkgdata_DATA = ../target-stage1/stage1.bin
|
||||||
|
endif
|
||||||
|
|
||||||
../target-stage1/stage.bin:
|
EXTRA_DIST = $(pkgdatadir)
|
||||||
$(MAKE) -C ../target-stage1
|
|
||||||
|
../target-stage1/stage1.bin:
|
||||||
|
$(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../target-stage1
|
||||||
|
Loading…
Reference in New Issue
Block a user