From a55af90b6c324ec9fdea9c19b65451b72bf08faf Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 22 Feb 2026 17:18:51 +0000 Subject: vendor.sh: handle mfs in find_me This makes the argument handling easier to understand, since other arguments are also handled in find_me Signed-off-by: Leah Rowe --- include/vendor.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/vendor.sh b/include/vendor.sh index 3c5b5d65..8076d9ab 100644 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -290,8 +290,6 @@ extract_intel_me() fi if [ "$ME11bootguard" = "y" ]; then - mfs="--whitelist MFS" - if [ -z "$ME11delta" ] || [ -z "$ME11version" ] || \ [ -z "$ME11sku" ] || [ -z "$ME11pch" ]; then err "$board: ME11delta/ME11version/ME11sku/ME11pch" \ @@ -334,6 +332,9 @@ find_me() _r="-r" # re-locate modules _trunc="-t" # -t: truncate the ME size + if [ "$ME11bootguard" = "y" ]; then + mfs="--whitelist MFS" + fi if [ "$MEclean" = "n" ]; then MEshrink="n" -- cgit v1.2.1