添加一些BUILD.gn文件, 添加 source_module模板
This commit is contained in:
@@ -11,9 +11,16 @@
|
||||
|
||||
import("//build/buildcfg.gni")
|
||||
|
||||
module_name = "kl_sdk"
|
||||
module_name = get_path_info(rebase_path("."), "name")
|
||||
|
||||
kernel_module(module_name) {
|
||||
module_group(module_name) {
|
||||
modules = ["pkt","io_lib","utils",":kl_sdk"]
|
||||
}
|
||||
|
||||
module_name1 = "kl_sdk"
|
||||
|
||||
source_module(module_name1) {
|
||||
sources = []
|
||||
include_dirs = []
|
||||
}
|
||||
|
||||
|
8
common/io_lib/BUILD.gn
Normal file
8
common/io_lib/BUILD.gn
Normal file
@@ -0,0 +1,8 @@
|
||||
import("//build/buildcfg.gni")
|
||||
|
||||
module_name = "kl_sdk"
|
||||
|
||||
kernel_module(module_name) {
|
||||
sources=[]
|
||||
include_dirs=[]
|
||||
}
|
8
common/pkt/BUILD.gn
Normal file
8
common/pkt/BUILD.gn
Normal file
@@ -0,0 +1,8 @@
|
||||
import("//build/buildcfg.gni")
|
||||
|
||||
module_name = "kl_sdk"
|
||||
|
||||
kernel_module(module_name) {
|
||||
sources=[]
|
||||
include_dirs=[]
|
||||
}
|
8
common/utils/BUILD.gn
Normal file
8
common/utils/BUILD.gn
Normal file
@@ -0,0 +1,8 @@
|
||||
import("//build/buildcfg.gni")
|
||||
|
||||
module_name = "kl_sdk"
|
||||
|
||||
kernel_module(module_name) {
|
||||
sources=[]
|
||||
include_dirs=[]
|
||||
}
|
Reference in New Issue
Block a user