diff options
| author | ruki <[email protected]> | 2021-12-22 22:40:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-12-22 22:40:40 +0800 |
| commit | af1618680f6ed2f90accafc534ffdfc7caf2f078 (patch) | |
| tree | a2f8325aae688e37eed340713cbc5f46f87143db /tests/projects/linux/driver/hello_custom/xmake.lua | |
| parent | 4ec129f7b917c222c4c20838acef80315eb85adf (diff) | |
add linux driver test for custom
Diffstat (limited to 'tests/projects/linux/driver/hello_custom/xmake.lua')
| -rw-r--r-- | tests/projects/linux/driver/hello_custom/xmake.lua | 6 |
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)") + |
