mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 17:58:46 +02:00
xbmk: sort global variables alphabetically
also separate some of the special ones. this makes the variables easier to read/find. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+43
-41
@@ -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=""
|
||||
has_hashes=""
|
||||
vcfg=""
|
||||
mecleaner=""
|
||||
kbc1126_ec_dump=""
|
||||
_dl=""
|
||||
rom=""
|
||||
nuke=""
|
||||
_7ztest=""
|
||||
cbfstoolref=""
|
||||
_me=""
|
||||
_metmp=""
|
||||
mfs=""
|
||||
cbdir=""
|
||||
cbfstoolref=""
|
||||
has_hashes=""
|
||||
hashfile=""
|
||||
_dl_bin=""
|
||||
_pre_dest=""
|
||||
kbc1126_ec_dump=""
|
||||
mecleaner=""
|
||||
mfs=""
|
||||
nuke=""
|
||||
rom=""
|
||||
vcfg=""
|
||||
xromsize=""
|
||||
|
||||
_7ztest=""
|
||||
_dest=""
|
||||
_dl=""
|
||||
_dl_bin=""
|
||||
_me=""
|
||||
_metmp=""
|
||||
_pre_dest=""
|
||||
|
||||
# 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_url=""
|
||||
DL_url=""
|
||||
FSPFD_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=""
|
||||
EC_hash=""
|
||||
EC_url=""
|
||||
EC_url_bkup=""
|
||||
FSPFD_hash=""
|
||||
FSPM_bin_hash=""
|
||||
FSPS_bin_hash=""
|
||||
ME11bootguard=""
|
||||
ME11delta=""
|
||||
ME11pch=""
|
||||
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" \
|
||||
|
||||
Reference in New Issue
Block a user