diff options
author | Francis Rowe <info@gluglug.org.uk> | 2016-03-07 11:10:10 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2016-03-07 11:10:10 (EST) |
commit | 239bfb38a5586047fa8268d1aa0966133fb3ee0b (patch) | |
tree | 13903ac357fcd10f1c988b09eb4ccecfa4eaecd4 /resources/scripts/helpers/download/coreboot | |
parent | d40b5c7b1a7b16b0c27828f615159c525306adb0 (diff) | |
download | libreboot-239bfb38a5586047fa8268d1aa0966133fb3ee0b.zip libreboot-239bfb38a5586047fa8268d1aa0966133fb3ee0b.tar.gz libreboot-239bfb38a5586047fa8268d1aa0966133fb3ee0b.tar.bz2 |
Download, compile and clean crossgcc separately to coreboot
This means that coreboot can be re-downloaded and re-built without affecting
crossgcc. The crossgcc directory also now only contains crossgcc; previously,
it contained the entire coreboot source code too, which was unneeded because
that directory was just for crossgcc, where the real coreboot directories
symlink to it during the build process.
Diffstat (limited to 'resources/scripts/helpers/download/coreboot')
-rwxr-xr-x | resources/scripts/helpers/download/coreboot | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/resources/scripts/helpers/download/coreboot b/resources/scripts/helpers/download/coreboot index 93af288..047f839 100755 --- a/resources/scripts/helpers/download/coreboot +++ b/resources/scripts/helpers/download/coreboot @@ -60,10 +60,6 @@ make_coreboot_src_directory() { ) } - -# coreboot revisios used for crossgcc -crossgccrevision="4351ace145c4069f9c93ca7541d6dfaf8300b53b" - printf "Downloading coreboot, patching coreboot and deblobbing coreboot\n" # This grabs current base used, and applies patches @@ -130,25 +126,6 @@ for payloads in ../../resources/libreboot/config/*; do done done - - -# prepare directory for crossgcc -rm -Rf "../../crossgcc/" -make_coreboot_src_directory crossgcc ${crossgccrevision} "no_vboot_revision" .. -( - cd "../crossgcc/${crossgccrevision}/" - git reset --hard ${crossgccrevision} - rm -Rf "3rdparty/" - - # Put this in its own separate directory - rm -Rf "../../../crossgcc" - cd ../ - mv "${crossgccrevision}/" "crossgcc/" - mv "crossgcc/" ../../ - cd ../ - rm -Rf "crossgcc/" -) - # go back to _src/coreboot/ (containing all coreboot directories) cd "../" # delete the gitted one (not needed anymore) @@ -158,7 +135,7 @@ rm -Rf "coreboot/" # ------------------------------------------------------------------------------ printf "Deleting .git* in coreboot/ (history inside .git contains the blobs that were deleted)\n" -rm -Rf */*/.git* ../crossgcc/.git* +rm -Rf */*/.git* rm -Rf */*/3rdparty/*/.git* # Delete crossgcc from non-crossgcc coreboot archives |