From patchwork Mon Jan 27 08:04:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Rossi X-Patchwork-Id: 1229616 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nathanrossi.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nathanrossi.com header.i=@nathanrossi.com header.a=rsa-sha256 header.s=google header.b=fbG/ARVm; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 485j3D2v8Mz9sR1 for ; Mon, 27 Jan 2020 19:05:12 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D32F581819; Mon, 27 Jan 2020 09:05:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=nathanrossi.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nathanrossi.com header.i=@nathanrossi.com header.b="fbG/ARVm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3DF8F817EB; Mon, 27 Jan 2020 09:05:05 +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=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) (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 A6DD3817EB for ; Mon, 27 Jan 2020 09:05:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nathanrossi.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=nathan@nathanrossi.com Received: by mail-pf1-x441.google.com with SMTP id p14so4553728pfn.4 for ; Mon, 27 Jan 2020 00:05:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nathanrossi.com; s=google; h=date:message-id:from:to:cc:subject:content-transfer-encoding :mime-version; bh=CT+fAuWljggGKxhPt7yOcreCyimXz1ID0WuJoJklpf8=; b=fbG/ARVmBhHE60j5MJ/XoC7HKNHAkBZAGEXmBtjJhy6OddPT16/eQqWG+WUDzy5Lfm bE+xVoBhoU6/NyXKMW/v7G4inczv4p4DG7MV9GkfQHKsD1BNiX1WgGlnAup2e3zx4m4q zl1NFWkTJCZYFnJMrO9jrSksyMiz4gahK0bAb4It1J/6q2pT4TBewKcFZYooUrKl7l4b LNja4/qJsl/5vpuycS0IxmaqAhVRvrR0aoXCWRP2IeoSngxC3KG6EjTBXAaKtjmo6ku9 8kFAG1zpOUx3HI7imqacFeoiyXI3SFZvhEgnHQtvsrLerAShBi3T1HUZ1j33lmur7l0R wUEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:from:to:cc:subject :content-transfer-encoding:mime-version; bh=CT+fAuWljggGKxhPt7yOcreCyimXz1ID0WuJoJklpf8=; b=DeKmchgEwOKxo47UAlWTcAM9a11YmwS55lZGv8hny4ZyEw2I5I+Q1s5pghd5yIFsPW gBRVlhsb5SJ292SAy2gii78NPonmz7f/94c5YJKnI3i/mHAeWk5btXglvhj7GxGVtG2q VDMPUKc6tdrCHr9d16k+OgeNtRToQFVjo/PUD/q3mzhoS1YGV8PBuaxdGBtUPU7s5ZcU J+LeppZFYawVLRSqycKj/9w2ZuIFk7XnZ54Jh3HPM3sVtWQRtfuuiVQ8xu65S2WMnLjl AFoCTnb0Xvwrg5GbBV5uygyrQZas9Jw+CO85VlybR9e8zLgys8q6A0tcCy4cWwo1WYxh uvww== X-Gm-Message-State: APjAAAWbHWEdlonkhk7T6z+snnUAzzLM0bMNPi4SGqt2xWj5XB6AKoTa rRl53ivqZh7wCi1Q7OdIaIWwyMRBE4I= X-Google-Smtp-Source: APXvYqy7KESEuLqi7w8ApONV7zNCX3XBDq3kE951K9NrTWc7+lA5vf2B3kl4qgAD3MA6Q2YsrF/qLA== X-Received: by 2002:a63:496:: with SMTP id 144mr18942503pge.207.1580112299437; Mon, 27 Jan 2020 00:04:59 -0800 (PST) Received: from [127.0.1.1] ([101.184.34.74]) by smtp.gmail.com with UTF8SMTPSA id 100sm14558931pjo.17.2020.01.27.00.04.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2020 00:04:58 -0800 (PST) Date: Mon, 27 Jan 2020 08:04:53 +0000 Message-Id: <20200127080453.413719-1-nathan@nathanrossi.com> From: Nathan Rossi To: u-boot@lists.denx.de Subject: [PATCH] cmd: Handle CONFIG_(SPL_)ENV_SUPPORT for toggling the nvedit object MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 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.101.4 at phobos.denx.de X-Virus-Status: Clean When CONFIG_SPL_ENV_SUPPORT is disabled, nvedit was still being included as part of the build. Use the CONFIG_SPL_ENV_SUPPORT value as well as the non SPL CONFIG_ENV_SUPPORT variable to enable/disable the inclusion of nvedit. Signed-off-by: Nathan Rossi --- cmd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 2.24.1 diff --git a/cmd/Makefile b/cmd/Makefile index 4f29b72c69..90dc09d095 100644 --- a/cmd/Makefile +++ b/cmd/Makefile @@ -186,7 +186,7 @@ endif # !CONFIG_SPL_BUILD obj-$(CONFIG_$(SPL_)CMD_TLV_EEPROM) += tlv_eeprom.o # core command -obj-y += nvedit.o +obj-$(CONFIG_$(SPL_)ENV_SUPPORT) += nvedit.o obj-$(CONFIG_TI_COMMON_CMD_OPTIONS) += ti/