diff options
author | Francis Rowe <info@gluglug.org.uk> | 2016-03-08 01:33:00 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2016-03-08 01:33:00 +0000 |
commit | 5b29f719ac3b226ca17937c4c9e82abca39675fc (patch) | |
tree | d9741af9374c685b2b40b64767e9dbe0b4ffeaac /resources | |
parent | eed8d580347ae4e5606b759f6f6ba3d98457c93e (diff) | |
download | librebootfr-5b29f719ac3b226ca17937c4c9e82abca39675fc.tar.gz librebootfr-5b29f719ac3b226ca17937c4c9e82abca39675fc.zip |
build/roms/withdepthcharge: fix build issue (wrong working directory)
Diffstat (limited to 'resources')
-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 |