summaryrefslogtreecommitdiff
path: root/xmake/rules/platform/linux/driver/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-12-13 10:14:31 +0800
committerGitHub <[email protected]>2024-12-13 10:14:31 +0800
commit5aebd42c04b26f00f90a0678bbc4e69692f6f1bd (patch)
tree1ff0eee34e6d1fc22523117ce4c6d9976f6bd176 /xmake/rules/platform/linux/driver/xmake.lua
parent7e33780d50ce0798a79d8b6c833821129d3ce795 (diff)
parentd53f304899857e247c6491acae97ef2c6f8cad6f (diff)
Merge pull request #5953 from Freed-Wu/dev
rename luarocks.module to lua.module, platform.linux.driver to platform.linux.module
Diffstat (limited to 'xmake/rules/platform/linux/driver/xmake.lua')
-rw-r--r--xmake/rules/platform/linux/driver/xmake.lua19
1 files changed, 2 insertions, 17 deletions
diff --git a/xmake/rules/platform/linux/driver/xmake.lua b/xmake/rules/platform/linux/driver/xmake.lua
index 297dcc83e..a050185b3 100644
--- a/xmake/rules/platform/linux/driver/xmake.lua
+++ b/xmake/rules/platform/linux/driver/xmake.lua
@@ -18,23 +18,8 @@
-- @file xmake.lua
--
--- build linux driver module
rule("platform.linux.driver")
- set_sourcekinds("cc")
- on_load(function (target)
- import("driver_modules").load(target)
- end)
on_config(function (target)
- import("driver_modules").config(target)
- end)
- on_link(function (target, opt)
- import("driver_modules").link(target, opt)
- end)
- on_install(function (target)
- import("driver_modules").install(target)
+ wprint('deprecated: please use add_rules("platform.linux.module") instead of add_rules("platform.linux.driver")')
end)
- on_uninstall(function (target)
- import("driver_modules").uninstall(target)
- end)
-
-
+ add_deps("platform.linux.module")