1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 20:21:54 +02:00
xburst-tools/xbboot/host-app/Makefile.am
Xiangfu Liu 07bfc33712 add more error check. remove the signal handler
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-04-28 18:06:28 +08:00

23 lines
541 B
Makefile

AM_CFLAGS = -pedantic -Wall -W -O1 -g3 -std=gnu99 -lusb -DDATADIR=\"$(pkgdatadir)\"
xbboot_version.h:
echo -e '#ifndef XBBOOT_VERSION' \
'\n#define XBBOOT_VERSION "20100427-1"' \
'\n#endif' > xbboot_version.h
BUILT_SOURCES = xbboot_version.h
bin_PROGRAMS = xbboot
xbboot_SOURCES = host_main.c
prefix = /usr
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