37 lines
1.1 KiB
BlitzBasic
37 lines
1.1 KiB
BlitzBasic
DESCRIPTION = "Linux kernel 5.4 for UNISOC platforms"
|
|||
|
|
LICENSE = "GPLv2"
|
||
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
||
|
|
|
||
|
|
inherit pythonnative
|
||
|
|
|
||
|
|
export USERDEBUG
|
||
|
|
|
||
|
|
###
|
||
|
|
require linux-unisoc-common.inc
|
||
|
|
require linux-unisoc-bootimg.inc
|
||
|
|
|
||
|
|
SRC_URI = "file://serial.cfg \
|
||
|
|
file://0001-Bug-00000-yocto-3.1-bringup-kernel5.4-fix-compile-error.patch \
|
||
|
|
file://0001-Bug-1982891-change-androidboot-to-sprdboot-in-kernel.patch \
|
||
|
|
file://bluetooth_operation.patch \
|
||
|
|
file://kernel-config/ipc.cfg \
|
||
|
|
file://kernel-config/pid.cfg \
|
||
|
|
file://kernel-config/net.cfg \
|
||
|
|
file://kernel-config/user-namespace.cfg \
|
||
|
|
file://kernel-config/mouse.cfg \
|
||
|
|
file://kernel-config/8021q_vlan.cfg \
|
||
|
|
${KERNEL_MACHINE_PATCH} \
|
||
|
|
${@bb.utils.contains('USERDEBUG', 'userdebug', 'file://userdebug.cfg', 'file://user.cfg', d)} \
|
||
|
|
file://enable-8912.cfg \
|
||
|
|
"
|
||
|
|
|
||
|
|
PV = "5.4"
|
||
|
|
SRCREV_FORMAT = "kernel"
|
||
|
|
|
||
|
|
|
||
|
|
KERNEL_IMAGETYPE ?= "Image"
|
||
|
|
KERNEL_VERSION_SANITY_SKIP="1"
|
||
|
|
|
||
|
|
# set kernel with initramfs
|
||
|
|
INITRAMFS_IMAGE_BUNDLE = "1"
|