diff options
Diffstat (limited to 'resources/scripts/helpers')
-rwxr-xr-x | resources/scripts/helpers/build/roms/withdepthcharge | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/roms/withdepthcharge b/resources/scripts/helpers/build/roms/withdepthcharge index 431427a4..2ba97766 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 |