1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #!/bin/bash
- [ "x${DEBUG+set}" = 'xset' ] && set -v
- set -u -e
- if [ -f "version" ]; then
-
- version="libreboot-$(cat version)"
- else
-
- version="libreboot-$(git describe --tags HEAD)"
- fi
- crossgccrevision="35562d8b6477058e6bca31b5cedd9d4897124fc7"
- vbootrevision="d187cd3fc792f8bcefbee4587c83eafbd08441fc"
- rm -Rf "crossgcc/"
- (
- git clone https://review.coreboot.org/coreboot crossgcc || git clone https://github.com/coreboot/coreboot.git crossgcc
- cd "crossgcc/"
- git reset --hard ${crossgccrevision}
- git submodule update --init --checkout -- 3rdparty/vboot/
- (
- cd 3rdparty/vboot/
- git reset --hard ${vbootrevision}
- )
-
-
- git am ../resources/libreboot/patch/crossgcc/gccfix.diff
- rm -Rf .git* */*/.git*
- )
- printf "Deblobbing coreboot\n"
- ./resources/utilities/coreboot-libre/deblob
|