build: Bundle the main .map files into the zip file
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 2d2b03d314455112afa7dd8d369874ae0233a3e1 Author: Solomon Peachy <[email protected]> Date: Sat Aug 1 08:53:44 2026 -0400 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 diff --git a/tools/buildzip.pl b/tools/buildzip.pl index e10396dac7..0613be1484 100755 --- a/tools/buildzip.pl +++ b/tools/buildzip.pl @@ -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) = -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs