1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 23:22:37 +02:00

Use bzip2 when making a tarball

Tarballs on download.flashrom.org are generally packaged using bzip2, so
we may as well be internally consistent.

Change-Id: Ib9fb1ea6d5994cd0285ce8db9675640fae992773
Signed-off-by: David Hendricks <dhendricks@fb.com>
Reviewed-on: https://review.coreboot.org/22116
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-on: https://review.coreboot.org/22335
This commit is contained in:
David Hendricks 2017-10-19 14:54:44 -07:00 committed by Nico Huber
parent f0d1173fb4
commit 3a235498b4

View File

@ -1408,11 +1408,11 @@ export: _export
@echo "Exported $(EXPORTDIR)/flashrom-$(RELEASENAME)/" @echo "Exported $(EXPORTDIR)/flashrom-$(RELEASENAME)/"
tarball: _export tarball: _export
@tar -cz --format=ustar -f "$(EXPORTDIR)/flashrom-$(RELEASENAME).tar.gz" -C $(EXPORTDIR)/ \ @tar -cj --format=ustar -f "$(EXPORTDIR)/flashrom-$(RELEASENAME).tar.bz2" -C $(EXPORTDIR)/ \
$(TAROPTIONS) "flashrom-$(RELEASENAME)/" $(TAROPTIONS) "flashrom-$(RELEASENAME)/"
# Delete the exported directory again because it is most likely what's expected by the user. # Delete the exported directory again because it is most likely what's expected by the user.
@rm -rf "$(EXPORTDIR)/flashrom-$(RELEASENAME)" @rm -rf "$(EXPORTDIR)/flashrom-$(RELEASENAME)"
@echo Created "$(EXPORTDIR)/flashrom-$(RELEASENAME).tar.gz" @echo Created "$(EXPORTDIR)/flashrom-$(RELEASENAME).tar.bz2"
libpayload: clean libpayload: clean
make CC="CC=i386-elf-gcc lpgcc" AR=i386-elf-ar RANLIB=i386-elf-ranlib make CC="CC=i386-elf-gcc lpgcc" AR=i386-elf-ar RANLIB=i386-elf-ranlib