From patchwork Fri Aug 23 13:48:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 821738 Delivered-To: patch@linaro.org Received: by 2002:adf:e044:0:b0:367:895a:4699 with SMTP id w4csp388472wrh; Fri, 23 Aug 2024 06:55:08 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXAAEOfGi92Ke0hVQaQg6i0LNNiA8XYk7+wIRl8in/vbSwmN4fOtdfhDgihTsqXbZtHjzQkbw==@linaro.org X-Google-Smtp-Source: AGHT+IFvRee8SBwWpJYbllYwNQIeFkoVqUhesNmQ9gUi9IVTsAXtj1NjzHyf8FhBRq/dZMjG39Fj X-Received: by 2002:adf:b311:0:b0:368:665a:4c64 with SMTP id ffacd0b85a97d-37311840237mr1242831f8f.5.1724421307805; Fri, 23 Aug 2024 06:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724421307; cv=none; d=google.com; s=arc-20160816; b=FtZaEy3NOG8MfsZ4EI3TJNZAXyt0y6ImU2X27GrgwvuJ/42c9ve5CxNJkewJbB0dOK zqDB9TkSxUrPl55AcFnuyIsnyjav4K3X2s34n3gjjQt5/xIT2cuKQGEBPq4OcWj9mFPt e9ib0P1KXWCXFmZTAElWiosv80dao8EAsN1Rvu/EsLEfiC2LK5HdA+xN5T05tUsJ7JZs /NbeVEUArDiCuHblIQxc0VjSTMsoLHbelhXRLZO2C8c9Be+KE+YDpR17T+rG3JYoTa1U ACtOkPsF4sGH7z9y1R/4yNPFM0r+CVkRmy46yPrvqu9QV/xbkWWhXOx/RLKCHGZfy48o WoUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=zBTpKlNJ+CX952bVpUvNeHC0pIUflmSyNV267epLKSw=; fh=jsFXu3iLijXIN2uYmlfqKS6I1KzGXFCz88a7kH8+wjU=; b=TD/IwaGG8J5ApZs0UUMdPNMIEYdxZcI1yhXAF15TWhQIalIoVqcWWPdRbW1CdDuNpH w/SpA0fZqHfl5y8IlUP5B5pbY6WAjq1adWZhHFB2YNixMmi9yr7+uksLJj8lA7yxBxnC BS9ALv18yoKJuAMFMYtSygUf5JF5LFGidAicB8LsG9Zi1K0Z1pZcme4nNQbSWHVaATmf dF2XZencfn4FfewPtxNyuoeeP+zyxsxVuwChHBFBOhT5ZCcuLuro/2rhGZMBjwOLF6W1 PRHwdRM3uK61BlR739dEZnaPBrQI8hKzsiUa/sYA8DsT3ykUfnCFB9hcpFrGVy3d36+T 3pDg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W8FLEjyG; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id ffacd0b85a97d-373082009e2si1571703f8f.349.2024.08.23.06.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Aug 2024 06:55:07 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W8FLEjyG; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 466F488C73; Fri, 23 Aug 2024 15:50:20 +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="W8FLEjyG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 264E288C73; Fri, 23 Aug 2024 15:50:18 +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,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.2 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (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 60BEB88C65 for ; Fri, 23 Aug 2024 15:50:15 +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-wm1-x332.google.com with SMTP id 5b1f17b1804b1-42816ca782dso15529705e9.2 for ; Fri, 23 Aug 2024 06:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724421015; x=1725025815; 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=zBTpKlNJ+CX952bVpUvNeHC0pIUflmSyNV267epLKSw=; b=W8FLEjyGgRGmjcbSFIQXW03LGaARUzBAk6Jc2Z8jVVUdEl0t7YEnsP+e9QsVcyL7d9 pFpBc50zXnWCKHhiKBAkzZwgc6K1tTVUoOZm+/zKvIACPdxp5QC4yxOYdrS2L2/ThMAp TmORmOZJGZkveOleDSSG8rlVa2tpxICQX70a8P3mWbhCoBf2sQ6+bgZS+hCROhmuD20z 5nIknk8o6mOagOM+bOLQ8fd6fk/l+RdANBX/FghbHoluvj7O4Aov0k+YPaVKHX8ac4t/ v1IMIZC5KD0OfBltOG8E+kZDerA5tIE3PLdGlypiNJKqzu4a66+aHfmf0Z28mFT5yoF/ R/hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724421015; x=1725025815; 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=zBTpKlNJ+CX952bVpUvNeHC0pIUflmSyNV267epLKSw=; b=S90XxgfgFjdxHDWjHWiISjHMdQ4/8aVT3oOCJO2KVBvMgwRvs9wDF+a56ssRbFgAt7 zOf8TfJfXJL7VAPMCkeywua3iFZ4e4D4vEJr+IiRJ5PJOEVaekX2VmqRZrtLIMc4Wb6F N+kYir1kaLu/etV+XJ7Ss+9VjuTB8U9sKYF129M1X4w6HCUk6PaiwHZB5R6NeEIb4ihV NL51mlBPBZP+j3B3T1L4MGV41OGlMYg/3UhXITmfDK8vIaY5MC9tYKYk5OdQvgVKHr37 g0ppO2crBsLG+V7jRj4/JA3YH9WoFy7rz1Ds5FUMbqWKhFkSptb2TwDIbII97TtX4LPs qAgQ== X-Gm-Message-State: AOJu0Yyg/wGNyOmjd7yruRL56h3bzwZ7myhmkRvhnp4ELEGBtBz1kVu3 Pof1daajckOg8gadkZyB1YlFD/Adgocik4JRrO+ajOCt7T3zsBeOhsNWULZ+vv/wVRHqtZofSxG QYftJcsC7 X-Received: by 2002:a05:6000:4009:b0:371:8e95:9c84 with SMTP id ffacd0b85a97d-3731186340fmr1655520f8f.26.1724421014589; Fri, 23 Aug 2024 06:50:14 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:e668:dc94:35c7:8064]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-373081ffb40sm4201665f8f.76.2024.08.23.06.50.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Aug 2024 06:50:14 -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 v9 34/37] configs: use syntax CONFIG_FOO=n in tools-only_defconfig Date: Fri, 23 Aug 2024 15:48:38 +0200 Message-Id: <1cd8b6cde8ba55d6f78cc8ca4c4376bc5ce62294.1724419624.git.jerome.forissier@linaro.org> 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 --- 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