-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
75 lines (69 loc) · 2.36 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package(
default_visibility = [
"//visibility:public",
],
)
load("//build/bazel_mgk_rules:mgk.bzl", "define_mgk")
mgk_kmi_symbol_list = "//kernel-6.6:android/abi_gki_aarch64_mtk"
filegroup(
name = "mgk_configs",
srcs = glob([
"arch/arm64/configs/*",
"kernel/configs/**",
"**/Kconfig",
"drivers/cpufreq/Kconfig.*",
]) + [
"Kconfig.ext",
# FIXME
"Makefile.ext",
"certs/mtk_signing_key.pem",
],
)
filegroup(
name = "mgk_dt-bindings",
srcs = glob([
"include/dt-bindings/**",
"include/dtc/**",
]),
)
# mgk_64_k66
load("//kernel_device_modules-6.6:kernel/kleaf/mgk_64.bzl",
"mgk_64_defconfig",
"mgk_64_kleaf_modules",
"mgk_64_kleaf_eng_modules",
"mgk_64_kleaf_userdebug_modules",
"mgk_64_kleaf_user_modules",
"mgk_64_common_modules",
"mgk_64_common_eng_modules",
"mgk_64_common_userdebug_modules",
"mgk_64_common_user_modules",
"mgk_64_device_modules",
"mgk_64_platform_device_modules",
"mgk_64_device_eng_modules",
"mgk_64_platform_device_eng_modules",
"mgk_64_device_userdebug_modules",
"mgk_64_platform_device_userdebug_modules",
"mgk_64_device_user_modules",
"mgk_64_platform_device_user_modules"
)
define_mgk(
name = "mgk_64_k66",
defconfig = mgk_64_defconfig,
kleaf_modules = mgk_64_kleaf_modules,
kleaf_eng_modules = mgk_64_kleaf_eng_modules,
kleaf_userdebug_modules = mgk_64_kleaf_userdebug_modules,
kleaf_user_modules = mgk_64_kleaf_user_modules,
common_modules = mgk_64_common_modules,
common_eng_modules = mgk_64_common_eng_modules,
common_userdebug_modules = mgk_64_common_userdebug_modules,
common_user_modules = mgk_64_common_user_modules,
device_modules = mgk_64_device_modules,
platform_device_modules = mgk_64_platform_device_modules,
device_eng_modules = mgk_64_device_eng_modules,
platform_device_eng_modules = mgk_64_platform_device_eng_modules,
device_userdebug_modules = mgk_64_device_userdebug_modules,
platform_device_userdebug_modules = mgk_64_platform_device_userdebug_modules,
device_user_modules = mgk_64_device_user_modules,
platform_device_user_modules = mgk_64_platform_device_user_modules,
symbol_list = mgk_kmi_symbol_list,
)