summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers')
-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