From patchwork Sun Aug 31 18:16:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steffen Kothe X-Patchwork-Id: 2130582 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=ZLO1oDbC; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::83b; helo=mail-qt1-x83b.google.com; envelope-from=swupdate+bncbcp3vcnj2ucrb4vd2lcqmgqed6wtzcy@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-qt1-x83b.google.com (mail-qt1-x83b.google.com [IPv6:2607:f8b0:4864:20::83b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4cFKxv0jkfz1xy8 for ; Mon, 1 Sep 2025 04:18:25 +1000 (AEST) Received: by mail-qt1-x83b.google.com with SMTP id d75a77b69052e-4b3316dd5d0sf10300041cf.1 for ; Sun, 31 Aug 2025 11:18:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1756664308; cv=pass; d=google.com; s=arc-20240605; b=QfQv1bck8PjCNhts8JZB0Y1JWmmV3G687U6W0KYSKXtxIy5ESO1HqYyhLAJTFKgTgj 0sq3H9TFxJHHe9TgQqJYsAT04teSs2yDfcY0VHg3ZTaMWToMBKEkGQz6yT/67183RrWE gw4s+w4Wr3mFB253Vq4LUiGPj4TU8aPbAKHa+55DPF9UCOc/hCsyunusa6wehil3WJn6 kYDmbC4KC45daHwXfZxQ6oeVTpwH/QYR4fxOdtLPkjzdxqcj4/ItOVUYJWRGcmWv5jHF GWmsyDCnt0xfRMG0gq8Xf4YKhkwEzLdjx8W8mBa57/KV9V6UbPbk1B1grbhjvwby2IUs mVIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=aic+WzlPq97e7X0Xy5J8lWW34A87rKNEzDThV9L10SU=; fh=7c+E4a5CSgHF1hgdGAqaRT+BveuGl0FnKmWwNIyOUPk=; b=Zc/Ra8EfFN/7e4FFvPCTnHBUp9TYUeAapGbXToplHiV6Y5xGbf85js0NfGLdbeX2S/ ofzJfjESUJAuOyLCRtE0kh2LKCCSf/eekK/0k7oSlR8KxEhqYTqCGSWgqp3QvLGuOhHI +bo0LnxuV7hFGn+Y+zUF0w2V/W/VyavHQ7rDLB1DD7tePB7dFi6q0D47K75tyj0dYpWh TbC4OsHnWCwCgu6rqFCHm3vp8kbipVblW6M3SUs0uZ1Rn9M2mQrVafMsEfQu4Mudw5mt onkk/QJE2O0llQHcHuINmJRhdXD7UHAWO6z5zs8sXnLSgxXVwtH/FfEd2p3fGeHqlYlx riLw==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of steffen.kothe@skothe.net designates 2001:67c:2050:0:465::201 as permitted sender) smtp.mailfrom=steffen.kothe@skothe.net; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=skothe.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1756664308; x=1757269108; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:reply-to:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aic+WzlPq97e7X0Xy5J8lWW34A87rKNEzDThV9L10SU=; b=ZLO1oDbCXvOiHpbj7NvqYtc4amEYd8ypkcRFkptFzvhEp6UDF9NYWCSDoCsA6NGVT7 4ORWFnFxUdvlkgbNsjAsDGvle/pirSfVj5yHDPcDP146/0IFnOLj6vx1X2TGgoTUkSvj cu2ugzDx4PNtZXXlgjOIqIXZayHlHaMYAJEFa/AxZYJZrKn+4EaLf0HmSQ+5pV2Ti/zg W65NZiIetmVsqe368lT8i8PB9OLuflL9aJrm7nC9zazv9yWqszbFz5cAa79Z+/AvANx8 oTBNW3ds6w2OPzeUtXRfU9hE8xBZTPVHa3nbwjQ0wQ6nzZlkPjX8G0Pbjzon5AnVZ2bk ykRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756664308; x=1757269108; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:reply-to:references:in-reply-to :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=aic+WzlPq97e7X0Xy5J8lWW34A87rKNEzDThV9L10SU=; b=RqSqRn29tEKSNqth4p6MVYLRHkQ2ZbsEtB9kT5AcWPzVVy5dUJWXBXyO5H544dH0Nq Y3hKMweGcR6IdMCrLEoZVd5JrauvQky328WoltY4PQMaLAVh9XNKz6J21bqTkmOLle5R oyXKSWy2gWOfe+pxqydgt96SyIhkYOZ8dctdEZM26UPY2MmIfm7UzBhApAAw5Lo22PMP oqNBsaSNCDG/YjFSFY/8ExL6m8S2j27hnFVzuZROst+1hBPXPFXa1wk7dIJmAoYZOJ0B rDsm+c/978FE1R9MLw8neu0XyYR4xlgpQX1N7SSYG5azHXnIglB+mgMKIEeSBk7DS9Jp 0xWQ== X-Forwarded-Encrypted: i=2; AJvYcCUIOJehL7JAWaeIRJxSJKGQMx/osbI98box0ZQY5b93Gad9YYpXghO87XJi1AY6izhSnqo/mHNlMw==@patchwork.ozlabs.org X-Gm-Message-State: AOJu0YycoiAZd0Hjz1F3T2U4Km26tazuKEYxWj10ZF8F5jBFjRjmjmCK Mss7+qORqyQkdsfjnFs5ab09z4wKItlU18lAcZTV+cJpjAVdLymkPQc7 X-Google-Smtp-Source: AGHT+IH6WEWq7/wfYWZkNCZadbIV1vWQIsB9Zjy8ZUPn4dI7GqSUyDZbYJubtzKxNphQbXx170tlxA== X-Received: by 2002:ac8:7d03:0:b0:4b3:963:b3c7 with SMTP id d75a77b69052e-4b31dcddb9emr55809331cf.80.1756664308488; Sun, 31 Aug 2025 11:18:28 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com; h=AZMbMZe/cRDPz0MEIcXcoHdRNPBvonFPOwUUb3DP2/Ln8SpSuA== Received: by 2002:ac8:7c41:0:b0:4b0:774e:d50c with SMTP id d75a77b69052e-4b2fe873d75ls58600371cf.2.-pod-prod-09-us; Sun, 31 Aug 2025 11:18:26 -0700 (PDT) X-Received: by 2002:a05:620a:1790:b0:7e8:21ab:2846 with SMTP id af79cd13be357-7ff2869b7ecmr518969385a.36.1756664305945; Sun, 31 Aug 2025 11:18:25 -0700 (PDT) Received: by 2002:a05:6504:296:b0:2bc:427:fa2 with SMTP id a1c4a302cd1d6-2c0fe6cb696msc7a; Sun, 31 Aug 2025 11:16:23 -0700 (PDT) X-Received: by 2002:a05:651c:222a:b0:336:955e:9fcf with SMTP id 38308e7fff4ca-336ca902bb1mr12390981fa.9.1756664180677; Sun, 31 Aug 2025 11:16:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1756664180; cv=none; d=google.com; s=arc-20240605; b=lSS57ESylmZ2ssOVNYjYvXn6Mt/VVjqfYZBa1EIpjLOyomH8J0S1JVN+gA89yHDMnv TlQiMs8XLNPlBxPbSKCTZi6EzVWBkr+4DVbbpTkR4LMG84lZQVj0RR04GFYu4tgHl2qd zYUa3LvvSRQPvbs0FmNHJWviTHcdP6/jbDlmdkWO35UGHkhRjn3QmlHQEKXEh8tAMiJE 322l62/5/i4dFnXHtki0VqpJW1WAEO53ir4DAeahcA1TEBzMXI3NsiX0TViPJctNNzEA uxCbvJZpxQCbBA3aIrEah3AOzBXmiKjadABU+z8qSBGDyg7KW8QdDBf+K2sPjz81rqpL joNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from; bh=CKf9iacMXvPKmp0fvX0YUA4uUdF94pOyDsjh71bwMRw=; fh=Gr0ygiUplebmZy1lEKJAXyUVznJg4pBBF+iAldJtUK8=; b=Bzf9JCel4QCkA1pG20ujJxxAEbT91/+hT3ARdHQMzJBY2ctOezu8HIMrpFBnWyje6U dcvXUeivcyz+O8WjAt5MYBtdwXe6LZrh/5LJPwrdyM+YUkNz1/M60K8+HYOK2S0b+Bs/ Dz5Itni4nOzXKZ9wpgTsYwvkN9Iiae6V7J99z6pmwUQeNmOFYotwFAK0TKq7x8AKqi2e 7A0ru/jbzHYnzjNLzmILu41IVd1GaLTsv3MRd0QOtWWPAQBiPbEfYz47ulgvpEGCtcMp 4D7NhBGFiqXYL6IADwFsm56rbn9fl4rdqKbmXuh/JFazFndktUCio0UyHBrPdsiXqHoz 4taQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of steffen.kothe@skothe.net designates 2001:67c:2050:0:465::201 as permitted sender) smtp.mailfrom=steffen.kothe@skothe.net; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=skothe.net Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org. [2001:67c:2050:0:465::201]) by gmr-mx.google.com with ESMTPS id 38308e7fff4ca-336d0dd018asi504661fa.8.2025.08.31.11.16.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Aug 2025 11:16:20 -0700 (PDT) Received-SPF: pass (google.com: domain of steffen.kothe@skothe.net designates 2001:67c:2050:0:465::201 as permitted sender) client-ip=2001:67c:2050:0:465::201; Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4cFKvR6RCYz9tKj; Sun, 31 Aug 2025 20:16:19 +0200 (CEST) X-Patchwork-Original-From: "steffen.kothe via swupdate" From: Steffen Kothe To: swupdate@googlegroups.com Cc: Steffen Kothe Subject: [swupdate] [meta-swupdate 1/1] fix(swupdate.inc): Reorder do_configure due to config ignorance Date: Sun, 31 Aug 2025 18:16:11 +0000 Message-ID: <20250831181612.421579-2-steffen.kothe@skothe.net> In-Reply-To: <20250831181612.421579-1-steffen.kothe@skothe.net> References: <20250831181612.421579-1-steffen.kothe@skothe.net> Reply-To: steffen.kothe@skothe.net MIME-Version: 1.0 X-Original-Sender: steffen.kothe@skothe.net X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of steffen.kothe@skothe.net designates 2001:67c:2050:0:465::201 as permitted sender) smtp.mailfrom=steffen.kothe@skothe.net; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=skothe.net X-Original-From: steffen.kothe@skothe.net Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , From: Steffen Kothe EXTRA_CFLAGS and EXTRA_LDFLAGS are part of the build process of swupdate added as additional config entries to the .config. Parameters which are written to top of the file getting ignored by merge_config.sh with an outcome that neither the C nor the LD flags are containing the default flags from the Yocto build environment. Hence change the order of adding additional flags and write defconfig first into .config before flags are appended. The issue was covered by QA warnings for buildpaths which are usually not happening when compiler flags like fdebug-prefix-map and fmacro-prefix-map are configured correctly. Signed-off-by: Steffen Kothe --- recipes-support/swupdate/swupdate.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc index 091bbc2..45fcf3c 100644 --- a/recipes-support/swupdate/swupdate.inc +++ b/recipes-support/swupdate/swupdate.inc @@ -259,11 +259,15 @@ python () { } do_configure () { - cat > ${WORKDIR}/.config < ${WORKDIR}/.config + + cat >> ${WORKDIR}/.config <> ${WORKDIR}/.config merge_config.sh -O ${B} -m ${WORKDIR}/.config ${@" ".join(find_cfgs(d))} (cd ${S} && cml1_do_configure)