mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
build: Bundle the main .map files into the zip file
This covers the rockbox binary (or bootloader), which increases the zip file by 60-80k depending on the target. It currently *excludes* codecs and plugins, which can add over 1MB to the zip file. We can revisit this when/if we move to distributing 7zip files instead. Change-Id: Iec72dd3aa634ceca716975c13b7fa8707a485d30
This commit is contained in:
parent
20f4f9539a
commit
2d2b03d314
1 changed files with 7 additions and 0 deletions
|
|
@ -692,6 +692,13 @@ sub buildzip {
|
|||
# copy the .lua files
|
||||
glob_mkdir("$temp_dir/rocks/viewers/lua/");
|
||||
glob_copy('apps/plugins/lua/*.lua', "$temp_dir/rocks/viewers/lua/");
|
||||
|
||||
# finally, bundle map files for debug
|
||||
glob_mkdir("$temp_dir/debug");
|
||||
glob_copy("*.map", "$temp_dir/debug");
|
||||
# codecs and plugin maps add up
|
||||
# find(find_copyfile(qr/\.(map)/, abs_path("$temp_dir/debug")), 'lib');
|
||||
# find(find_copyfile(qr/\.(map)/, abs_path("$temp_dir/debug")), 'apps/plugins');
|
||||
}
|
||||
|
||||
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue