summaryrefslogtreecommitdiff
path: root/resources/scripts/update/module/mrc
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-06-24 23:23:16 +0100
committerLeah Rowe <leah@libreboot.org>2023-06-24 23:23:16 +0100
commit941fbcbf1b070c5e82c8590e6a4f1afcc0da78a4 (patch)
tree6cdbfaaab4b1f684e0fe75674f69c0a9eb4e8251 /resources/scripts/update/module/mrc
parent4a49ea3599c8610984c41ef6a234556ed9d0bce5 (diff)
run coreboot utils from own directory
this means coreboot can now be distcleaned safely, before and after each build of a rom image Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts/update/module/mrc')
-rwxr-xr-xresources/scripts/update/module/mrc6
1 files changed, 2 insertions, 4 deletions
diff --git a/resources/scripts/update/module/mrc b/resources/scripts/update/module/mrc
index ed0b38f3..d6a1c3a6 100755
--- a/resources/scripts/update/module/mrc
+++ b/resources/scripts/update/module/mrc
@@ -41,7 +41,7 @@ _mrc_complete_hash="d18de1e3d52c0815b82ea406ca07897c56c65696"
_mrc_complete="mrc/haswell/mrc.bin"
cbdir="coreboot/default"
-cbfstool="${cbdir}/util/cbfstool/cbfstool"
+cbfstool="cbutils/default/cbfstool"
sname=""
@@ -76,9 +76,7 @@ build_dependencies()
if [ ! -d "${cbdir}/" ]; then
./download coreboot default || return 1
fi
- if [ ! -f "${cbfstool}" ]; then
- ./build module cbutils default || return 1
- fi
+ ./build module cbutils default || return 1
return 0
}