39 lines
546 B
Plaintext
39 lines
546 B
Plaintext
import("//build/buildcfg.gni")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
module_name = get_path_info(rebase_path("."), "name")
|
|
|
|
executable("kunlun.out"){
|
|
deps=[":$module_name"]
|
|
link_path=rebase_path("${kl_ld_script}")
|
|
link_file=get_path_info(link_path,"file")
|
|
link_dir=get_path_info(link_path,"dir")
|
|
ldflags=[
|
|
"-Wl,-T" + link_file,
|
|
"-Wl,-u_printf_float",
|
|
"-L" + link_dir,
|
|
]
|
|
}
|
|
|
|
|
|
module_group(module_name) {
|
|
modules = [
|
|
"ap",
|
|
"app",
|
|
"startup",
|
|
"driver",
|
|
"common",
|
|
"os",
|
|
"plc",
|
|
"ftm",
|
|
"pib",
|
|
"cli",
|
|
"import"
|
|
]
|
|
} |