summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/release
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-16 19:29:00 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-05-16 19:29:48 (EDT)
commitac08113ec30e5a59b2376bd8c0dd335807e24ee2 (patch)
treeaf3aba1aedef578cfec0d46b14c5ca90cec37172 /resources/scripts/helpers/build/release
parent7b4450efab0ad8e91af36c811c12e6bc1f127005 (diff)
downloadlibreboot-ac08113ec30e5a59b2376bd8c0dd335807e24ee2.zip
libreboot-ac08113ec30e5a59b2376bd8c0dd335807e24ee2.tar.gz
libreboot-ac08113ec30e5a59b2376bd8c0dd335807e24ee2.tar.bz2
build/release/archives: separate crossgcc into a new archive
Diffstat (limited to 'resources/scripts/helpers/build/release')
-rwxr-xr-xresources/scripts/helpers/build/release/archives10
1 files changed, 10 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/release/archives b/resources/scripts/helpers/build/release/archives
index a70f348..599900d 100755
--- a/resources/scripts/helpers/build/release/archives
+++ b/resources/scripts/helpers/build/release/archives
@@ -60,6 +60,7 @@ rm -rf tobuild/
rm -rf libreboot_bin
rm -rf libreboot_src
rm -rf libreboot_doc
+rm -rf libreboot_crossgcc
# Get manifest which will be used to copy everything
find -maxdepth 1 > releasefilelist
@@ -433,6 +434,9 @@ rm -f libreboot_src/ich9fdgbe_4m.bin
rm -rf libreboot_src/tobuild/
rm -f libreboot_src/tobuild.tar.xz
+# separate coreboot's crossgcc toolchain into a new archive
+mv libreboot_src/coreboot/util/crossgcc/tarballs/ libreboot_crossgcc
+
# mention the commit ID (libreboot, git) in the release archives
cat commitid > libreboot_src/commitid
cat commitid > libreboot_util/commitid
@@ -445,9 +449,14 @@ printf "Compressing libreboot_util/ into libreboot_util.tar.xz\n"
# create lzma compressed util archive
tar -c libreboot_util | xz -9e >libreboot_util.tar.xz
+printf "Compressing libreboot_crossgcc/ into libreboot_crossgcc.tar.xz\n"
+# create lzma compressed util archive
+tar -c libreboot_crossgcc | xz -9e >libreboot_crossgcc.tar.xz
+
# Move the archives to the release directory
mv libreboot_src.tar.xz release/
mv libreboot_util.tar.xz release/
+mv libreboot_crossgcc.tar.xz release/
# Create a symlink to the commitid file, in release/
cat commitid > release/commitid
@@ -460,6 +469,7 @@ printf "\n\n"
# The uncompressed archives are no longer needed
rm -rf libreboot_src
rm -rf libreboot_util
+rm -rf libreboot_crossgcc
# For those utilities that have to be built on the target
./build external source