diff --git a/Makefile.firmware b/Makefile.firmware index 72dcd25..0ea05a9 100644 --- a/Makefile.firmware +++ b/Makefile.firmware @@ -8,9 +8,17 @@ 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_stage1/xburst_stage2.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