mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-09-28 18:20:18 +00:00
kernel_legacyhs: Adapt to recent changes in oe-core
Three recent changes in oe-core [1], [2] and [3] have moved around various things with the kernel classes. Since we have our own copy of the old kernel class we need to adapt to the changes. [1] https://git.openembedded.org/openembedded-core/commit/?id=945f3faa4909b226996eff62bf55fa586a5279fa [2] https://git.openembedded.org/openembedded-core/commit/?id=635f85b7b8ffe4bfd5f282a98bdf640aa037cde1 [3] https://git.openembedded.org/openembedded-core/commit/?id=06057ac24f74ce5de74dfc7b479a1e2c796bcdcd Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
inherit linux-kernel-base kernel-module-split
|
||||
inherit kernel-arch kernel-module-split
|
||||
|
||||
export ARCH = "${@oe.kernel.map_kernel_arch(d)}"
|
||||
|
||||
COMPATIBLE_HOST = ".*-linux"
|
||||
|
||||
@@ -227,7 +229,7 @@ KERNEL_DTBVENDORED ?= "0"
|
||||
#
|
||||
# configuration
|
||||
#
|
||||
KERNEL_VERSION = "${@get_kernelversion_headers('${B}')}"
|
||||
KERNEL_VERSION = "${@oe.kernel.get_version_headers('${B}')}"
|
||||
|
||||
# kernels are generally machine specific
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
@@ -660,7 +662,7 @@ KERNEL_LOCALVERSION ??= ""
|
||||
#
|
||||
# Note: This class saves the value of localversion to a file
|
||||
# so other recipes like make-mod-scripts can restore it via the
|
||||
# helper function get_kernellocalversion_file
|
||||
# helper function oe.kernel.get_localversion_file
|
||||
export LOCALVERSION = "${KERNEL_LOCALVERSION}"
|
||||
|
||||
kernel_legacyhs_do_configure() {
|
||||
|
||||
Reference in New Issue
Block a user