customer: support for external driver kconfig [1/3]
PD#SWPL-132650
Problem:
support for external driver kconfig
Solution:
support for external driver kconfig
Verify:
ohm planck
Change-Id: Ib7180059b02ee7c4d8984201bfe192d961680bad
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
diff --git a/amlogic_utils.bzl b/amlogic_utils.bzl
index 5f18a3f..ff60759 100644
--- a/amlogic_utils.bzl
+++ b/amlogic_utils.bzl
@@ -39,7 +39,9 @@
module_grouping = None,
unstripped_modules_archive = None,
dist_dir = None,
- ext_modules = None):
+ ext_modules = None,
+ kconfig_ext = None,
+ kconfig_ext_srcs = None):
"""Define target for amlogic.
Note: This is a mixed build.
@@ -81,7 +83,7 @@
kernel_build(
name = name,
outs = outs,
- srcs = [":common_kernel_sources"],
+ srcs = [":common_kernel_sources"] + kconfig_ext_srcs,
# List of in-tree kernel modules.
module_outs = module_outs,
build_config = build_config,
@@ -91,6 +93,7 @@
collect_unstripped_modules = _COLLECT_UNSTRIPPED_MODULES,
strip_modules = True,
make_goals = make_goals,
+ kconfig_ext = kconfig_ext,
)
# enable ABI Monitoring