瀏覽代碼

Merge branch 'master' of https://gitee.com/openLuat/luatos-soc-air105

alienwalker 3 年之前
父節點
當前提交
a180a50ee5
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      xmake.lua

+ 2 - 1
xmake.lua

@@ -432,7 +432,8 @@ end
             os.cp("./project/air105/info.json", "$(buildir)/out/info.json")
             os.cp("./project/air105/soc_download.exe", "$(buildir)/out/soc_download.exe")
             os.cd("$(buildir)/out")
-            os.run(path7z.." a LuatOS-SoC_"..AIR105_VERSION.."_AIR105.soc info.json bootloader.bin app.bin soc_download.exe")
+            os.run(path7z .. " a -mx=9 maps.7z app.map bootloader.map")
+            os.run(path7z.." a LuatOS-SoC_"..AIR105_VERSION.."_AIR105.soc info.json bootloader.bin app.bin soc_download.exe maps.7z")
             os.rm("$(buildir)/out/info.json")
             os.rm("$(buildir)/out/soc_download.exe")
         else