diff options
| author | ruki <[email protected]> | 2021-12-24 21:46:32 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-12-24 21:46:32 +0800 |
| commit | fce3e08add943d72d3af8e6e11e8e006585266a3 (patch) | |
| tree | 36a17f06c167915eaace5614e0ad238cd86962e9 | |
| parent | 6dafe0a787373f5fd899bdf74e5f06028e81ad50 (diff) | |
Update driver_modules.lua
| -rw-r--r-- | xmake/rules/platform/linux/driver/driver_modules.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/platform/linux/driver/driver_modules.lua b/xmake/rules/platform/linux/driver/driver_modules.lua index c22d92cc0..121f391ba 100644 --- a/xmake/rules/platform/linux/driver/driver_modules.lua +++ b/xmake/rules/platform/linux/driver/driver_modules.lua @@ -132,7 +132,7 @@ module_exit(hello_exit); arch = "arm64" elseif target:is_arch("mips") then arch = "mips" - elseif target:is_arch("ppc", "powerpc") then + elseif target:is_arch("ppc", "ppc64", "powerpc", "powerpc64") then arch = "powerpc" end assert(arch, "unknown arch(%s)!", target:arch()) @@ -217,7 +217,7 @@ function load(target) archsubdir = path.join(sdkdir, "arch", "arm64") elseif target:is_arch("mips") then archsubdir = path.join(sdkdir, "arch", "mips") - elseif target:is_arch("ppc", "powerpc") then + elseif target:is_arch("ppc", "ppc64", "powerpc", "powerpc64") then archsubdir = path.join(sdkdir, "arch", "powerpc") else raise("rule(platform.linux.driver): unsupported arch(%s)!", target:arch()) |
