Message ID | 20230222163425.2043934-23-sjg@chromium.org |
---|---|
State | Accepted |
Commit | 05a8e1a44711263a8fd6c39267e57f3d21480a79 |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=XuDzOPcE; dkim-atps=neutral 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 (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PMMPW5JfHz23yZ for <incoming@patchwork.ozlabs.org>; Thu, 23 Feb 2023 03:41:51 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 480DA85B5B; Wed, 22 Feb 2023 17:36:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="XuDzOPcE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9559A85B08; Wed, 22 Feb 2023 17:35:52 +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,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (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 2188585B1F for <u-boot@lists.denx.de>; Wed, 22 Feb 2023 17:35:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd2b.google.com with SMTP id v10so739673iox.8 for <u-boot@lists.denx.de>; Wed, 22 Feb 2023 08:35:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; 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=eQ3t3ecNRLccqBweSm2SacWiCZwYG9F9Ad4fQDJJLII=; b=XuDzOPcEYE4qOMen+pG7CLU5m121ud/1Emi24Vbl7/vR7bUQNIdL4Rf1jCMr2f2Fxt FotM68ZRhqLXcVR9AtNEnp8LtzcwnwBtf3vSNPSSug4LC3LV+XZ4b5i1Qqj+32GPBGqF U4xwD72xKBOxVF2xOVV7WbZIFSo6vgc5ZqH/s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=eQ3t3ecNRLccqBweSm2SacWiCZwYG9F9Ad4fQDJJLII=; b=uo+HMJZW3P7x1lgpnoNKmZ19oJy0zuhhYyr7h+hWPjy/EJVtTBML1MruLxkxC4bWGZ vgeMV7s965RIB0lKLSJmbB6eGriH5efmkFdXgbNcJ2yicMNdziJUgesf0SRkpLyBSpef KUVAP7OAkOTFUVdJXcPLNlLfurFaiFk8gxHqHS9p0RXQUqSwBXiUyWseu1VcU+PdHmD+ YmCIpVN+N76gOZY/Ks4UHpjBdTmRF1aglJinkUZZvKyXYlWKFI9e1ZEpZ75t83/S0rc3 H5FhO1CcKOwNchQOqmAfPZvN3p6sb+fuOh7x2ZmeWmOnPSS2vu+oRa58ZRi7fWcHZhz5 2TnA== X-Gm-Message-State: AO0yUKXZT0KdmCAT1IV0BriJ+9r7HMmRjLXJL6DS9/xTfuJfZUULgTvP ScLaqGmyJORqhfyMzf0msyQidXFyjcNZI2Lw X-Google-Smtp-Source: AK7set/p6ZymUXJerABKEIhCkJuOfEIh5T75NZRGumdUu0duM17cHIzggT4uusNeytxybL3OccD8LA== X-Received: by 2002:a5d:914a:0:b0:740:694b:54c4 with SMTP id y10-20020a5d914a000000b00740694b54c4mr5051547ioq.8.1677083700584; Wed, 22 Feb 2023 08:35:00 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id z26-20020a056602005a00b00716eb44b97esm2164541ioz.27.2023.02.22.08.34.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 08:35:00 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>, Kautuk Consul <kconsul@ventanamicro.com>, =?utf-8?q?Pali_Roh=C3=A1r?= <pali@kernel.org>, Philippe Reynes <philippe.reynes@softathome.com>, Stefan Roese <sr@denx.de>, Sughosh Ganu <sughosh.ganu@linaro.org> Subject: [PATCH v5 22/44] lib: Fix build condition for tiny-printf Date: Wed, 22 Feb 2023 09:34:03 -0700 Message-Id: <20230222163425.2043934-23-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-goog In-Reply-To: <20230222163425.2043934-1-sjg@chromium.org> References: <20230222163425.2043934-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
More tidy-ups of Kconfig options
|
expand
|
On Wed, Feb 22, 2023 at 09:34:03AM -0700, Simon Glass wrote: > This should be checking for any SPL build. Drop the use of SPL_TPL_ since > it is not necessary and will not work with split config. > > Signed-off-by: Simon Glass <sjg@chromium.org> Applied to u-boot/next, thanks!
diff --git a/lib/Makefile b/lib/Makefile index a282e40258c..10aa7ac0298 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -127,7 +127,7 @@ obj-$(CONFIG_LIB_UUID) += uuid.o obj-$(CONFIG_LIB_RAND) += rand.o obj-y += panic.o -ifeq ($(CONFIG_$(SPL_TPL_)BUILD),y) +ifeq ($(CONFIG_SPL_BUILD),y) # SPL U-Boot may use full-printf, tiny-printf or none at all ifdef CONFIG_$(SPL_TPL_)USE_TINY_PRINTF obj-$(CONFIG_$(SPL_TPL_)SPRINTF) += tiny-printf.o
This should be checking for any SPL build. Drop the use of SPL_TPL_ since it is not necessary and will not work with split config. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)