From patchwork Tue Sep 3 20:48:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 48632 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 277CFCD37B1 for ; Tue, 3 Sep 2024 20:48:43 +0000 (UTC) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mx.groups.io with SMTP id smtpd.web10.34386.1725396516798649916 for ; Tue, 03 Sep 2024 13:48:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VUdtq4uk; spf=pass (domain: gmail.com, ip: 209.85.221.46, mailfrom: adrian.freihofer@gmail.com) Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-374c4c6cb29so2570334f8f.3 for ; Tue, 03 Sep 2024 13:48:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725396515; x=1726001315; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=AXCIA7dVlJzCxXUYDJFMLv51UuyoTQf3h0XeQQ2EdEo=; b=VUdtq4uk0A97BkPin0Si8GIQrIEvAB35ziSHr8tTV4Uq57H5/KqYR5wko8azxcUYyR qrp+J+FjwMyu3/7RCV+xnjV+LjPCf3XCfLuVe3JKyK9Ck0taYLYzytBmNugla3uzLTa5 Y+5FV2OS9nz2dE056FmI6xjRADSqjLDaCmUMpMrtzJexAq7jp42whiRTjxhXi+mwKjac gAs+HfzgU2EpBq2rjgUTtE3Cr3XodMVcxukLHezxqWTOgRd2KEhtP8RzNgb5t/0rxOba WcTPCOFVg/Fk6YPsEC1hdLcnitW23snTE4wVReeoMEHtPzRpxfFnSv/QeUMxCoEXC7yo eSTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725396515; x=1726001315; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AXCIA7dVlJzCxXUYDJFMLv51UuyoTQf3h0XeQQ2EdEo=; b=kP7HSbS/SwZqEafZzFjglKqU+3++ngCE20Vdi5ShHJM/Fx3sor75TaM+NcuQoDBybS hVFeGvYP4rr4x9gnzJFwmoDQDGbBgIYjP7Fydf/Xjt3Jqe3dn7uI1PltG8Nl1ZYhFfpa EO0rSh8TJWpN3WUt92Vq11NnuRLI0tmn4oGcfxyKRFxhVQCbQ6R9qpqcwGJa8ntQoS52 rqqkVspgL0A00xUnzn37u+SIdSA5yT4ZJCkgx6QsAQvJHW8E6Dq44irckGFsVUhDv53n PEMki1QTDkgHKA4ZhtZpubOoHWcAU0CBEvEUDfWy+WX6ykdzd2ElBVPeNka4PAtCbyNl lvfg== X-Gm-Message-State: AOJu0YxtgcDYQAYbm8qgczxz601qiKI9Nzd6bYfye0/tlcOY+Auljwf+ TmWMhXjBzwI+sJCYJEeY1hxl08Ky64IJAKUwaF2CZYY2qi0l/KkpUtgbwg== X-Google-Smtp-Source: AGHT+IHSzm+eC1JGFlAuxjC2v1fbubJ15k+XEftX+G4GBvTBloHIGezXjNWxKZ+tlolLAZBLMdq9vw== X-Received: by 2002:a5d:6d05:0:b0:374:c231:a5ea with SMTP id ffacd0b85a97d-374c231ab35mr9818440f8f.5.1725396514240; Tue, 03 Sep 2024 13:48:34 -0700 (PDT) Received: from wsadrian16.fritz.box ([2a02:169:59a6:0:55c4:f628:91f3:4287]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-374c8a08dafsm7614811f8f.75.2024.09.03.13.48.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 13:48:33 -0700 (PDT) From: Adrian Freihofer To: openembedded-core@lists.openembedded.org Cc: Adrian Freihofer Subject: [PATCH v2 1/3] uboot-config: fix devtool modify with kernel-fitimage Date: Tue, 3 Sep 2024 22:48:29 +0200 Message-ID: <20240903204831.3791997-1-adrian.freihofer@gmail.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 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 ; Tue, 03 Sep 2024 20:48:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/204176 From: Adrian Freihofer How to reproduce: - UBOOT_CONFIG must be used. With UBOOT_MACHINE it works fine. A simple example based on oe-core is to modify the beaglebone-yocto.conf file like this: -UBOOT_MACHINE = "am335x_evm_defconfig" +UBOOT_CONFIG = "foo" +UBOOT_CONFIG[foo] = "am335x_evm_defconfig" - A build configuration which inherits the kernel-fitimage.bbclass is needed. For example: MACHINE = "beaglebone-yocto" KERNEL_IMAGETYPE = "Image" KERNEL_IMAGETYPES += " fitImage " KERNEL_CLASSES = " kernel-fitimage " devtool modify linux-yocto devtool build linux-yocto ... | cp: cannot stat '.../linux-yocto-6.6.21+git/am335x_evm_defconfig/.config': No such file or directory | WARNING: .../linux-yocto/6.6.21+git/temp/run.do_configure.2081673:172 exit 1 from 'cp .../linux-yocto-6.6.21+git/am335x_evm_defconfig/.config .../build/workspace/sources/linux-yocto/.config.baseline' The reason for this problem is that the uboot-config.bbclass sets the variable KCONFIG_CONFIG_ROOTDIR to a path that makes sense for u-boot, but not for other recipes. However, the kernel-fitimage.bbclasse, for example, inherits the uboot-config.bbclass, which brings the u-boot-specific path into the kernel build context. This change removes the uboot-specific KCONFIG_CONFIG_ROOTDIR path from recipes other than u-boot itself. Signed-off-by: Adrian Freihofer --- meta/classes-recipe/uboot-config.bbclass | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/meta/classes-recipe/uboot-config.bbclass b/meta/classes-recipe/uboot-config.bbclass index e55fc38b7c7..bf21961977c 100644 --- a/meta/classes-recipe/uboot-config.bbclass +++ b/meta/classes-recipe/uboot-config.bbclass @@ -101,12 +101,12 @@ python () { # The "doc" varflag is special, we don't want to see it here ubootconfigflags.pop('doc', None) ubootconfig = (d.getVar('UBOOT_CONFIG') or "").split() + recipename = d.getVar("PN") if not ubootmachine and not ubootconfig: - PN = d.getVar("PN") FILE = os.path.basename(d.getVar("FILE")) bb.debug(1, "To build %s, see %s for instructions on \ - setting up your machine config" % (PN, FILE)) + setting up your machine config" % (recipename, FILE)) raise bb.parse.SkipRecipe("Either UBOOT_MACHINE or UBOOT_CONFIG must be set in the %s machine configuration." % d.getVar("MACHINE")) if ubootmachine and ubootconfig: @@ -140,9 +140,12 @@ python () { if not found: raise bb.parse.SkipRecipe("The selected UBOOT_CONFIG key %s has no match in %s." % (ubootconfig, ubootconfigflags.keys())) - if len(ubootconfig) == 1: - d.setVar('KCONFIG_CONFIG_ROOTDIR', os.path.join(d.getVar("B"), d.getVar("UBOOT_MACHINE").strip())) - else: - # Disable menuconfig for multiple configs - d.setVar('KCONFIG_CONFIG_ENABLE_MENUCONFIG', "false") + # This recipe might be inherited e.g. by the kernel recipe via kernel-fitimage.bbclass + # Ensure the uboot specific menuconfig settings do not leak into other recipes + if 'u-boot' in recipename: + if len(ubootconfig) == 1: + d.setVar('KCONFIG_CONFIG_ROOTDIR', os.path.join(d.getVar("B"), d.getVar("UBOOT_MACHINE").strip())) + else: + # Disable menuconfig for multiple configs + d.setVar('KCONFIG_CONFIG_ENABLE_MENUCONFIG', "false") } From patchwork Tue Sep 3 20:48:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 48633 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 39708CD37AE for ; Tue, 3 Sep 2024 20:48:43 +0000 (UTC) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by mx.groups.io with SMTP id smtpd.web10.34387.1725396519371398264 for ; Tue, 03 Sep 2024 13:48:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IASK4QsO; spf=pass (domain: gmail.com, ip: 209.85.128.49, mailfrom: adrian.freihofer@gmail.com) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-42bac9469e8so192205e9.3 for ; Tue, 03 Sep 2024 13:48:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725396517; x=1726001317; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lVqkt86fI3P0AgBKNKZ/pj0uMYLzG2ymF5DwS88kMJ4=; b=IASK4QsO0yOav0mBTvJaj8VfPkXKFyCqnaGU0CSEIXGP0dVTQ78h/lPYn8SdBgO5XX eWQ8PuEbSrWTGdRQT5w1gdYfRFkHxfhCMvkRu+92zjRnpJMXOG5k1hk6eDQHOQr4dyTd 0weHo4Gyw7dIsEvv/UvofLof/HbhKKyzdotUMWJDSFZvOWIhnVpB8NE7PzEcVoZlCrt8 MWmF4TyIt0ipjmkWUIw5yXObDJ7ws3ROs5JHHNoz403Sq3HLRZk9UHIRgyIiJxExHaOY n/e3pSkciROWavRE4Sy+ETwdZDYQ/HZNeGzYEY3uxUQEtwonZJ68yOdXB4vU+pKwG1ce WYbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725396517; x=1726001317; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lVqkt86fI3P0AgBKNKZ/pj0uMYLzG2ymF5DwS88kMJ4=; b=LNyD1U//ON7SE91X4aQMrzHAUOvQ7PtHIAzuAB0j7YO5oPCSoSXyO75DEeFWqDFbSY eQCTgMcJoA6jQWZVACkgK5eujebA0maA8W8W0KQg2oj3kvasNLT/PkSoOCOpI3vwi2Wk FksBYNRLJqIR3B6/QwB6H9cpOpdmpGRSHrH680NOunS/Qg0eHn96TpCs44ZPCfXadzjZ Cl0tjBVguistSNvwB4odhTQHdeQNcZh4VUofwcJAStttTBX5QMISJrkN50WA9RQcRDOn A0bZfdG8SwjUV3mW9yLqovBycUKhxU09ZKuS+SJNcwnp1Dexuce9ArRZuyK+C0mIz1px L0Kg== X-Gm-Message-State: AOJu0YxddaX6jlSAUNuZTkaq7CNFeOxmWWSlX0CXubP6B0pYCk2eUUkm se12QWwHhJA6JKj/tQlI5W4lukh26fqkWWSwVmZLRDi7eoQ3UXSUHXnIwg== X-Google-Smtp-Source: AGHT+IG8tlK49maj3HJt5dCl/6iMTbtt8iZrdSpbZJndt+Sd+j8Y/hkoH7j2P/a0ld1SZdV9NFXV3g== X-Received: by 2002:a5d:4601:0:b0:374:baeb:2ec with SMTP id ffacd0b85a97d-3776f452f5bmr136089f8f.19.1725396516711; Tue, 03 Sep 2024 13:48:36 -0700 (PDT) Received: from wsadrian16.fritz.box ([2a02:169:59a6:0:55c4:f628:91f3:4287]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-374c8a08dafsm7614811f8f.75.2024.09.03.13.48.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 13:48:36 -0700 (PDT) From: Adrian Freihofer To: openembedded-core@lists.openembedded.org Cc: Adrian Freihofer Subject: [PATCH v2 2/3] devtool: modify kernel adds append twice Date: Tue, 3 Sep 2024 22:48:30 +0200 Message-ID: <20240903204831.3791997-2-adrian.freihofer@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240903204831.3791997-1-adrian.freihofer@gmail.com> References: <20240903204831.3791997-1-adrian.freihofer@gmail.com> MIME-Version: 1.0 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 ; Tue, 03 Sep 2024 20:48:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/204177 From: Adrian Freihofer Drop the redundant generation of the do_configure:append section for the kernel. The same append is generated twice: if bb.data.inherits_class('kernel', rd): f.write('\ndo_configure:append() {\n' ' cp ${B}/.config ${S}/.config.baseline\n' ' ln -sfT ${B}/.config ${S}/.config.new\n' '}\n') KCONFIG_CONFIG_ENABLE_MENUCONFIG ??= "true" KCONFIG_CONFIG_ROOTDIR ??= "${B}" if rd.getVarFlag('do_menuconfig', 'task'): f.write('\ndo_configure:append() {\n' ' if [ ${@oe.types.boolean(d.getVar("KCONFIG_CONFIG_ENABLE_MENUCONFIG"))} = True ]; then\n' ' cp ${KCONFIG_CONFIG_ROOTDIR}/.config ${S}/.config.baseline\n' ' ln -sfT ${KCONFIG_CONFIG_ROOTDIR}/.config ${S}/.config.new\n' ' fi\n' '}\n') In contradiction to the first code block the second code block considers the variables which is correct. Signed-off-by: Adrian Freihofer --- scripts/lib/devtool/standard.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 1d0fe137887..312eb8ab506 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py @@ -955,10 +955,6 @@ def modify(args, config, basepath, workspace): f.write('SRCTREECOVEREDTASKS = "do_validate_branches do_kernel_checkout ' 'do_fetch do_unpack do_kernel_configcheck"\n') f.write('\ndo_patch[noexec] = "1"\n') - f.write('\ndo_configure:append() {\n' - ' cp ${B}/.config ${S}/.config.baseline\n' - ' ln -sfT ${B}/.config ${S}/.config.new\n' - '}\n') f.write('\ndo_kernel_configme:prepend() {\n' ' if [ -e ${S}/.config ]; then\n' ' mv ${S}/.config ${S}/.config.old\n' From patchwork Tue Sep 3 20:48:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 48631 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 384FACD37B4 for ; Tue, 3 Sep 2024 20:48:43 +0000 (UTC) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by mx.groups.io with SMTP id smtpd.web10.34388.1725396519670371469 for ; Tue, 03 Sep 2024 13:48:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Gq9lELV0; spf=pass (domain: gmail.com, ip: 209.85.128.44, mailfrom: adrian.freihofer@gmail.com) Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-42c7b5b2d01so37918545e9.3 for ; Tue, 03 Sep 2024 13:48:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725396518; x=1726001318; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Sd806cEmdUiDYeeE8VZDS5ZW8yeCbJVG2iQzOHHE0ks=; b=Gq9lELV02GQmljzzNN2XenTsO81zF9fLPUKCXM5VkoPc4I3QiDq2G4ZnOeDlJhmAy/ jGQbeV08HjQ/mSPpAYvf//I/h3Wpm5xaN9+w3uBbPruEy8lXUpwKLtoNPCCcSTD4UB1J HvQWePaWcBwoEpI5QwjQjzZaRWO6y3I+cWPQYPLJHRyJWuQlfGwFNoqk/yTVFLGFjpc7 pxH1Z/P6rY0xTISSGdMcLzjbW0WLYiZ0OWoWxIStin7WcY4ScxgFLWKvyKzlTJCbYGwU fS+uccikFCf3CotNx4UTkw1CfYT9d0XJBImMg+XGFezm73j5/Xa7JMWS2wxW6WRDY664 7ssg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725396518; x=1726001318; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Sd806cEmdUiDYeeE8VZDS5ZW8yeCbJVG2iQzOHHE0ks=; b=A++ck0PiT8TovlZwIpVc4ZWtUQyPfYqxa3nUdLT2YmXQGRoErEdHQ4Tl8CJ0NYgZ9J wcim3QFMUkwLMsV6VKhRBfoDJ6qHI1KSmfFiv8Ns7ZejgbqF4dcf9dtWNEsNSE/Vzmy6 MEvEUQFALpFqNjYrjWAk4hIopWiAvh16G50LWx8tBmW0txkvV4N7VSoqPkc7xG80RHwA T6HpwCKcFd7sHtnEC6xbbfMyfGKLuU4vx7zBBajwjetEmVyO+rpa1P2c0yDYJijbFrHZ RR0ov6u45FVGAMJwJlOzfXLAlveqmpdcpV+83nxa0YoM++RtuvP/VjR8iS8TS22gZ1iW 6/Cw== X-Gm-Message-State: AOJu0YwbQOYNouqMBSj8z4VCtUYDRoMViMc9WKggdDpnJFydOwUBzzVP 05+Tf5mGbaWj9IaTXES82Ct1603lBE1BUKXDgLBLaex2S+71xLi9XaEW2w== X-Google-Smtp-Source: AGHT+IHC2EQINBmSAtNHvD9u0Bbks9/ejkUIZ2SqnnaHgvmAR4k45UrQMNbl67iLAc/6H8dof8wDkg== X-Received: by 2002:adf:e791:0:b0:374:bec7:8f with SMTP id ffacd0b85a97d-374bec700f2mr9594399f8f.28.1725396517320; Tue, 03 Sep 2024 13:48:37 -0700 (PDT) Received: from wsadrian16.fritz.box ([2a02:169:59a6:0:55c4:f628:91f3:4287]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-374c8a08dafsm7614811f8f.75.2024.09.03.13.48.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 13:48:37 -0700 (PDT) From: Adrian Freihofer To: openembedded-core@lists.openembedded.org Cc: Adrian Freihofer Subject: [PATCH v2 3/3] devtool: remove obsolete SRCTREECOVEREDTASKS handling Date: Tue, 3 Sep 2024 22:48:31 +0200 Message-ID: <20240903204831.3791997-3-adrian.freihofer@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240903204831.3791997-1-adrian.freihofer@gmail.com> References: <20240903204831.3791997-1-adrian.freihofer@gmail.com> MIME-Version: 1.0 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 ; Tue, 03 Sep 2024 20:48:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/204178 From: Adrian Freihofer devtool modify generates a bbappend for kernel recipes which contains: SRCTREECOVEREDTASKS="\ do_fetch \ do_kernel_checkout \ do_kernel_configcheck \ do_unpack \ do_validate_branches \ " do_patch[noexec] = "1" If the linux-yocto kernel is used, this is redundant. The linux-yocto.bbclass already does the same: linux-yocto sets SRCTREECOVEREDTASKS to SRCTREECOVEREDTASKS="\ do_fetch \ do_kernel_checkout \ do_kernel_configcheck \ do_patch \ do_unpack \ do_validate_branches \ " Also the do_patch[noexec] is redundant because the purpose of SRCTREECOVEREDTASKS is to delete these tasks if the externalsrc.bbclass is used. The default value of SRCTREECOVEREDTASKS initialized in externalsrc.bbclass is: SRCTREECOVEREDTASKS ?= "do_patch do_unpack do_fetch" This is fine for kernels which do not inherit the linux-yocto.bbclass. The code in devtool modify is redundant and therefore removed. Signed-off-by: Adrian Freihofer --- scripts/lib/devtool/standard.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 312eb8ab506..b2e1a6ca3a5 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py @@ -952,9 +952,6 @@ def modify(args, config, basepath, workspace): f.write('EXTERNALSRC_BUILD:pn-%s = "%s"\n' % (pn, srctree)) if bb.data.inherits_class('kernel', rd): - f.write('SRCTREECOVEREDTASKS = "do_validate_branches do_kernel_checkout ' - 'do_fetch do_unpack do_kernel_configcheck"\n') - f.write('\ndo_patch[noexec] = "1"\n') f.write('\ndo_kernel_configme:prepend() {\n' ' if [ -e ${S}/.config ]; then\n' ' mv ${S}/.config ${S}/.config.old\n'