浏览代码

Update xmake.lua

ruki 3 年之前
父节点
当前提交
472c0de723
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      packages/l/linux-headers/xmake.lua

+ 4 - 0
packages/l/linux-headers/xmake.lua

@@ -48,6 +48,10 @@ package("linux-headers")
                     arch = "arm"
                 elseif package:is_arch("arm64", "arm64-v8a") then
                     arch = "arm64"
+                elseif package:is_arch("mips") then
+                    arch = "mips"
+                elseif package:is_arch("ppc", "powerpc") then
+                    arch = "powerpc"
                 end
                 assert(arch, "unknown arch(%s)!", package:arch())
                 local cc = package:tool("cc")