1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-21 21:08:07 +02:00
xburst-tools/Makefile.firmware
2012-06-05 10:27:07 +08:00

25 lines
907 B
Makefile

all:
make -C usbboot/xburst_stage1
make -C usbboot/xburst_stage2
make -C xbboot/target-stage1
clean:
make -C usbboot/xburst_stage1 clean
make -C usbboot/xburst_stage2 clean
make -C xbboot/target-stage1 clean
rm -rf xburst-tools-firmware xburst-tools-firmware.tar.bz2
tar.bz2: all
mkdir xburst-tools-firmware
install -m 644 usbboot/xburst_stage1/xburst_stage1.bin xburst-tools-firmware
install -m 644 usbboot/xburst_stage2/xburst_stage2.bin xburst-tools-firmware
install -m 644 xbboot/target-stage1/stage1.bin xburst-tools-firmware
tar cjvf xburst-tools-firmware.tar.bz2 xburst-tools-firmware
install: all
install -d ${datadir}/xburst-tools/
install -m 644 usbboot/xburst_stage1/xburst_stage1.bin ${datadir}/xburst-tools
install -m 644 usbboot/xburst_stage2/xburst_stage2.bin ${datadir}/xburst-tools
install -m 644 xbboot/target-stage1/stage1.bin ${datadir}/xburst-tools