blobutil/inject: check me path

fsdg20230625
Leah Rowe 2023-05-14 08:30:21 +01:00
parent 5da7554a3b
commit d34f381301
1 changed files with 3 additions and 1 deletions

View File

@ -258,7 +258,9 @@ inject_blob_intel_me()
{
rom="${1}"
# TODO: check if CONFIG_ME_BIN_PATH is empty
if [ -z ${CONFIG_ME_BIN_PATH} ]; then
fail "CONFIG_ME_BIN_PATH not set"
fi
_me_location=${CONFIG_ME_BIN_PATH#../../}
printf 'adding intel management engine\n'
${ifdtool} -i me:${_me_location} ${rom} -O ${rom} || exit 1