From patchwork Mon Jan 22 22:39:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1889434 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=ovXwqd6D; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4TJlX84XHRz23f0 for ; Tue, 23 Jan 2024 09:39:36 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BE176879A8; Mon, 22 Jan 2024 23:39:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="ovXwqd6D"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 50A07879A8; Mon, 22 Jan 2024 23:39:25 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3AE4C87729 for ; Mon, 22 Jan 2024 23:39:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-dbedb1ee3e4so3262336276.3 for ; Mon, 22 Jan 2024 14:39:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1705963161; x=1706567961; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=8h242WJpIHoqpRaEB3lvJRrHk2ap0mteIeoUCdCpTJs=; b=ovXwqd6DtHUK29+WcBK08q5yKSXwGTv76MfnL/isshp6V22Lpi17E53I+9Z9vB3WWq QPtTRxxQ43Tl4w957tcDtRtU5lpmSLSzW0zhCaKbpEJufRC95Tc7egsEeH2xzo5Ti214 nOJyKIUNtJr272kh8Vz6y7c3rmQiChsXHY3Ec= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705963161; x=1706567961; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8h242WJpIHoqpRaEB3lvJRrHk2ap0mteIeoUCdCpTJs=; b=TxZxdQcn7G9IW5WWCgVrtG2i2fUd9ps9cxMINQc5KdFsfmiCVB7vVig3Xce19DyJes v0Tb0RRVUVgGMHvGSd0z5zHqZvp8wIHup3GJeAjzD6iAbnT7z1WImi7Q7s8OG4dbxxpf MWYJS0prRXV7UJjQPBguXlwQlEeGbF7yfv3dFLam1zsTsx59R3a1gWhSbgRy43Vpoaw+ nG+CGHUSjcxsSqk4d+79/md9MBIXfim/uBp8r4Qj4BKtYuTNRMaeHTzdC1lMTDMGzJv3 0lsrysPmKrVcIk8iQZTVEPIsUbVyWTBd0RIexSCNFJMiVanzz02kQGb25QAEuTLtBSDB Zfww== X-Gm-Message-State: AOJu0Ywraffn0lUP2yraPXPwWjhC6v43yqnUNIPFIvRzGXzqvw1Qx8yL nXTrSHzkDhf/r4CSWtwCfrcWSSHAkLe9eF+rlf6eqz4AiHflsnenckva+N5svL+7qYNXezilowQ W X-Google-Smtp-Source: AGHT+IEEGvhA3m90bNKEmnA0LyX6ynqdKdlcA4pp1FpiAgSi5hrwLSAl4riuB4Du2xMtnZ/ZyBHiTA== X-Received: by 2002:a5b:8ca:0:b0:dc2:4cf0:e7cf with SMTP id w10-20020a5b08ca000000b00dc24cf0e7cfmr2807077ybq.64.1705963161572; Mon, 22 Jan 2024 14:39:21 -0800 (PST) Received: from bill-the-cat.. (2603-6081-7b00-3119-0000-0000-0000-1001.res6.spectrum.com. [2603:6081:7b00:3119::1001]) by smtp.gmail.com with ESMTPSA id c18-20020a5b0bd2000000b00dc255105656sm1773243ybr.4.2024.01.22.14.39.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 14:39:21 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 01/16] kbuild: Allow for CONFIG_SYS_CONFIG_NAME to be unset Date: Mon, 22 Jan 2024 17:39:05 -0500 Message-Id: <20240122223920.3630168-1-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean It is possible to have a platform which does not require a board.h file to build, but today we need an empty one for our generated config.h file to be valid. Allow for omitting this file if CONFIG_SYS_CONFIG_NAME is not set. Signed-off-by: Tom Rini --- scripts/Makefile.autoconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf index 0ade91642ae3..8208ffe22744 100644 --- a/scripts/Makefile.autoconf +++ b/scripts/Makefile.autoconf @@ -113,7 +113,7 @@ vpl/include/autoconf.mk: vpl/u-boot.cfg define filechk_config_h (echo "/* Automatically generated - do not edit */"; \ echo \#define CFG_BOARDDIR board/$(if $(VENDOR),$(VENDOR)/)$(BOARD);\ - echo \#include \; \ + $(if $(CONFIG_SYS_CONFIG_NAME),echo \#include \ ;) \ echo \#include \; \ echo \#include \; \ echo \#include \;)