mirror of
https://github.com/Dasharo/coreboot.git
synced 2026-06-13 10:16:48 -07:00
capsule.sh: name capsule consistently with ROMs built by build.sh
build.sh uses _ instead of - to separate components. Change-Id: I06d11509c130eb1556b907e0d8393cd995d118c1 Upstream-Status: Inappropriate [Dasharo downstream] Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com> Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
This commit is contained in:
+3
-3
@@ -223,11 +223,11 @@ function make_subcommand() {
|
||||
check_cert sub "$sub_cert"
|
||||
check_cert sign "$sign_cert"
|
||||
|
||||
local cap_file=${CONFIG_MAINBOARD_DIR/\//-}
|
||||
local cap_file=${CONFIG_MAINBOARD_DIR//[\/-]/_}
|
||||
if [[ ${CONFIG_MAINBOARD_PART_NUMBER} =~ DDR4 ]]; then
|
||||
cap_file+=-ddr4
|
||||
cap_file+=_ddr4
|
||||
fi
|
||||
cap_file+=-${CONFIG_LOCALVERSION}
|
||||
cap_file+=_${CONFIG_LOCALVERSION}
|
||||
cap_file+=.cap
|
||||
|
||||
if [ -e "$cap_file" ]; then
|
||||
|
||||
Reference in New Issue
Block a user