From patchwork Thu Oct 3 15:46:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 832425 Delivered-To: patch@linaro.org Received: by 2002:adf:8b52:0:b0:367:895a:4699 with SMTP id v18csp354881wra; Thu, 3 Oct 2024 08:50:10 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUXidLs2+B/+gNfZl1SAACYIwi12lrerR89bh9fu7u842VfxIMs076PdT+nCdNe6Sxl5WYQLg==@linaro.org X-Google-Smtp-Source: AGHT+IH0smM2rdO2QNSr3kflXbBy7oDEvJJyFLfMDoVC8sZnaarnwn8lJJEHYFutGCJLzAJ0vowv X-Received: by 2002:a05:6e02:1543:b0:3a0:9f85:d74f with SMTP id e9e14a558f8ab-3a3659445bcmr68362555ab.16.1727970610474; Thu, 03 Oct 2024 08:50:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727970610; cv=none; d=google.com; s=arc-20240605; b=XWzg/Io+o/lpda+0y5K4ciAkXt1EkTPGELD5BlDJO8A1R5NQIaLtA1yZ/zNp65RjnP SDhfqS527w5AcQ9llsrY50MsrVM32Ka+KoCJCKGjpmMKWirwlbcqGo1VRLiaKkX+a8Id r8fVtj5EWQ/R/Ix2qVi60Uj4U9JlaW4Sy0RmUEoAe1gut9eWlDpOOf2rbao4dBMvvxk4 tBqcbPzE2SXQjCHy/lyDSk8dP6xg2PS/MielasCDiyQ0HX7ifAnl9uibf8DsPOLGtS9z wsIw4EduyvFBYHaPhfg6Js9zQ2VBF3Gdrm8xt2Uf9ZzdKdZDvVPdjxEywinl/qhE/5YR 4IXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=MktPFMTO7Kpc7/pKSJ53v9OJ+XoE2+jn+aez6r7cU7Q=; fh=jsFXu3iLijXIN2uYmlfqKS6I1KzGXFCz88a7kH8+wjU=; b=jh6jKF80bYm7cs0eYKgh+iP4iWUCUFCZLHwokM9sSjelrTO7xmLXezfxoKgHDbygY0 w5iIYIzy8toJ5ab6kczp52akh8sGbA+7qEGVjfiEP3UDToeG1YgwddYt6eR8QZM7N1mJ 0OosXJpL/iVN81WbgH7vYuA9658JNSzU08NAzOZJkuAPmp7KiWykm9ucC1Bds+N924MN fqEb0y6pqKRkCFAmWkgW3drRtxc98RjGC2zjm2rkW8wO9Q6qLoHD8hRSbjSxnKiu9HOf PA8hBlu+QQjUOkQL9TBzv7ch92E+ogHZJ0sPy5GwiZAjq83eMD0nnmc2z/aLIH2HSGE7 LZXw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aPzhxr7E; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id e9e14a558f8ab-3a3713916cdsi6594105ab.33.2024.10.03.08.50.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 08:50:10 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aPzhxr7E; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5850488F62; Thu, 3 Oct 2024 17:47:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="aPzhxr7E"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5BB5888F62; Thu, 3 Oct 2024 17:47:39 +0200 (CEST) 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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (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 2536588EE8 for ; Thu, 3 Oct 2024 17:47:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jerome.forissier@linaro.org Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-37cd1ccaf71so1289225f8f.0 for ; Thu, 03 Oct 2024 08:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727970456; x=1728575256; darn=lists.denx.de; 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=MktPFMTO7Kpc7/pKSJ53v9OJ+XoE2+jn+aez6r7cU7Q=; b=aPzhxr7EztjkaH1Vxiz9+88mhsAM25fiBYgGiKCbYNF6UZY5+/sv6Kjru14uiHrfCU vPciiIQ9XtIOUfTBMdhDGHcWu0z8ZboubY5Vppruo5q+WX3gA13zR9COMSI/PLNGeQe2 1meTDtBJTzcuOpYUa8slC7H1AJnrmyhqYBeHBwKR4BfaZ+kQoE0ftCyXWZsh3jx39IPn lDFu4bjIl4RxpRWelRpsE3QFCEKhohfURvPFzGTHTTqE2iXeJ8X3pGOiZ3ij5F44Eq60 48ov0D+tMVo21bmlb5j+ZZk+BUBu50Prxu4wGVA0NLRJtJZPTlXTI0ToANBkvs6OqeDm P87w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727970456; x=1728575256; 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=MktPFMTO7Kpc7/pKSJ53v9OJ+XoE2+jn+aez6r7cU7Q=; b=MNGL0w1KR3zfOITEKoXST2BgRN66tUQ5QpfZuhWcviwr8MYXFYTu5F8gyUWynsZL6a j0XKHNDrrZ4vbptNgD97ncqbpdEcv7eQH2rKzSjLUB0THoermCb+4xiLEPdPPmfvDfUS vMi3fWMjlqbh7uEeyBki/C1OTwFfkWiH2SAf0bwWXi/3O3AKxVFyPGgKFC+qsH2xwvro YnlAdw9UdUcIUxXBsdZGulQaSPJmh5Zst0Gt996ELeE8xazWhha7cyNFqBoxQtWI8vLr +Iq43nt39OnGYVvwE6cq9gtt82ICUHk96jLdBqxiUbJLEBEl14qgr9Pxd2i/jyBNKECn sc8w== X-Gm-Message-State: AOJu0YxQpJs6jhNBaL+Yu+OvZk2wNlT+wTM/p1e61UOy2PLsyHmrHMvj 65btEAsle61nNZW/RAtiUz4X3NxOSw2PQiJgF5aWYL1A6gEQ9oYY0TGSZUU2790JblA93fBBa+D AzQvBlqf9 X-Received: by 2002:a5d:688e:0:b0:374:c6b6:c656 with SMTP id ffacd0b85a97d-37d04a32a79mr2203310f8f.21.1727970456286; Thu, 03 Oct 2024 08:47:36 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:d888:7a58:deed:47d6]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d08245059sm1541748f8f.55.2024.10.03.08.47.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 08:47:34 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Javier Tia , Raymond Mao , Maxim Uvarov , Tim Harvey , Anton Antonov , Jerome Forissier , Tom Rini , Simon Glass Subject: [PATCH v11 27/29] configs: use syntax CONFIG_FOO=n in tools-only_defconfig Date: Thu, 3 Oct 2024 17:46:31 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: 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 The tools-only defconfig causes troubles on MacOSX due to the default C compiler being Clang (LLVM) rather than GCC and more specifically due to [1]. Therefore replace "# CONFIG_FOO is not set" with the equivalent "CONFIG_FOO=n" using the following command: $ sed -i -e 's/# \(CONFIG_[^ ]*\) is not set/\1=n/' \ configs/tools-only_defconfig This fixes the tools_only_macOS CI job on GitHub [2]. [1] https://github.com/llvm/llvm-project/issues/78778 [2] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=9105&view=results Suggested-by: Tom Rini Signed-off-by: Jerome Forissier Reviewed-by: Tom Rini Reviewed-by: Ilias Apalodimas --- configs/tools-only_defconfig | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/configs/tools-only_defconfig b/configs/tools-only_defconfig index e00f2c48598..7511e30d709 100644 --- a/configs/tools-only_defconfig +++ b/configs/tools-only_defconfig @@ -4,26 +4,26 @@ CONFIG_ENV_SIZE=0x2000 CONFIG_DEFAULT_DEVICE_TREE="sandbox" CONFIG_SYS_LOAD_ADDR=0x0 CONFIG_PCI=y -# CONFIG_SANDBOX_SDL is not set +CONFIG_SANDBOX_SDL=n CONFIG_ANDROID_BOOT_IMAGE=y CONFIG_TIMESTAMP=y CONFIG_FIT=y CONFIG_FIT_SIGNATURE=y -# CONFIG_BOOTSTD_FULL is not set -# CONFIG_BOOTMETH_CROS is not set -# CONFIG_BOOTMETH_VBE is not set +CONFIG_BOOTSTD_FULL=n +CONFIG_BOOTMETH_CROS=n +CONFIG_BOOTMETH_VBE=n CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run distro_bootcmd" -# CONFIG_CMD_BOOTD is not set -# CONFIG_CMD_BOOTM is not set -# CONFIG_CMD_BOOTI is not set -# CONFIG_CMD_ELF is not set -# CONFIG_CMD_EXTENSION is not set -# CONFIG_CMD_DATE is not set +CONFIG_CMD_BOOTD=n +CONFIG_CMD_BOOTM=n +CONFIG_CMD_BOOTI=n +CONFIG_CMD_ELF=n +CONFIG_CMD_EXTENSION=n +CONFIG_CMD_DATE=n CONFIG_OF_CONTROL=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NO_NET=y -# CONFIG_ACPIGEN is not set +CONFIG_ACPIGEN=n CONFIG_AXI=y CONFIG_AXI_SANDBOX=y CONFIG_SANDBOX_GPIO=y @@ -32,9 +32,9 @@ CONFIG_DM_RTC=y CONFIG_SOUND=y CONFIG_SYSRESET=y CONFIG_TIMER=y -# CONFIG_VIRTIO_MMIO is not set -# CONFIG_VIRTIO_PCI is not set -# CONFIG_VIRTIO_SANDBOX is not set -# CONFIG_GENERATE_ACPI_TABLE is not set -# CONFIG_EFI_LOADER is not set +CONFIG_VIRTIO_MMIO=n +CONFIG_VIRTIO_PCI=n +CONFIG_VIRTIO_SANDBOX=n +CONFIG_GENERATE_ACPI_TABLE=n +CONFIG_EFI_LOADER=n CONFIG_TOOLS_MKEFICAPSULE=y