summaryrefslogtreecommitdiffstats
path: root/resources/scripts
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-03-07 20:33:00 (EST)
committer Francis Rowe <info@gluglug.org.uk>2016-03-07 20:33:00 (EST)
commit5b29f719ac3b226ca17937c4c9e82abca39675fc (patch)
treed9741af9374c685b2b40b64767e9dbe0b4ffeaac /resources/scripts
parenteed8d580347ae4e5606b759f6f6ba3d98457c93e (diff)
downloadlibreboot-5b29f719ac3b226ca17937c4c9e82abca39675fc.zip
libreboot-5b29f719ac3b226ca17937c4c9e82abca39675fc.tar.gz
libreboot-5b29f719ac3b226ca17937c4c9e82abca39675fc.tar.bz2
build/roms/withdepthcharge: fix build issue (wrong working directory)
Diffstat (limited to 'resources/scripts')
-rwxr-xr-xresources/scripts/helpers/build/roms/withdepthcharge7
1 files changed, 5 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/roms/withdepthcharge b/resources/scripts/helpers/build/roms/withdepthcharge
index 431427a..2ba9776 100755
--- a/resources/scripts/helpers/build/roms/withdepthcharge
+++ b/resources/scripts/helpers/build/roms/withdepthcharge
@@ -49,14 +49,16 @@ buildlibpayload() {
cbrevision="${3}"
vbootrevision="${4}"
- (
- cd "coreboot/${cbrevision}/${cbrevision}/payloads/libpayload/"
+ (
+ cd "coreboot/${cbrevision}/${cbrevision}/"
git checkout depthcharge_${board}
(
cd "3rdparty/vboot/"
git checkout depthcharge_${board}
)
+ cd "payloads/libpayload/"
+
make distclean
rm -Rf "install/"
@@ -64,6 +66,7 @@ buildlibpayload() {
make -j"$(nproc)"
make DESTDIR="install" install
+ cd "../../"
git checkout master
cd "3rdparty/vboot/"
git checkout master