summaryrefslogtreecommitdiff
path: root/xmake/rules/platform/linux/driver/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-12-08 23:15:44 +0800
committerruki <[email protected]>2021-12-08 23:15:44 +0800
commitb76de4c1fb632724c412a1638af8694fb35e021d (patch)
tree48066720fc7379e5aa0ca7f002dff6fbc36d66c5 /xmake/rules/platform/linux/driver/xmake.lua
parentb3ae4feec5afe623183d92f8f3f9f0347f6abaea (diff)
add linux driver rule stub
Diffstat (limited to 'xmake/rules/platform/linux/driver/xmake.lua')
-rw-r--r--xmake/rules/platform/linux/driver/xmake.lua27
1 files changed, 27 insertions, 0 deletions
diff --git a/xmake/rules/platform/linux/driver/xmake.lua b/xmake/rules/platform/linux/driver/xmake.lua
new file mode 100644
index 000000000..dcecf4a1b
--- /dev/null
+++ b/xmake/rules/platform/linux/driver/xmake.lua
@@ -0,0 +1,27 @@
+--!A cross-platform build utility based on Lua
+--
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+-- Copyright (C) 2015-present, TBOOX Open Source Group.
+--
+-- @author ruki
+-- @file xmake.lua
+--
+
+-- build linux driver module
+rule("platform.linux.driver")
+ on_load(function (target)
+ target:set("kind", "binary")
+ -- TODO
+ end)
+