Message ID | 20230206190550.1692420-37-sjg@chromium.org |
---|---|
State | RFC |
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=kQY0/0P8; 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 4P9bYg5H00z23y2 for <incoming@patchwork.ozlabs.org>; Tue, 7 Feb 2023 06:15:03 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 185D785FA9; Mon, 6 Feb 2023 20:11:26 +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="kQY0/0P8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 07E9085C41; Mon, 6 Feb 2023 20:09:38 +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=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (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 9787885A51 for <u-boot@lists.denx.de>; Mon, 6 Feb 2023 20:09:18 +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-il1-x12e.google.com with SMTP id m15so5084063ilh.9 for <u-boot@lists.denx.de>; Mon, 06 Feb 2023 11:09:18 -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=GJu7oqe2DEjL5I5K7paWlGyF68LvNT01f9avNNDfiKM=; b=kQY0/0P8uDh75seSbJ5J3cWsJBEEX/4faxvsGe+qlSJXAoA/nS19LwvM+iM3HdMrxN hKBhDqhKRqYg9BJwyGx3sKK24g/Kkp030tXISJsp6JnF13tQHxVuNuY5m9edqxALY4eW emomq4OXyxTljtSra2Z+JPQi6sv0qbrxm4M74= 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=GJu7oqe2DEjL5I5K7paWlGyF68LvNT01f9avNNDfiKM=; b=EeN1XlzblgaumKBYk1GUgkrOsv/5zvMMHmgpP0FydHwP+fpeWrVnbEf4hUjFQQWNO5 Q1o5OrJhMds9H+TVDVwW/xTtnxSsLjiSfafQS9DFLrsm6oVcBSF96YgXdN7t4oMm5elN 0VKK5WJkOXIkBZ9QmDc2ioIC12eix/BzdmjIEuhItEtOG3ZJmZr6GSTa+eHB6pZI8kBb ZDfwW0pE0VlyB1bpAxyIxFHBRJBaZgZaxcI04EEifQDBQI52Y19WCcR2e+WTKMTsygWw 2VWpVwW5ZzqBJEld/WTYzmD5hOZFPnTCZY8MJ5wT5OQKAceaztN2gh0VdB1KYPG4QPRj hxUA== X-Gm-Message-State: AO0yUKVj8sWhcDxqLOIUpKE9JmWhHUWRa0aUCo8L4Lp5c1WO3bS4VLbY 7WeqsSacYbDL31PyLc5/gcUnXtjTrKlsgJQV X-Google-Smtp-Source: AK7set8pIIriNpOPvIAT9sgLfLwdsY/ZW/LzrF/Z2sXAGq1RStFlyTfAwbdpQvbBoBG/7LeYHuWM5Q== X-Received: by 2002:a05:6e02:1b09:b0:313:cc6b:4184 with SMTP id i9-20020a056e021b0900b00313cc6b4184mr305226ilv.16.1675710558071; Mon, 06 Feb 2023 11:09:18 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:34e9:6977:1cac:fd32]) by smtp.gmail.com with ESMTPSA id t24-20020a028798000000b00375a885f908sm749878jai.36.2023.02.06.11.09.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Feb 2023 11:09:17 -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> Subject: [PATCH v3 36/81] lib: Fix build condition for tiny-printf Date: Mon, 6 Feb 2023 12:05:04 -0700 Message-Id: <20230206190550.1692420-37-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230206190550.1692420-1-sjg@chromium.org> References: <20230206190550.1692420-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 |
RFC: Migrate to split config
|
expand
|
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(-)