diff options
Diffstat (limited to 'include/vendor.sh')
-rw-r--r-- | include/vendor.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/vendor.sh b/include/vendor.sh index 201359d7..d18fc70e 100644 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -24,7 +24,7 @@ eval `setvars "" EC_url_bkup EC_hash DL_hash DL_url_bkup MRC_refcode_gbe vcfg \ mecleaner kbc1126_ec_dump MRC_refcode_cbtree new_mac _dl SCH5545EC_DL_url \ archive EC_url boarddir rom cbdir DL_url nukemode cbfstoolref vrelease \ verify _7ztest ME11bootguard ME11delta ME11version ME11sku ME11pch \ - IFD_platform ifdprefix cdir sdir _me _metmp mfs $cv` + IFD_platform ifdprefix cdir sdir _me _metmp mfs MEwhitelist $cv` vendor_download() { @@ -110,10 +110,14 @@ extract_intel_me() cdir="$PWD/$appdir" _me="$PWD/$_dest" _metmp="$PWD/tmp/me.bin" + + mfs="" && [ -n "$MEwhitelist" ] && mfs="$MEwhitelist" - mfs="" && [ "$ME11bootguard" = "y" ] && mfs="--whitelist MFS" && \ - chkvars ME11delta ME11version ME11sku ME11pch - [ "$ME11bootguard" = "y" ] && x_ ./mk -f deguard + if [ "$ME11bootguard" = "y" ]; then + [ -z "$mfs" ] && mfs="--whitelist MFS" + chkvars ME11delta ME11version ME11sku ME11pch + x_ ./mk -f deguard + fi x_ mkdir -p tmp |