summaryrefslogtreecommitdiff
path: root/xmake/rules/wdk/env/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-06-05 00:51:03 +0800
committerruki <[email protected]>2018-06-04 23:06:19 +0800
commit1e235065e5bef8704458c0f2eb6b9ca40231c13b (patch)
treebb43789b8a7687e46ddfbd557b19e19b440820f0 /xmake/rules/wdk/env/xmake.lua
parent4c84a126bbaa577bd8a023257c42ca2892f26338 (diff)
improve wdk rules
Diffstat (limited to 'xmake/rules/wdk/env/xmake.lua')
-rw-r--r--xmake/rules/wdk/env/xmake.lua32
1 files changed, 32 insertions, 0 deletions
diff --git a/xmake/rules/wdk/env/xmake.lua b/xmake/rules/wdk/env/xmake.lua
index 9e192cd41..c2b2642e1 100644
--- a/xmake/rules/wdk/env/xmake.lua
+++ b/xmake/rules/wdk/env/xmake.lua
@@ -67,3 +67,35 @@ rule("wdk.env")
target:data_set("wdk.cleanfiles", nil)
end)
+-- define rule: umdf
+rule("wdk.env.umdf")
+
+ -- add rules
+ add_deps("wdk.env")
+
+ -- on load
+ on_load(function (target)
+ import("load").umdf(target)
+ end)
+
+-- define rule: kmdf
+rule("wdk.env.kmdf")
+
+ -- add rules
+ add_deps("wdk.env")
+
+ -- on load
+ on_load(function (target)
+ import("load").kmdf(target)
+ end)
+
+-- define rule: wdm
+rule("wdk.env.wdm")
+
+ -- add rules
+ add_deps("wdk.env")
+
+ -- on load
+ on_load(function (target)
+ import("load").wdm(target)
+ end)