From patchwork Sun Dec 7 20:15:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 813 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765138626; bh=v7f5TPdgOtVC1pXRz39sPo3k6fxlvU9Z26aBiPA837M=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=dZJjXXyZGvB1kCs+MAyNB4+7NZ+0f+yuKbOP2Jgx8vp+HdRmO6Lq2JKoWWnlZMdlo R1xZKSXMiQ0En4mEl+udW1hwIMwiy7S/+qpKHEYNFcP+9Awfw3BHAvJO6huBIKJN/K 5t9OeE38PZe6spBIjYiyd4f3Bg+rmTaHWjb6nw7jabSxxjUdX+wsHNgcwIauxyFneQ AdOY89WEwl6JzbaCdctpXva76/UCtAL4WcgaJ2bMmjGxc8Pf3Yd7qrAI1gy3uzGfH6 R2aUqlv8uPJIgNMkqhtj14ojB07OPmkjqDRGJjyLfDWZPlnFP5W0iR6/ebowtPlETq dSJOsnG0U8qDw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id AEBBD6899E for ; Sun, 7 Dec 2025 13:17:06 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id r_4YIufEqBrI for ; Sun, 7 Dec 2025 13:17:06 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765138624; bh=v7f5TPdgOtVC1pXRz39sPo3k6fxlvU9Z26aBiPA837M=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=b8n4yYQzhCVSSDPD51h9MVoXltuDvAdGD3K0wt+o2j0i2q7b5tBtBUdo6k6N7BXBG Kh9XxVOxB0Li/OPoLzxhx+ZDTxMRDCgdt8n1NqsKMcs9uu06mBq6IgOq3NEgxrP2En 4Y/GlHV1ZE8zzdrhK8MvSb6z0XVZ03hgVYBVKnvYOFilbbwV2PjOiMyXYm27qD+XiX rA8urZjophYgZYFybze5MzOb4hfhefftzZne8EmPBx2CaXDgRIm4IfySMOmCQGgIbe peNB0yFj07Bgj8ZU5NWJ55jirP7MXeMG6BUIBOiXYCSwUgFS/r8ZBott1OkmUJjMfj CsG/z+MUj63fw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id B1FE468995 for ; Sun, 7 Dec 2025 13:17:04 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765138622; bh=atBZmHekvSAEBssgeU6vXoAuDUFUGgAmeGwfjmuImhk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fbs6kqqcXLVxbFTHE7VcAGPoJ+3SGVWy5qOdNxLiRv8DMgL+iYW6tOtUl2J0NJrbW siC3+qiG9MvM5PqNW2Gp8MLuyxIiymXcA4pj/JndQQqUvGIHvxhS+oNmVder0OUxs8 aZQ0xAQ1v4pmNH6KbN9dnX7CpBxmbIlszwO315vGJzhADf4R9loeBKvSCIoW6kbcSX 2gjTgzbSucV4chhlQKjyuexU9GcL6B/m/I2vdY4jHYoI3G84qn5kkG6gmRi5Lvczl3 dpSj5rgkv3TqDKkFMoNMMyZbVPpzIsbD3UIKt4iOVEFpZ7E4OwuiyH0xgMTi3iFFfd rp9+Gpa36ayOQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id EB3365F6BF; Sun, 7 Dec 2025 13:17:02 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id N_MeUR6ZEDir; Sun, 7 Dec 2025 13:17:02 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765138619; bh=wkXmGXmtL6AXhcrXoleSQRSblxXEPJLPmJWOrNidefg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CLLYzIxS1u+DceaTDl8Fi7LknBNbrTj/TYam012MYBNDmXRn6xedwbjeeqnNVmOPV JUYDk2UvdbqL/BmgmXc+WrXo2N32C4of+7LlhN9+AV8BdkrrBbWSOPX64b6NshWiI1 ZE87smEboIyXny2ShynTMIcQM/3AmTBoPXqvcQsQl2C5GOcoB1dQBwDA5tmZs3ElvU jDbgqglARD2+Kj1dTOuNIbIXG4ecUHBRwZBUZcEKFvxAOMy2d0NRYUQPGJ3aWrwKhm /SLPiyKrvhH4+z3ckdITBiQF3bmxwSn1GqTgVk2pJ44y99TE3xVsFliKPaO5kc88Hs 5dfimQ/JGJJyw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id E3F0B68902; Sun, 7 Dec 2025 13:16:58 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Sun, 7 Dec 2025 13:15:58 -0700 Message-ID: <20251207201628.2882382-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251207201628.2882382-1-sjg@u-boot.org> References: <20251207201628.2882382-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 5F342VEYIWEPBA5R3MMT3F2H7GSMJJNC X-Message-ID-Hash: 5F342VEYIWEPBA5R3MMT3F2H7GSMJJNC X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt , Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 01/22] CLAUDE.md: Update build and coding conventions List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Fix typo ("now" -> "no") and clarify notes: - Add reminder to avoid in-tree builds - Clarify Co-developed-by usage in commits Signed-off-by: Simon Glass --- CLAUDE.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index a13dd995b68..ca0571ecef8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -59,7 +59,9 @@ pyt - Always run `make mrproper` if you encounter build issues - The sandbox build creates a test environment for U-Boot that runs on the host system - When using `git diff`, add `--no-ext-diff` to avoid external diff tools that may not work in this environment -- crosfw shows now output if everything was ok! +- crosfw shows no output if everything was ok! +- Remember not to cd into the build directory; run U-Boot directly in the source dir +- Do not run in-tree builds; always use the crosfw script or 'make O=/tmp/...' ## Coding Conventions @@ -69,5 +71,4 @@ pyt - This follows U-Boot's established naming convention for output parameters - Keep commit messages concise - focus on the key change and essential details only - Code should be formatted to 80 columns and not have trailing spaces -- Remember to use Co-developed-by in commits -- Remember not to cd into the build directory; run U-Boot directly in the source dir +- Remember to use Co-developed-by instead of Co-Authored-By in commits