makezip: Don't install classic_statusbar.rsbs on targets without remotes

Also nuke attempting to install the nonexistent 'rockbox_none.sbs'

Change-Id: I22ed33c5d3d322b0509118005b1327aa88c61fcc
This commit is contained in:
Solomon Peachy 2026-10-05 14:09:38 -04:00
parent 374f7c0334
commit 279e8524a6

View file

@ -668,12 +668,11 @@ sub buildzip {
} else {
copy("$ROOT/wps/classic_statusbar.mono.sbs", "$temp_dir/wps/classic_statusbar.sbs");
}
if ($remote_depth != $depth) {
copy("$ROOT/wps/classic_statusbar.mono.sbs", "$temp_dir/wps/classic_statusbar.rsbs");
} else {
if ($remote_depth == $depth) {
copy("$temp_dir/wps/classic_statusbar.sbs", "$temp_dir/wps/classic_statusbar.rsbs");
} elsif ($remote_depth != 0) {
copy("$ROOT/wps/classic_statusbar.mono.sbs", "$temp_dir/wps/classic_statusbar.rsbs");
}
copy("$temp_dir/wps/rockbox_none.sbs", "$temp_dir/wps/rockbox_none.rsbs");
# and the info file
copy("rockbox-info.txt", "$temp_dir/rockbox-info.txt");