summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
blob: a416adcbe2ff1b5d5823333ddd00eae29f9ef970 (plain)
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
SECTION = "kernel"
SUMMARY = "BeagleBoard.org Linux kernel"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"

COMPATIBLE_MACHINE = "beagle.*"

inherit kernel

require recipes-kernel/linux/setup-defconfig.inc
require recipes-kernel/linux/ti-kernel.inc

# BB.org hasn't switched to "vendored" DTB layout by default yet
KERNEL_DTBVENDORED = "0"

DEPENDS += "gmp-native libmpc-native"

KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"

S = "${WORKDIR}/git"

# 6.1.33 version for 32-bit
SRCREV:armv7a = "feb1c153a9693d44dec5772d134bd2c7986ff95d"
PV:armv7a = "6.1.33+git${SRCPV}"
BRANCH:armv7a = "v6.1.33-ti-r7"

# 6.1.46 version for 64-bit
SRCREV:aarch64 = "0a1e93a38c699fdd3c629d57f5cd015f90ab0d36"
PV:aarch64 = "6.1.46+git${SRCPV}"
BRANCH:aarch64 = "v6.1.46-ti-arm64-r9"

SRC_URI = "git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH} \
           file://defconfig \
           file://init_disassemble_info-signature-changes-causes-compile-failures.patch \
           file://0001-gcc-plugins-Fix-build-for-upcoming-GCC-release.patch \
           file://0001-ata-ahci-fix-enum-constants-for-gcc-13.patch \
           file://0001-blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch \
           file://0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch \
"

FILES:${KERNEL_PACKAGE_NAME}-devicetree += " \
    /${KERNEL_DTBDEST}/*/overlays/*.dtb \
    /${KERNEL_DTBDEST}/*/overlays/*.dtbo \
"