소스 검색

add:luat_conf_bsp.h打包进soc

Dozingfiretruck 3 년 전
부모
커밋
3c734f6fa6
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      xmake.lua

+ 3 - 1
xmake.lua

@@ -521,11 +521,13 @@ end
             else
                 os.cp("./project/air105/info.json", "$(buildir)/out/info.json")
             end
+            os.cp("./application/include/luat_conf_bsp.h", "$(buildir)/out/luat_conf_bsp.h")
             os.cp("./project/air105/soc_download.exe", "$(buildir)/out/soc_download.exe")
             os.cd("$(buildir)/out")
-            os.run(path7z.." a -mx9 LuatOS-SoC_"..AIR105_VERSION.."_AIR105.soc info.json bootloader.bin app.bin soc_download.exe")
+            os.run(path7z.." a -mx9 LuatOS-SoC_"..AIR105_VERSION.."_AIR105.soc info.json bootloader.bin app.bin soc_download.exe luat_conf_bsp.h")
             os.rm("$(buildir)/out/info.json")
             os.rm("$(buildir)/out/soc_download.exe")
+            os.rm("$(buildir)/out/luat_conf_bsp.h")
         else
             print("7z not find")
             return