diff --git a/BUILD.gn b/BUILD.gn index e1f23db..cb81f9c 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -38,7 +38,7 @@ module_group(module_name) { "common", "os", "plc", - # "ftm", + "ftm", "pib", "cli", # "import" diff --git a/ftm/Makefile b/ftm/Makefile index 916c6ae..f49672f 100644 --- a/ftm/Makefile +++ b/ftm/Makefile @@ -30,7 +30,7 @@ SUB_DIRS += $(TOPDIR)/bb_cpu/common $(TOPDIR)/bb_cpu/bb \ $(TOPDIR)/dtest/dtest3/mac_phy/rf_mac \ $(TOPDIR)/dtest/dtest3/mac_phy/double_cpu -EXT_SRC += $(TOPDIR)/dtest/dtest3/mac_phy/rf_phy/rf_phy_main.c \ +EXT_SRC += \ $(TOPDIR)/dtest/dtest3/mac_phy/rf_phy/rf_phy_rx.c \ $(TOPDIR)/dtest/dtest3/mac_phy/rf_phy/rf_phy_tx.c endif diff --git a/plc/BUILD.gn b/plc/BUILD.gn index e21711d..c0a3c42 100644 --- a/plc/BUILD.gn +++ b/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 = [] } \ No newline at end of file diff --git a/plc/common/BUILD.gn b/plc/common/BUILD.gn new file mode 100644 index 0000000..0e3edc6 --- /dev/null +++ b/plc/common/BUILD.gn @@ -0,0 +1,8 @@ +import("//build/buildcfg.gni") + +module_name = "kl_sdk" + +kernel_module(module_name) { + sources=[] + include_dirs=[] +} \ No newline at end of file diff --git a/plc/cvg/BUILD.gn b/plc/cvg/BUILD.gn new file mode 100644 index 0000000..0e3edc6 --- /dev/null +++ b/plc/cvg/BUILD.gn @@ -0,0 +1,8 @@ +import("//build/buildcfg.gni") + +module_name = "kl_sdk" + +kernel_module(module_name) { + sources=[] + include_dirs=[] +} \ No newline at end of file diff --git a/plc/halmac/BUILD.gn b/plc/halmac/BUILD.gn new file mode 100644 index 0000000..7dfb46e --- /dev/null +++ b/plc/halmac/BUILD.gn @@ -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 = [] +} \ No newline at end of file diff --git a/plc/halmac/hw3/BUILD.gn b/plc/halmac/hw3/BUILD.gn new file mode 100644 index 0000000..6d4b822 --- /dev/null +++ b/plc/halmac/hw3/BUILD.gn @@ -0,0 +1,8 @@ +import("//build/buildcfg.gni") + +module_name = "kl_sdk" + +kernel_module(module_name) { + sources=[] + include_dirs=[] +} diff --git a/plc/halphy/BUILD.gn b/plc/halphy/BUILD.gn new file mode 100644 index 0000000..0e3edc6 --- /dev/null +++ b/plc/halphy/BUILD.gn @@ -0,0 +1,8 @@ +import("//build/buildcfg.gni") + +module_name = "kl_sdk" + +kernel_module(module_name) { + sources=[] + include_dirs=[] +} \ No newline at end of file diff --git a/plc/htbus/BUILD.gn b/plc/htbus/BUILD.gn new file mode 100644 index 0000000..0e3edc6 --- /dev/null +++ b/plc/htbus/BUILD.gn @@ -0,0 +1,8 @@ +import("//build/buildcfg.gni") + +module_name = "kl_sdk" + +kernel_module(module_name) { + sources=[] + include_dirs=[] +} \ No newline at end of file