diff options
| author | ruki <[email protected]> | 2022-09-27 16:19:43 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-09-27 16:19:43 +0800 |
| commit | 3cfc08b2bba608a0b434384ec4eec435407e5ef8 (patch) | |
| tree | ee2cd28b614929d631db48ab11c50e3e1ac19e16 | |
| parent | 76bced915dfb870a34528270a02236a3f5f6ff4e (diff) | |
| parent | 9a798072a5618d7dacf84121ce1dc66e13f91e68 (diff) | |
Merge pull request #2876 from yinntian/linux-driver
Fix linux driver for kernel 5.19+
| -rw-r--r-- | xmake/rules/platform/linux/driver/driver_modules.lua | 2 |
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. |
