touch: LW: Add support for Bazel to build touch modules

Add support for touch modules to be built with Bazel for
DDK.

Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
Change-Id: I774b1668a5959c0d58c6582a1b01692d4e09f856
This commit is contained in:
Srikanth Katteboina 2024-01-20 08:11:52 +05:30
parent d230941afa
commit 20cccf755a
2 changed files with 11 additions and 1 deletions

View File

@ -52,7 +52,8 @@ ddk_headers(
hdrs = glob([
"glink_interface_ts/*.h"
]
)
),
includes = ["glink_interface_ts"]
)
ddk_headers(

View File

@ -86,6 +86,15 @@ module_entry(
]
)
#define ddk_module() for glink_interface_ts
module_entry(
name = "glink_interface_ts",
config_option = "CONFIG_TOUCHSCREEN_MSM_GLINK",
srcs = [
"glink_interface_ts/glink_interface.c"
]
)
#define ddk_module() for pt_ts
module_entry(
name = "pt_ts",