summaryrefslogtreecommitdiff
path: root/tests/projects/linux/driver/hello/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/linux/driver/hello/xmake.lua')
-rw-r--r--tests/projects/linux/driver/hello/xmake.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/projects/linux/driver/hello/xmake.lua b/tests/projects/linux/driver/hello/xmake.lua
new file mode 100644
index 000000000..079c31754
--- /dev/null
+++ b/tests/projects/linux/driver/hello/xmake.lua
@@ -0,0 +1,9 @@
+add_rules("mode.release", "mode.debug")
+
+add_requires("linux-headers", {configs = {driver_modules = true}})
+
+target("hello")
+ add_rules("platform.linux.driver")
+ add_files("src/*.c")
+ add_packages("linux-headers")
+ set_license("GPL-2.0")