1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-05-31 16:01:37 +00:00

linux-ti-mainline: Use upstream configs with upstream kernel

Mainline should test the mainline kernel as it is, not with out-of-tree
changes like to the default configuration that one would get when using
a stock distro. Use only upstream configuration.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Andrew Davis
2023-04-11 16:52:38 -05:00
committed by Ryan Eatmon
parent da6f02540f
commit 00a4a5ed31
7 changed files with 5 additions and 9 deletions
@@ -1 +0,0 @@
use-tisdk-config=ti_sdk_omap2_release
@@ -1 +0,0 @@
use-tisdk-config=ti_sdk_dra7x_release
@@ -1 +0,0 @@
use-tisdk-config=ti_sdk_arm64_release
@@ -1 +0,0 @@
use-tisdk-config=ti_sdk_omapl138_release
@@ -1 +0,0 @@
use-tisdk-config=ti_sdk_am3x_release
@@ -1 +0,0 @@
use-tisdk-config=ti_sdk_am4x_release
@@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
inherit kernel
DEFCONFIG_BUILDER = "${S}/ti-upstream-tools/config/defconfig_builder.sh"
require recipes-kernel/linux/setup-defconfig.inc
require recipes-kernel/linux/kernel-rdepends.inc
require recipes-kernel/linux/ti-kernel.inc
@@ -33,12 +31,16 @@ KERNEL_GIT_PROTOCOL = "https"
SRC_URI += " \
${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH};name=linux \
git://git.ti.com/git/ti-linux-kernel/ti-upstream-tools.git;branch=${TOOLS_BRANCH};protocol=${KERNEL_GIT_PROTOCOL};name=ti-upstream-tools;destsuffix=git/ti-upstream-tools \
file://defconfig \
"
SRCREV_ti-upstream-tools = "0f60697843bba6f8d721b14da92b1652563ccb95"
SRCREV_FORMAT = "linux"
DEFCONFIG_NAME = "multi_v7_defconfig"
DEFCONFIG_NAME:omapl138 = "davinci_all_defconfig"
DEFCONFIG_NAME:k3 = "defconfig"
KERNEL_CONFIG_COMMAND = "oe_runmake -C ${S} O=${B} ${DEFCONFIG_NAME}"
kernel_do_compile:append() {
oe_runmake dtbs CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS}
oe_runmake -C ${S}/ti-upstream-tools LINUX=${S} DTC=${B}/scripts/dtc/dtc O=${B} CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS}