diff options
| author | xi4oyu <[email protected]> | 2023-11-10 20:58:43 +0800 |
|---|---|---|
| committer | xi4oyu <[email protected]> | 2023-11-10 20:58:43 +0800 |
| commit | 10da5140d816dd5d653c059967420c53ef0557bc (patch) | |
| tree | de700b59dcd90c4ae8315dc7275cefd4b902ed2f /xmake/rules/platform/linux/driver/driver_modules.lua | |
| parent | 8eefa03ee2cadf0d89126e18173c1e179bebc3c5 (diff) | |
fix modpost parameter of linux driver rule
Diffstat (limited to 'xmake/rules/platform/linux/driver/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 845404504..25acc6581 100644 --- a/xmake/rules/platform/linux/driver/driver_modules.lua +++ b/xmake/rules/platform/linux/driver/driver_modules.lua @@ -283,9 +283,9 @@ 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", "-w", "-T", "-"} + argv = {"-m", "-a", "-o", symversfile, "-e", "-N", "-w", "-T", orderfile} io.writefile(orderfile, targetfile_o .. "\n") - os.vrunv(modpost, argv, {stdin = orderfile}) + os.vrunv(modpost, argv) -- compile target.mod.c local targetfile_mod_c = targetfile_o:gsub("%.o$", ".mod.c") |
