summaryrefslogtreecommitdiff
path: root/include/vendor.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/vendor.sh')
-rw-r--r--include/vendor.sh70
1 files changed, 36 insertions, 34 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index 761f9250..509cea8e 100644
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -36,64 +36,65 @@ checkvarsxbmk="CONFIG_ME_BIN_PATH CONFIG_SMSC_SCH5545_EC_FW_FILE \
CONFIG_FSP_FD_PATH CONFIG_IFD_BIN_PATH CONFIG_MRC_FILE CONFIG_FSP_M_CBFS"
# lbmk-specific extensions; general variables
-_dest=""
+cbdir=""
+cbfstoolref=""
has_hashes=""
-vcfg=""
-mecleaner=""
+hashfile=""
kbc1126_ec_dump=""
-_dl=""
-rom=""
+mecleaner=""
+mfs=""
nuke=""
+rom=""
+vcfg=""
+xromsize=""
+
_7ztest=""
-cbfstoolref=""
+_dest=""
+_dl=""
+_dl_bin=""
_me=""
_metmp=""
-mfs=""
-cbdir=""
-hashfile=""
-_dl_bin=""
_pre_dest=""
-xromsize=""
# lbmk-specific extensions; declared in pkg.cfg files in config/vendor/
-EC_hash=""
DL_hash=""
+DL_url=""
DL_url_bkup=""
-MRC_refcode_gbe=""
+E6400_VGA_bin_hash=""
E6400_VGA_DL_hash=""
E6400_VGA_DL_url=""
E6400_VGA_DL_url_bkup=""
E6400_VGA_offset=""
E6400_VGA_romname=""
-SCH5545EC_DL_url_bkup=""
-SCH5545EC_DL_hash=""
-MRC_refcode_cbtree=""
-SCH5545EC_DL_url=""
+EC_FW1_hash=""
+EC_FW2_hash=""
+EC_hash=""
EC_url=""
-DL_url=""
+EC_url_bkup=""
FSPFD_hash=""
+FSPM_bin_hash=""
+FSPS_bin_hash=""
ME11bootguard=""
ME11delta=""
-ME11version=""
-ME11sku=""
ME11pch=""
-TBFW_url_bkup=""
-TBFW_url=""
-TBFW_hash=""
-TBFW_size=""
-EC_url_bkup=""
-FSPM_bin_hash=""
-FSPS_bin_hash=""
-EC_FW1_hash=""
-EC_FW2_hash=""
+ME11sku=""
+ME11version=""
ME_bin_hash=""
+MEclean=""
MRC_bin_hash=""
+MRC_refcode_cbtree=""
+MRC_refcode_gbe=""
REF_bin_hash=""
SCH5545EC_bin_hash=""
+SCH5545EC_DL_hash=""
+SCH5545EC_DL_url=""
+SCH5545EC_DL_url_bkup=""
TBFW_bin_hash=""
-E6400_VGA_bin_hash=""
+TBFW_hash=""
+TBFW_size=""
+TBFW_url=""
+TBFW_url_bkup=""
XBMKmecleaner=""
-MEclean=""
download()
{
@@ -316,10 +317,11 @@ find_me()
fi
_7ztest="${_7ztest}a"
- _r="-r" # re-locate modules
- _trunc="-t" # -t: truncate the ME size
+
_keep="" # -k: keep fptr modules even if they can be removed
_pass="" # -p: skip fptr check
+ _r="-r" # re-locate modules
+ _trunc="-t" # -t: truncate the ME size
if [ -n "$mfs" ] || [ "$MEclean" = "n" ]; then
_r=""
@@ -327,8 +329,8 @@ find_me()
if [ "$MEclean" = "n" ]; then
_keep="-k"
- _trunc=""
_pass="-p"
+ _trunc=""
fi
if "$mecleaner" $mfs $_r $_keep $_pass $_trunc -O "$xbtmp/a" \