summaryrefslogtreecommitdiff
path: root/xmake/rules/platform/linux/driver/driver_modules.lua
diff options
context:
space:
mode:
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 bf2a77c2c..3dae19523 100644
--- a/xmake/rules/platform/linux/driver/driver_modules.lua
+++ b/xmake/rules/platform/linux/driver/driver_modules.lua
@@ -259,7 +259,7 @@ function link(target, opt)
-- generate target.mod
local targetfile_mod = targetfile_o:gsub("%.o$", ".mod")
- io.writefile(targetfile_mod, table.concat(objectfiles, " ") .. "\n\n")
+ io.writefile(targetfile_mod, table.concat(objectfiles, "\n") .. "\n\n")
-- generate .sourcename.o.cmd
-- we need only touch an empty file, otherwise modpost command will raise error.