forked from aosp-mirror/kernel_common
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.config.gs101
82 lines (71 loc) · 2.24 KB
/
build.config.gs101
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
76
77
78
79
80
81
82
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.common
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.aarch64
DEFCONFIG=gs101_defconfig
LIBUFDT_PREBUILTS_BIN=prebuilts/misc/linux-x86/libufdt
DTC_OVERLAY_TEST_EXT=${ROOT_DIR}/prebuilts/kernel-build-tools/linux-x86/bin/ufdt_apply_overlay
MAKE_GOALS=
KERNEL_BINARY=Image.lz4
if [ -z "$MIXED_BUILD" ]; then
USING_PREBUILTS=
MAKE_GOALS="
${KERNEL_BINARY}
"
DEVICE_KERNEL_FILES="
.config
vmlinux
System.map
arch/arm64/boot/${KERNEL_BINARY}
"
fi
if [ -n "${USING_PREBUILTS}" ]; then
BUILD_VENDOR_BOOT_IMG=1
else
BUILD_BOOT_IMG=1
fi
ABI_DEFINITION=android/abi_gki_aarch64_generic.xml
TIDY_ABI=1
KMI_SYMBOL_LIST=android/abi_gki_aarch64_generic
ADDITIONAL_KMI_SYMBOL_LISTS="
android/abi_gki_aarch64_type_visibility
android/abi_gki_aarch64_asr
android/abi_gki_aarch64_core
android/abi_gki_aarch64_exynos
android/abi_gki_aarch64_fips140
android/abi_gki_aarch64_galaxy
android/abi_gki_aarch64_virtual_device
android/abi_gki_aarch64_db845c
android/abi_gki_aarch64_hikey960
android/abi_gki_aarch64_rockchip
android/abi_gki_aarch64_rtkstb
android/abi_gki_aarch64_telechips
"
TRIM_NONLISTED_KMI=${TRIM_NONLISTED_KMI:-1}
KMI_SYMBOL_LIST_ADD_ONLY=1
KMI_SYMBOL_LIST_STRICT_MODE=${KMI_SYMBOL_LIST_STRICT_MODE:-0}
KMI_SYMBOL_LIST_MODULE_GROUPING=0
DO_NOT_STRIP_MODULES=
BUILD_INITRAMFS=1
INITRAMFS_VENDOR_RAMDISK_FRAGMENT_NAME=dlkm
LZ4_RAMDISK=1
BOOT_IMAGE_HEADER_VERSION=4
TRIM_UNUSED_MODULES=1
VENDOR_DLKM_MODULES_LIST=${KERNEL_DIR}/vendor_dlkm_modules.slider
VENDOR_DLKM_MODULES_BLOCKLIST=${KERNEL_DIR}/vendor_dlkm.blocklist.slider
VENDOR_DLKM_PROPS=${KERNEL_DIR}/vendor_dlkm.props.slider
VENDOR_RAMDISK_BINARY=${VENDOR_RAMDISK_BINARY:-${ROOT_DIR}/prebuilts/boot-artifacts/ramdisks/vendor_ramdisk-oriole.img}
KERNEL_VENDOR_CMDLINE="earlycon=exynos4210,0x10A00000 console=ttySAC0,115200 androidboot.console=ttySAC0"
KERNEL_VENDOR_CMDLINE+=" printk.devkmsg=on"
KERNEL_VENDOR_CMDLINE+=" at24.write_timeout=100"
KERNEL_VENDOR_CMDLINE+=" log_buf_len=1024K"
VENDOR_BOOTCONFIG="androidboot.boot_devices=14700000.ufs"
KERNEL_VENDOR_CMDLINE+=" swiotlb=noforce"
KERNEL_VENDOR_CMDLINE+=" disable_dma32=on"
if [ -z "${FAST_BUILD}" ]; then
COMPRESS_UNSTRIPPED_MODULES=1
UNSTRIPPED_MODULES="
*.ko
"
fi
if [ -n "${GKI_DEFCONFIG_FRAGMENT}" ]; then
source ${GKI_DEFCONFIG_FRAGMENT}
fi