summaryrefslogtreecommitdiff
path: root/xmake/rules/platform/linux/driver/driver_modules.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-09-22 00:49:26 +0800
committerruki <[email protected]>2022-09-22 00:49:26 +0800
commit54770effaf705870d8b4a2c03c70c020a0463160 (patch)
treedfc87c5ec7dfa7acd4cd2ddb1225801ccc085b2f /xmake/rules/platform/linux/driver/driver_modules.lua
parent473f3ae5d9afde134fef2f1d58dad088d7179461 (diff)
mark error as warning for modpost
Diffstat (limited to 'xmake/rules/platform/linux/driver/driver_modules.lua')
-rw-r--r--xmake/rules/platform/linux/driver/driver_modules.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/platform/linux/driver/driver_modules.lua b/xmake/rules/platform/linux/driver/driver_modules.lua
index fcf6a088d..bf2a77c2c 100644
--- a/xmake/rules/platform/linux/driver/driver_modules.lua
+++ b/xmake/rules/platform/linux/driver/driver_modules.lua
@@ -273,7 +273,7 @@ function link(target, opt)
-- generate target.mod.c
local orderfile = path.join(path.directory(targetfile_o), "modules.order")
local symversfile = path.join(path.directory(targetfile_o), "Module.symvers")
- argv = {"-m", "-a", "-o", symversfile, "-e", "-N", "-T", "-"}
+ argv = {"-m", "-a", "-o", symversfile, "-e", "-N", "-w", "-T", "-"}
io.writefile(orderfile, targetfile_o .. "\n")
os.vrunv(modpost, argv, {stdin = orderfile})