Root/usbboot/src/Makefile.am

Source at commit d795fb3 created 13 years 7 months ago.
By Xiangfu Liu, update version numver. update debian/changelog
1AM_CFLAGS = -pedantic -Wall -W -DCFGDIR=\"$(cfgdir)\" -DDATADIR=\"$(pkgdatadir)\"
2
3xburst-tools_version.h:
4    echo -e '#ifndef XBURST_TOOLS_VERSION' \
5    '\n#define XBURST_TOOLS_VERSION "201007-1"' \
6    '\n#endif' > xburst-tools_version.h
7BUILT_SOURCES = xburst-tools_version.h
8
9bin_PROGRAMS = usbboot
10usbboot_SOURCES = cmd.c command_line.c ingenic_cfg.c \
11    ingenic_usb.c main.c
12
13pkgdatadir = $(datadir)/xburst-tools/
14
15if COND_FIRMWARE
16pkgdata_DATA = ../xburst_stage1/xburst_stage1.bin \
17    ../xburst_stage2/xburst_stage2.bin
18endif
19
20cfgdir = $(sysconfdir)/xburst-tools/
21cfg_DATA = ../doc/usbboot.cfg
22
23EXTRA_DIST = $(pkgdatadir) $(cfgdir)
24
25../xburst_stage1/xburst_stage1.bin:
26    $(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../xburst_stage1
27
28../xburst_stage2/xburst_stage2.bin:
29    $(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../xburst_stage2
30

Archive Download this file



interactive