mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2025-01-10 19:50:14 +02:00
aa89f3049f
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
25 lines
740 B
Makefile
25 lines
740 B
Makefile
AM_CFLAGS = -pedantic -Wall -W -O1 -g3 -std=gnu99 -lusb -lconfuse
|
|
|
|
xburst-tools_version.h:
|
|
echo -e '#ifndef XBURST_TOOLS_VERSION' \
|
|
'\n#define XBURST_TOOLS_VERSION "20090630-1"' \
|
|
'\n#endif' > xburst-tools_version.h
|
|
BUILT_SOURCES = xburst-tools_version.h
|
|
|
|
bin_PROGRAMS = usbboot
|
|
usbboot_SOURCES = cmd.c command_line.c ingenic_cfg.c \
|
|
ingenic_usb.c main.c
|
|
|
|
prefix = /usr
|
|
datadir = /usr/share/xburst-tools
|
|
data_DATA = ../xburst_stage1/xburst_stage1.bin \
|
|
../xburst_stage2/xburst_stage2.bin \
|
|
usbboot.cfg
|
|
EXTRA_DIST = $(datadir)
|
|
|
|
../xburst_stage1/xburst_stage1.bin:
|
|
$(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../xburst_stage1
|
|
|
|
../xburst_stage2/xburst_stage2.bin:
|
|
$(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../xburst_stage2
|