mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-11 20:05:22 +02:00
ANDROID: Add aoc-usb headers to aarch64 allowlist
Export these headers in all_headers_allowlist_aarch64, for aoc-usb drivers to use. Bug: 343869732 Test: Verified the aoc-usb ddk module is able to include the headers. Change-Id: I804522cfd0646058dff921ebe71cb08bc3242f6b Signed-off-by: Yuan-Jen Cheng <cyuanjen@google.com>
This commit is contained in:
parent
6c3bccd3d8
commit
bdd9aa1db4
21
BUILD.bazel
21
BUILD.bazel
|
@ -876,6 +876,24 @@ ddk_headers(
|
||||||
# Implementation details for DDK headers. The targets below cannot be directly
|
# Implementation details for DDK headers. The targets below cannot be directly
|
||||||
# depended on by DDK modules.
|
# depended on by DDK modules.
|
||||||
|
|
||||||
|
# Headers needed to include drivers/usb/host/xhci.h.
|
||||||
|
ddk_headers(
|
||||||
|
name = "xhci_headers",
|
||||||
|
hdrs = [
|
||||||
|
"drivers/usb/core/hub.h",
|
||||||
|
"drivers/usb/core/usb.h",
|
||||||
|
"drivers/usb/host/pci-quirks.h",
|
||||||
|
"drivers/usb/host/xhci.h",
|
||||||
|
"drivers/usb/host/xhci-ext-caps.h",
|
||||||
|
"drivers/usb/host/xhci-plat.h",
|
||||||
|
],
|
||||||
|
linux_includes = [
|
||||||
|
"drivers/usb",
|
||||||
|
"drivers/usb/host",
|
||||||
|
],
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
|
)
|
||||||
|
|
||||||
# DDK headers allowlist. This is the list of all headers and include
|
# DDK headers allowlist. This is the list of all headers and include
|
||||||
# directories that are safe to use in DDK modules.
|
# directories that are safe to use in DDK modules.
|
||||||
ddk_headers(
|
ddk_headers(
|
||||||
|
@ -883,8 +901,10 @@ ddk_headers(
|
||||||
hdrs = [
|
hdrs = [
|
||||||
"drivers/thermal/thermal_core.h",
|
"drivers/thermal/thermal_core.h",
|
||||||
"drivers/thermal/thermal_netlink.h",
|
"drivers/thermal/thermal_netlink.h",
|
||||||
|
"sound/usb/usbaudio.h",
|
||||||
":all_headers_allowlist_aarch64_globs",
|
":all_headers_allowlist_aarch64_globs",
|
||||||
":all_headers_allowlist_common_globs",
|
":all_headers_allowlist_common_globs",
|
||||||
|
":xhci_headers",
|
||||||
],
|
],
|
||||||
# The list of include directories where source files can #include headers
|
# The list of include directories where source files can #include headers
|
||||||
# from. In other words, these are the `-I` option to the C compiler.
|
# from. In other words, these are the `-I` option to the C compiler.
|
||||||
|
@ -893,6 +913,7 @@ ddk_headers(
|
||||||
"arch/arm64/include",
|
"arch/arm64/include",
|
||||||
"arch/arm64/include/uapi",
|
"arch/arm64/include/uapi",
|
||||||
"drivers/thermal",
|
"drivers/thermal",
|
||||||
|
"sound/usb",
|
||||||
"include",
|
"include",
|
||||||
"include/uapi",
|
"include/uapi",
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user