Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4F6AC54EE9 for ; Thu, 8 Sep 2022 20:18:47 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web11.1118.1662668325300245305 for ; Thu, 08 Sep 2022 13:18:45 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 0612A40D0C; Thu, 8 Sep 2022 20:18:44 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DX7pn3tvH0V3; Thu, 8 Sep 2022 20:18:43 +0000 (UTC) Received: from mail.denix.org (pool-100-15-80-88.washdc.fios.verizon.net [100.15.80.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id DD4BE40D0A; Thu, 8 Sep 2022 20:18:42 +0000 (UTC) Received: from thorin.denix (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id 6127D1749CB; Thu, 8 Sep 2022 16:18:41 -0400 (EDT) From: Denys Dmytriyenko To: meta-ti@lists.yoctoproject.org Cc: Denys Dmytriyenko Subject: [dunfell][PATCH] linux-ti-mainline: unbreak devtool Date: Thu, 8 Sep 2022 20:18:40 +0000 Message-Id: <20220908201840.3800210-1-denis@denix.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 08 Sep 2022 20:18:47 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/15008 From: Denys Dmytriyenko devtool has a long-standing bug where it cannot handle references to ${WO= RKDIR} due to externalsrc: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D12677 linux-ti-mainline clones additional ti-upstream-tools repo alongside the = kernel sources into ${WORKDIR}, which exposes this devtool bug. Work around the issue by moving ti-upstream-tools inside the kernel sourc= e tree, i.e. inside ${S} Signed-off-by: Denys Dmytriyenko --- recipes-kernel/linux/linux-ti-mainline_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-kernel/linux/linux-ti-mainline_git.bb b/recipes-kern= el/linux/linux-ti-mainline_git.bb index 3b7ad885..e8e5cd03 100644 --- a/recipes-kernel/linux/linux-ti-mainline_git.bb +++ b/recipes-kernel/linux/linux-ti-mainline_git.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM =3D "file://COPYING;md5=3D6bc538ed5bd9a7= fc9398086aedcd7e46" =20 inherit kernel =20 -DEFCONFIG_BUILDER =3D "${WORKDIR}/ti-upstream-tools/config/defconfig_bui= lder.sh" +DEFCONFIG_BUILDER =3D "${S}/ti-upstream-tools/config/defconfig_builder.s= h" require recipes-kernel/linux/setup-defconfig.inc require recipes-kernel/linux/kernel-rdepends.inc require recipes-kernel/linux/ti-kernel.inc @@ -32,7 +32,7 @@ KERNEL_GIT_URI =3D "git://git.kernel.org/pub/scm/linux/= kernel/git/torvalds/linux.g KERNEL_GIT_PROTOCOL =3D "https" SRC_URI +=3D " \ ${KERNEL_GIT_URI};protocol=3D${KERNEL_GIT_PROTOCOL};branch=3D${BRANC= H};name=3Dlinux \ - git://git.ti.com/git/ti-linux-kernel/ti-upstream-tools.git;branch=3D= ${TOOLS_BRANCH};protocol=3D${KERNEL_GIT_PROTOCOL};name=3Dti-upstream-tool= s;destsuffix=3Dti-upstream-tools \ + git://git.ti.com/git/ti-linux-kernel/ti-upstream-tools.git;branch=3D= ${TOOLS_BRANCH};protocol=3D${KERNEL_GIT_PROTOCOL};name=3Dti-upstream-tool= s;destsuffix=3Dgit/ti-upstream-tools \ file://defconfig \ " =20 @@ -43,7 +43,7 @@ KERNEL_DEVICETREE =3D "" =20 kernel_do_compile_append() { oe_runmake dtbs CC=3D"${KERNEL_CC} $cc_extra " LD=3D"${KERNEL_LD}" ${KE= RNEL_EXTRA_ARGS} - oe_runmake -C ${WORKDIR}/ti-upstream-tools LINUX=3D${S} DTC=3D${B}/scri= pts/dtc/dtc O=3D${B} CC=3D"${KERNEL_CC} $cc_extra " LD=3D"${KERNEL_LD}" $= {KERNEL_EXTRA_ARGS} + oe_runmake -C ${S}/ti-upstream-tools LINUX=3D${S} DTC=3D${B}/scripts/dt= c/dtc O=3D${B} CC=3D"${KERNEL_CC} $cc_extra " LD=3D"${KERNEL_LD}" ${KERNE= L_EXTRA_ARGS} } =20 do_install_append() { --=20 2.25.1