2009-06-09 22:16:39 +03:00
|
|
|
AM_CFLAGS = -pedantic -Wall -W -O1 -g3 -std=gnu99 -lusb -lconfuse
|
|
|
|
|
2009-07-02 12:22:33 +03:00
|
|
|
xburst-tools_version.h:
|
2009-06-29 18:17:29 +03:00
|
|
|
echo -e '#ifndef XBURST_TOOLS_VERSION' \
|
|
|
|
'\n#define XBURST_TOOLS_VERSION "20090630-1"' \
|
2009-07-02 12:22:33 +03:00
|
|
|
'\n#endif' > xburst-tools_version.h
|
|
|
|
BUILT_SOURCES = xburst-tools_version.h
|
2009-06-09 22:16:39 +03:00
|
|
|
|
2009-06-30 08:49:11 +03:00
|
|
|
bin_PROGRAMS = usbboot
|
|
|
|
usbboot_SOURCES = cmd.c command_line.c ingenic_cfg.c \
|
2009-06-09 22:16:39 +03:00
|
|
|
ingenic_usb.c main.c
|
2009-06-24 03:58:23 +03:00
|
|
|
|
2009-06-28 10:35:20 +03:00
|
|
|
prefix = /usr
|
2009-07-02 12:22:33 +03:00
|
|
|
datadir = /usr/share/xburst-tools
|
2009-06-28 10:35:20 +03:00
|
|
|
data_DATA = ../xburst_stage1/xburst_stage1.bin \
|
|
|
|
../xburst_stage2/xburst_stage2.bin \
|
2009-06-30 08:49:11 +03:00
|
|
|
usbboot.cfg
|
2009-06-25 04:52:33 +03:00
|
|
|
EXTRA_DIST = $(datadir)
|
2009-06-25 06:22:41 +03:00
|
|
|
|
|
|
|
../xburst_stage1/xburst_stage1.bin:
|
2009-06-30 09:34:20 +03:00
|
|
|
$(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../xburst_stage1
|
2009-06-25 06:22:41 +03:00
|
|
|
|
|
|
|
../xburst_stage2/xburst_stage2.bin:
|
2009-06-30 09:34:20 +03:00
|
|
|
$(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../xburst_stage2
|