aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xresources/scripts/helpers/build/release/crossgcc10
2 files changed, 4 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index ca8fdc7e..70648841 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,7 +23,6 @@
/libreboot_util/
/libreboot_src/
/libreboot_docs/
-/crossgcc/
/release/
/resources/utilities/ich9deblob/factory.rom
/resources/utilities/ich9deblob/deblobbed_descriptor.bin
diff --git a/resources/scripts/helpers/build/release/crossgcc b/resources/scripts/helpers/build/release/crossgcc
index 182c353d..fb37dbd0 100755
--- a/resources/scripts/helpers/build/release/crossgcc
+++ b/resources/scripts/helpers/build/release/crossgcc
@@ -4,6 +4,7 @@
# helper script: generate the coreboot crossgcc archives
#
# Copyright (C) 2015 Patrick "P. J." McDermott <pj@pehjota.net>
+# Copyright (C) 2015 Francis Rowe <info@gluglug.org.uk>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -28,13 +29,10 @@ distdir='crossgcc'
printf 'Deleting old coreboot crossgcc archives\n'
rm -Rf "release/${distdir}/"
-rm -Rf "${distdir}/"
-printf 'Copying coreboot crossgcc archives to %s/\n' "${distdir}"
-cp -R coreboot/util/crossgcc/tarballs/ "${distdir}/"
-
-# Move the archives to the release/ directory.
[ -d release/ ] || mkdir release/
-mv "${distdir}" release/
+
+printf 'Copying coreboot crossgcc archives to %s/\n' "release/${distdir}"
+cp -R coreboot/util/crossgcc/tarballs/ "release/${distdir}/"
printf 'coreboot crossgcc archives are stored in release/%s\n' "${distdir}"