From f07971bf99f8df30021eacd939413a2ba044ef0a Mon Sep 17 00:00:00 2001 From: Xiangfu Date: Tue, 5 Jun 2012 10:00:39 +0800 Subject: [PATCH] add create tar.bz2 ball rule --- Makefile.firmware | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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