-
Notifications
You must be signed in to change notification settings - Fork 87
/
rockchip-common.inc
46 lines (33 loc) · 1.18 KB
/
rockchip-common.inc
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
# Copyright (c) 2019, Fuzhou Rockchip Electronics Co., Ltd
# Released under the MIT license (see COPYING.MIT for the terms)
require conf/machine/include/soc-family.inc
RK_WIFIBT_RRECOMMENDS ?= ""
MACHINE_EXTRA_RRECOMMENDS:append = " \
${RK_WIFIBT_RRECOMMENDS} \
kernel-modules \
"
RK_ISP_VERSION := ""
SERIAL_CONSOLES ?= "115200;ttyFIQ0"
KERNEL_IMAGETYPE ?= "Image"
KBUILD_DEFCONFIG ?= "rockchip_linux_defconfig"
MACHINEOVERRIDES .= ":rockchip"
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-rockchip"
ROCKCHIP_KERNEL_COMPRESSED ?= "1"
ROCKCHIP_KERNEL_IMAGES ?= "1"
# Prefer using Rockchip BSP kernel 5.10
PREFERRED_VERSION_linux-rockchip ?= "5.10%"
LINUXLIBCVERSION ?= "5.10-custom%"
OLDEST_KERNEL ?= "5.10"
# Custom kernel might not support newest python
PACKAGECONFIG:remove:pn-perf = "scripting"
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
XSERVER ?= " \
xserver-xorg \
xf86-video-modesetting \
xserver-xorg-module-exa \
"
PREFERRED_PROVIDER_virtual/libgl ?= "mesa-gl"
PREFERRED_PROVIDER_virtual/mesa ?= "mesa-gl"
PREFERRED_RPROVIDER_lib32-initd-functions = "lib32-initscripts"
RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""