使用ninja 编译 链接成功
This commit is contained in:
14
plc/BUILD.gn
14
plc/BUILD.gn
@@ -11,9 +11,15 @@
|
||||
|
||||
import("//build/buildcfg.gni")
|
||||
|
||||
module_name = "kl_sdk"
|
||||
module_name = get_path_info(rebase_path("."), "name")
|
||||
|
||||
kernel_module(module_name) {
|
||||
sources=[]
|
||||
include_dirs=[]
|
||||
module_group(module_name) {
|
||||
modules = ["halmac","halphy","common","cvg","htbus",":kl_sdk"]
|
||||
}
|
||||
|
||||
module_name1 = "kl_sdk"
|
||||
|
||||
source_module(module_name1) {
|
||||
sources = []
|
||||
include_dirs = []
|
||||
}
|
8
plc/common/BUILD.gn
Normal file
8
plc/common/BUILD.gn
Normal file
@@ -0,0 +1,8 @@
|
||||
import("//build/buildcfg.gni")
|
||||
|
||||
module_name = "kl_sdk"
|
||||
|
||||
kernel_module(module_name) {
|
||||
sources=[]
|
||||
include_dirs=[]
|
||||
}
|
8
plc/cvg/BUILD.gn
Normal file
8
plc/cvg/BUILD.gn
Normal file
@@ -0,0 +1,8 @@
|
||||
import("//build/buildcfg.gni")
|
||||
|
||||
module_name = "kl_sdk"
|
||||
|
||||
kernel_module(module_name) {
|
||||
sources=[]
|
||||
include_dirs=[]
|
||||
}
|
15
plc/halmac/BUILD.gn
Normal file
15
plc/halmac/BUILD.gn
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
import("//build/buildcfg.gni")
|
||||
|
||||
module_name = get_path_info(rebase_path("."), "name")
|
||||
|
||||
module_group(module_name) {
|
||||
modules = ["hw3",":kl_sdk"]
|
||||
}
|
||||
|
||||
module_name1 = "kl_sdk"
|
||||
|
||||
source_module(module_name1) {
|
||||
sources = []
|
||||
include_dirs = []
|
||||
}
|
8
plc/halmac/hw3/BUILD.gn
Normal file
8
plc/halmac/hw3/BUILD.gn
Normal file
@@ -0,0 +1,8 @@
|
||||
import("//build/buildcfg.gni")
|
||||
|
||||
module_name = "kl_sdk"
|
||||
|
||||
kernel_module(module_name) {
|
||||
sources=[]
|
||||
include_dirs=[]
|
||||
}
|
8
plc/halphy/BUILD.gn
Normal file
8
plc/halphy/BUILD.gn
Normal file
@@ -0,0 +1,8 @@
|
||||
import("//build/buildcfg.gni")
|
||||
|
||||
module_name = "kl_sdk"
|
||||
|
||||
kernel_module(module_name) {
|
||||
sources=[]
|
||||
include_dirs=[]
|
||||
}
|
8
plc/htbus/BUILD.gn
Normal file
8
plc/htbus/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