mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-01 16:25:20 +02:00
5f83781aaf
the "201007-1" should be Debian Package Version. Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
22 lines
509 B
Makefile
22 lines
509 B
Makefile
AM_CFLAGS = -pedantic -Wall -W -std=gnu99 -DDATADIR=\"$(pkgdatadir)\"
|
|
|
|
xbboot_version.h:
|
|
echo -e '#ifndef XBBOOT_VERSION' \
|
|
'\n#define XBBOOT_VERSION "201007"' \
|
|
'\n#endif' > xbboot_version.h
|
|
BUILT_SOURCES = xbboot_version.h
|
|
|
|
bin_PROGRAMS = xbboot
|
|
xbboot_SOURCES = host_main.c
|
|
|
|
pkgdatadir = $(datadir)/xburst-tools/
|
|
|
|
if COND_FIRMWARE
|
|
pkgdata_DATA = ../target-stage1/stage1.bin
|
|
endif
|
|
|
|
EXTRA_DIST = $(pkgdatadir)
|
|
|
|
../target-stage1/stage1.bin:
|
|
$(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../target-stage1
|