Root/xbboot/host-app/Makefile.am

1AM_CFLAGS = -pedantic -Wall -W -std=gnu99 -DDATADIR=\"$(pkgdatadir)\"
2
3xbboot_version.h:
4    echo -e '#ifndef XBBOOT_VERSION' \
5    '\n#define XBBOOT_VERSION "201012"' \
6    '\n#endif' > xbboot_version.h
7BUILT_SOURCES = xbboot_version.h
8
9bin_PROGRAMS = xbboot
10xbboot_SOURCES = host_main.c
11
12pkgdatadir = $(datadir)/xburst-tools/
13
14if COND_FIRMWARE
15pkgdata_DATA = ../target-stage1/stage1.bin
16endif
17
18EXTRA_DIST = $(pkgdatadir)
19
20../target-stage1/stage1.bin:
21    $(MAKE) CROSS_COMPILE=$(CROSS_COMPILE) -C ../target-stage1
22
23clean-local:
24    $(MAKE) CROSS_COMPILE=$(CROSS_COMPILE) -C ../target-stage1 clean
25

Archive Download this file



interactive