1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-12-23 20:03:00 +02:00
xburst-tools/xbboot/host-app/Makefile.am

22 lines
513 B
Makefile
Raw Normal View History

AM_CFLAGS = -pedantic -Wall -W -std=gnu99 -DDATADIR=\"$(pkgdatadir)\"
2009-08-21 09:04:09 +03:00
xbboot_version.h:
echo -e '#ifndef XBBOOT_VERSION' \
'\n#define XBBOOT_VERSION "20100427-1"' \
2009-08-21 09:04:09 +03:00
'\n#endif' > xbboot_version.h
BUILT_SOURCES = xbboot_version.h
bin_PROGRAMS = xbboot
xbboot_SOURCES = host_main.c
pkgdatadir = $(datadir)/xburst-tools/
2009-08-21 09:04:09 +03:00
if COND_FIRMWARE
pkgdata_DATA = ../target-stage1/stage1.bin
endif
2009-08-21 09:04:09 +03:00
EXTRA_DIST = $(pkgdatadir)
../target-stage1/stage1.bin:
$(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../target-stage1