38 lines
898 B
Python
38 lines
898 B
Python
load("//build/kernel/kleaf:kernel.bzl", "ddk_headers", "ddk_module")
|
|
load("//driver_modules/wifi_bt/wifi:configs/wifi_ko_list.bzl", "driver_files")
|
|
|
|
driver_files()
|
|
|
|
ddk_module(
|
|
name = "wifi_comm",
|
|
srcs = [
|
|
"aml_wifi_bus.c",
|
|
"aml_sdio_common.c",
|
|
"aml_usb_common.c",
|
|
"aml_wifi_bus.h",
|
|
"aml_sdio_common.h",
|
|
"aml_usb_common.h",
|
|
"aml_pci_common.h",
|
|
],
|
|
hdrs = [
|
|
"//common_drivers:soc_headers",
|
|
],
|
|
copts = [
|
|
"-Wno-pointer-to-int-cast",
|
|
"-Wno-implicit-fallthrough",
|
|
"-Wno-format",
|
|
"-Wno-incompatible-function-pointer-types",
|
|
"-Wno-macro-redefined",
|
|
"-Wno-strict-prototypes",
|
|
"-Wno-unused-variable",
|
|
"-Wno-incompatible-pointer-types",
|
|
],
|
|
out = "wifi_comm.ko",
|
|
kernel_build = "//common_drivers:amlogic",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//common_drivers/drivers/pm:amlogic-pm",
|
|
"//common_drivers/drivers/wireless:amlogic-wireless",
|
|
],
|
|
)
|