From 9a798072a5618d7dacf84121ce1dc66e13f91e68 Mon Sep 17 00:00:00 2001 From: yintian <954436700@qq.com> Date: Tue, 27 Sep 2022 14:38:32 +0800 Subject: fix linux driver for kernel 5.19+ --- xmake/rules/platform/linux/driver/driver_modules.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/rules/platform/linux/driver/driver_modules.lua') 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. -- cgit v1.3.1