summaryrefslogtreecommitdiff
path: root/tests/projects/linux/driver/hello_custom/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/linux/driver/hello_custom/xmake.lua')
-rw-r--r--tests/projects/linux/driver/hello_custom/xmake.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/projects/linux/driver/hello_custom/xmake.lua b/tests/projects/linux/driver/hello_custom/xmake.lua
new file mode 100644
index 000000000..846bddc55
--- /dev/null
+++ b/tests/projects/linux/driver/hello_custom/xmake.lua
@@ -0,0 +1,6 @@
+option("linux-headers", {showmenu = true, description = "Set linux-headers path."})
+target("hello")
+ add_rules("platform.linux.driver")
+ add_files("src/*.c")
+ set_values("linux.driver.linux-headers", "$(linux-headers)")
+