From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28A74C433EF for ; Fri, 17 Sep 2021 16:19:57 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8FF2F60D07 for ; Fri, 17 Sep 2021 16:19:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8FF2F60D07 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4F4898327E; Fri, 17 Sep 2021 18:19:06 +0200 (CEST) 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="bLR9EGlH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BB2EA83222; Fri, 17 Sep 2021 18:18:15 +0200 (CEST) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (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 16CD983255 for ; Fri, 17 Sep 2021 18:17:59 +0200 (CEST) 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-wr1-x42b.google.com with SMTP id u15so16050188wru.6 for ; Fri, 17 Sep 2021 09:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VwQ4h1RvOxlaZWcLvq03ad1bU+HR2aH1F8UiqL4pLxA=; b=bLR9EGlHvqNpU07ffprnPOSsytdIa5ybcOKMTWp/gvCYoDhq/B8Llr+gQrz8JduyRs glPWGJgU/ncxR5JebxB1ZxxynKv/oVpzwb3j4U1ID+YKIMjX35JchTff6XNnvG1sa4ZF yUs/2j0Ls5H3jSsCau4UPTNqESRAFQF5Zs9SU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VwQ4h1RvOxlaZWcLvq03ad1bU+HR2aH1F8UiqL4pLxA=; b=HNRq0KMXvidnuLk4blKEC1E/g07Q7GcnSSqxNpMpGEo7cElZZFC4uKAZKj1nNmOxmu 2FGR968yjrJZ4Q3Ym1wUYrAMSE7antnskyE6PNeSLl1qz7XrA4M1ZsKfCIfoxEzNiofg iz2RQ3iSS6oiU9O5pLv3A8qxCq5gmJBWI4wIwEi6YRE+6fonc8IPgySPV4E8SHOv9c2R kFQfNRZucQ+Gqx6STbZyDPCzcy5CzwT4mTcnddU168Cp63qee+fCRCZ+Zj7W9qy4/Jjp J6JfRG1M13s73hvd2ltqtUjh2Gr6Eohko0FVBZr+T2l5wjaj3knWNYtG6LZsSgPZoElo 0+MA== X-Gm-Message-State: AOAM532BD6yTPSzQJlUcHU/BzF7jiQKWw9gpDClUtbl1IwP/YuQIrkuy LCi2A1iGihdZy3hNQXTX+ceLSLkKMxyqVbEY X-Google-Smtp-Source: ABdhPJwqEOFl6imS79KrG65iud9O36ez+1rF0NaRkIiwXNEb2gIjAfJyQdqf/g9zpC5HtjMMHRelIQ== X-Received: by 2002:a5d:67c8:: with SMTP id n8mr13032467wrw.122.1631895478346; Fri, 17 Sep 2021 09:17:58 -0700 (PDT) Received: from sjg1.COMFAST (host-92-2-168-81.as13285.net. [92.2.168.81]) by smtp.gmail.com with ESMTPSA id 48sm7699906wrc.14.2021.09.17.09.17.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Sep 2021 09:17:57 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Masahiro Yamada , Simon Glass Subject: [PATCH 09/17] serial: Tidy up the Makefile condition for DM_SERIAL Date: Fri, 17 Sep 2021 10:17:32 -0600 Message-Id: <20210917161741.1275871-10-sjg@chromium.org> X-Mailer: git-send-email 2.33.0.309.g3052b89438-goog In-Reply-To: <20210917161741.1275871-1-sjg@chromium.org> References: <20210917161741.1275871-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean There is no need to check for SPL/TPL build again as the 'ifdef' above does this already. Drop it, so that the build rule works with split configs. Signed-off-by: Simon Glass --- drivers/serial/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile index 3cbea8156f8..4b723faf79b 100644 --- a/drivers/serial/Makefile +++ b/drivers/serial/Makefile @@ -5,7 +5,7 @@ ifdef CONFIG_SPL_BUILD -ifeq ($(CONFIG_$(SPL_TPL_)BUILD)$(CONFIG_$(SPL_TPL_)DM_SERIAL),yy) +ifeq ($(CONFIG_$(SPL_TPL_)DM_SERIAL),y) obj-y += serial-uclass.o else obj-y += serial.o -- 2.33.0.309.g3052b89438-goog