1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 16:25:20 +02:00
xburst-tools/xbboot/host-app/Makefile.am
2012-11-09 12:55:57 +08:00

19 lines
416 B
Makefile

AM_CFLAGS = -Wall -W -std=gnu99 -DDATADIR=\"$(pkgdatadir)\"
bin_PROGRAMS = xbboot
xbboot_SOURCES = host_main.c
pkgdatadir = $(datadir)/xburst-tools/
if COND_FIRMWARE
pkgdata_DATA = ../target-stage1/stage1.bin
endif
EXTRA_DIST = $(pkgdatadir)
../target-stage1/stage1.bin:
$(MAKE) CROSS_COMPILE=$(CROSS_COMPILE) -C ../target-stage1
clean-local:
$(MAKE) CROSS_COMPILE=$(CROSS_COMPILE) -C ../target-stage1 clean