From patchwork Mon Sep 29 07:16:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Blank X-Patchwork-Id: 71205 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 31C1ACAC5B0 for ; Mon, 29 Sep 2025 07:17:13 +0000 (UTC) Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com [209.85.219.51]) by mx.groups.io with SMTP id smtpd.web10.48071.1759130223998737802 for ; Mon, 29 Sep 2025 00:17:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=m3CJpjik; spf=pass (domain: gmail.com, ip: 209.85.219.51, mailfrom: adam.blank.g@gmail.com) Received: by mail-qv1-f51.google.com with SMTP id 6a1803df08f44-71b9d805f2fso37542496d6.0 for ; Mon, 29 Sep 2025 00:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759130223; x=1759735023; darn=lists.yoctoproject.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=77piYU1doPy/SQQxfc/cbCi6OYh56GRSyV2Qf6KYnQs=; b=m3CJpjikNaxyF32UgFZgMrMHGPC6YcUMetgglJ/JxAzSKBMspTfxQn9++yCz966eNq V7cT0QJpfsL16HrK1Y3PrLg417r2Wh+MveiJUSN49imYf3G7Inn2IB3w0UZwYQjgRqe4 +xdYCm/29r2P4gQsjkQmZlZK7kH9ggI9nJfy3YaGp4wYPadxPEM+tYl3sfRJAcyy1BlG eaCBiVDR7Sv+ZC+x5nKMC+fqSHZdTH4/MNqzX6x+GBdTLfQhmSL038J0EKF0q4L1l1Gj imStYA3h17OoS3CPHFM95r56mxQhAIhrviDREYzYNeTYjSlB7m20XqdZFnV+wnbihiVI ZVxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759130223; x=1759735023; 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=77piYU1doPy/SQQxfc/cbCi6OYh56GRSyV2Qf6KYnQs=; b=TwLKrawBZP2+xxTqQ1UWrD2mR3C91Sux/QiHzIt7k2O+hwFNgxtWA+pVMLWBiOGKPx ehYFNksmlPRFU+CW8xWN1muHuXY8Y1YNO7Tu1VBxd3gzEjykJxeFS5ibzszA2f6zLj7x bSJZah1V3K1/zopANQIMxUrJdd3mhNjOWgpbZVUCUaxe59Oy31REjwsFUQhlA94Ph5z1 cLWIn0N/RxICascnuvmt2/V8c6q0gEEbzMIJsXMyJqEgIFhro7i/MHIonOZ64L4gU7mj NAQXCjMWMTU6Sos8k5UXCB8TExo0yXtjpt94mqQZMaeG+z7FSZi/M1SEAuG/E0rU3502 7s9w== X-Gm-Message-State: AOJu0YyuFO05Mdz+NH73Oy308bhtc03tOgh7cID8cWoNXAXhX/VWdhfn swno0wevrBZc/lcJkEZueT13W/k1nJns85HqgYdaV0uTBMX67/VoiYoo9YjE4fbR X-Gm-Gg: ASbGncsvQB5RX/gIya1IoYM94GsBhz9iHQ8yiNOLTQJaNIu2wTro2hwHlxrCmjXAS8G z2GhdNnsNkIarl9E3GznZ4RRUhDU909iPR76wh7J/xi9O+EXtLLtZwsFT6u3valR61W1YxaERUZ P0+mo9G5i1kA4GU5hLI6KLGInW613XSqaEUlqOCk8M9rf7d2Kzku9PchodoCkqqYfkVJlJT2iJH Lpm6JrDPSOleEs7QMd5AB5WUeO7F6Am8DzaqFie4ax3T5nb9QiOmueYm1WIxWcuIlFzjXyBIw9z 7LSgVU+IGCswKN6i2vwhv3sAKhgpXUSIUOIcjmQp5AZECE4yNuiI5vkPRpBEnRYIt6AqAzuzUKK 80IyXh3fNqXq3T6ggj5oUiLpsweUfcFIRW7GgQtcCMg== X-Google-Smtp-Source: AGHT+IGA7UBCduWIMoZ3ckC7vBtsfJLcTqX3Dugof6oMdrMWtJt4FPndUi/Y/4czKclUsbPMpLGr9A== X-Received: by 2002:ad4:5aa1:0:b0:7f8:6791:171f with SMTP id 6a1803df08f44-7fc2bd251cbmr243127766d6.19.1759130222935; Mon, 29 Sep 2025 00:17:02 -0700 (PDT) Received: from localhost.localdomain ([2a02:a312:c8a8:7a00:6a55:de09:15b1:22e]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-84d21f6b4e3sm20620036d6.48.2025.09.29.00.17.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Sep 2025 00:17:02 -0700 (PDT) From: Adam Blank To: docs@lists.yoctoproject.org Cc: Adam Blank Subject: [PATCH v2 1/2] kernel-dev/common.rst: fix the in-tree defconfig description Date: Mon, 29 Sep 2025 09:16:33 +0200 Message-ID: <20250929071634.25670-2-adam.blank.g@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250929071634.25670-1-adam.blank.g@gmail.com> References: <20250929071634.25670-1-adam.blank.g@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 ; Mon, 29 Sep 2025 07:17:13 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/7627 The description of the relation between KBUILD_DEFCONFIG and SRC_URI is reversed. In fact it is the SRC_URI provided defconfig which will be dropped by the kernel-yocto class if both are provided. Signed-off-by: Adam Blank --- documentation/kernel-dev/common.rst | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/documentation/kernel-dev/common.rst b/documentation/kernel-dev/common.rst index 654c4e0a0..bd6c3fb2c 100644 --- a/documentation/kernel-dev/common.rst +++ b/documentation/kernel-dev/common.rst @@ -650,13 +650,9 @@ the Broadcom 2708/2709 chipset:: KBUILD_DEFCONFIG:raspberrypi2 ?= "bcm2709_defconfig" -Aside from modifying your kernel recipe and providing your own -``defconfig`` file, you need to be sure no files or statements set -:term:`SRC_URI` to use a ``defconfig`` other than your "in-tree" file (e.g. -a kernel's ``linux-``\ `machine`\ ``.inc`` file). In other words, if the -build system detects a statement that identifies an "out-of-tree" -``defconfig`` file, that statement will override your -:term:`KBUILD_DEFCONFIG` variable. +If the build system detects a statement that identifies an "out-of-tree" +``defconfig`` file, your :term:`KBUILD_DEFCONFIG` variable will take precedence +over it. See the :term:`KBUILD_DEFCONFIG` From patchwork Mon Sep 29 07:16:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Blank X-Patchwork-Id: 71204 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 331CCCAC5BD for ; Mon, 29 Sep 2025 07:17:13 +0000 (UTC) Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) by mx.groups.io with SMTP id smtpd.web11.47947.1759130231850719515 for ; Mon, 29 Sep 2025 00:17:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=En4MsnvZ; spf=pass (domain: gmail.com, ip: 209.85.222.180, mailfrom: adam.blank.g@gmail.com) Received: by mail-qk1-f180.google.com with SMTP id af79cd13be357-86420079b01so219207485a.1 for ; Mon, 29 Sep 2025 00:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759130231; x=1759735031; darn=lists.yoctoproject.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=lsnlqfoIXIcg9gipeaMj/wqkMgVFQzbBAA2NUw5Cf7A=; b=En4MsnvZq70zJ0dEtMoPehihqtxulCXSkrD4Atmc0Z1I+mtf8K58Xvno+FPrbNDtVu w2cIMeQmvTVVRtZVibgxQ0njIUM2yRkvVbaerEHvhNfcRbQK3GX7zwiDtneHhqv2+/G7 LDHJXyPqxf+SOewcGkkIUGPtabEu9o0wSXHwC6E7jn1JO1W/osJwUZDpEgaiAR6U8HS+ Xx57Asb5CdxNZHqPxH081eI6+ZN3BBgbWG6dLuKGulBVl3vWI8eGC38NkhmbdBxa6N+H qcNvVUR/3BMOFQrZYJ858UaQB4J6mLTYj0/6EQNYJV1CQARQ9sEELKkxfr1eRHBQ5J9s K2DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759130231; x=1759735031; 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=lsnlqfoIXIcg9gipeaMj/wqkMgVFQzbBAA2NUw5Cf7A=; b=qtVpmn2IIxWi4RbCVyO2JAI3FiV/nu4XwLAN18FHQ2VOZL59fESY9YaX642bn01sTf wBnvEnHsI+UEH2pZ7PsA+N3kaIt0AjbfHxLkU7aDA1l0zA/3WkduQWeb6uiNtSobcxMH LcPoAyWnkY9gUWQ3vea3v0il8PwtpPuPB8Ab42rcGDwul9ntMbNV5sGFp652MPliyhIh Qdo2XI4SwZtrSejkGGSWSCMHi8rSjJi0gZbiM/nr5BQzxy/LJrFkllJgI9BYrqGnOReM Jpj59WDDXlyV3+xKwYPWPlT2TtJ91B0ISL8ElYPrLceiXCpFtVeJcbJzuap/qOax/vdu 0MgQ== X-Gm-Message-State: AOJu0Yy9nSpi89Yngv7ZIm94zv8+ZREuUOv2Cxc6a9rV+xiaRIEMPmrx UkPZ4rCmNRFYvAYikVuugHFCdC2w64N7PkFdcyIMoD80k4jjp3sgag8YOlZLmgj3 X-Gm-Gg: ASbGncuBIBEu+TXLot8dVXtMFMTuRysy6uxFz4UV+5Dz4+4p9FgV1mkcE0z6+++ptHr SOM9/n40TCncO5gnKp11JQcDFUTRYbZjFx6SfP7k6YtCA/CuIi9BPldKjVO9ovpccJOmXQcUZV+ 8w0IFNiIwTtyklmDXA6pZfkbPvYB5JvJ8Gp7p2PSiFrrlRtvvfi2e4z+ZAo1SiwH9hcjln2mJPm xUnnN6tF5/nk2oUj7JhsDaZbnC03os8td7H7KCmXU1IO28mkZKLRzUKIATLwycBc//+fVo+dc1+ 2Pl9Yau9tkr9h4mSOZrmi6Rgh2d00TuFf8+u5/k3UQdW+zXEX1IUYJhj+GTZ2gCB9CmEkKV+fZr OD+LuyzmFEac7u1qvlrZZ5UJc2dhiEIROxK93oSJ8X0kL1w5j29Ax X-Google-Smtp-Source: AGHT+IF1kZRmH+/0IwtLvDGw8kbZw0SAzLsHTgd5jL4GDk1xHQBu5T7r6Bni5CbjMCoaITXcqNhhsw== X-Received: by 2002:a0c:f102:0:b0:72e:d34:573f with SMTP id 6a1803df08f44-7fc3c34feafmr197747996d6.39.1759130230033; Mon, 29 Sep 2025 00:17:10 -0700 (PDT) Received: from localhost.localdomain ([2a02:a312:c8a8:7a00:6a55:de09:15b1:22e]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-84d21f6b4e3sm20620036d6.48.2025.09.29.00.17.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Sep 2025 00:17:09 -0700 (PDT) From: Adam Blank To: docs@lists.yoctoproject.org Cc: Adam Blank Subject: [PATCH v2 2/2] ref-manual/variables.rst: fix the description of KBUILD_DEFCONFIG Date: Mon, 29 Sep 2025 09:16:34 +0200 Message-ID: <20250929071634.25670-3-adam.blank.g@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250929071634.25670-1-adam.blank.g@gmail.com> References: <20250929071634.25670-1-adam.blank.g@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 ; Mon, 29 Sep 2025 07:17:13 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/7628 Remove some leftover confusing mention of KMACHINE. Signed-off-by: Adam Blank --- documentation/ref-manual/variables.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 18ead7d04..2f9f1a9d8 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -4892,8 +4892,7 @@ system and gives an overview of their function and contents. would place patch files and configuration fragment files (i.e. "out-of-tree"). However, if you want to use a ``defconfig`` file that is part of the kernel tree (i.e. "in-tree"), you can use the - :term:`KBUILD_DEFCONFIG` variable and append the - :term:`KMACHINE` variable to point to the + :term:`KBUILD_DEFCONFIG` variable to point to the ``defconfig`` file. To use the variable, set it in the append file for your kernel recipe