Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 0BC71C433F5 for ; Sun, 3 Apr 2022 23:17:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A781783931; Mon, 4 Apr 2022 01:17:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1649027848; bh=ebiJE4VDQyvgPhv/8FY+7FHJ0s4XwwPKTC2y3xk0rVY=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=IoDsHaljXqH8pYCDRf+dVagvaZcLMOHD+DQ8/sG6Ls1/WhF7wzXEjkHY4rZZh7Qbu m1w9XcE50H8Rtjs2/XIMrEwvXYz8aQ6Ao0yEUImEhy8U6ErWBtLhICcLJyo40Hou+n xeEyYcJCI41B3FD3lch2m3Tuq7AASwwb/a7+VYFyx7VAU8ttuxcpMaR58IEMH2EfC6 FcOVsFi/zYD5d8NqbV0mFLR6RUfvioBQlKcGodkSTFWq85+auIHtqJ3/RjBjXbpV4g FJwl8tgGW+X+C9S29hSqeFbFrz90Nl1DkKaULeyiz8pkksm+bC7L323EIHZqEWrUQz qDa5/Uw9l+Jvw== Received: from tr.lan (ip-89-176-112-137.net.upcbroadband.cz [89.176.112.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 1C98B80A38; Mon, 4 Apr 2022 01:17:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1649027845; bh=ebiJE4VDQyvgPhv/8FY+7FHJ0s4XwwPKTC2y3xk0rVY=; h=From:To:Cc:Subject:Date:From; b=jEl9HlAoDPUCrFVS6JEUjgrl3Fk991my56SrsNjKeozIdSo0omJFCcOmCbdWWVh2T yXLPP3egfZHnxEcwmCObJGG01rE95FMPnQAoBpjXrzB+ingiXK9VhyOulevZM0omae 8I7ulCHvG6CqUvHzbzEsXtup6BnxLPnY6zehOEktB7a0/Gk5QRYt9hMwEEIKk7nN4l /EdJqY4488L0khaer6oSBuJAMeq2ihjeD4nv9WfSl3DIZjbkn/VwF1h87aRjgzfCi0 2rmQn1iS+TYU+Kdt3uU89sRcgJtiX8mjRUahdXJjAEInrZ1VdaRHoJ0VhNkctoo/Hd rynlgCoZ4elFw== From: Marek Vasut To: u-boot@lists.denx.de Cc: Marek Vasut , Sean Anderson , Simon Glass , Tom Rini Subject: [PATCH] env: Fix avoid using a leftover text-environment file Date: Mon, 4 Apr 2022 01:17:12 +0200 Message-Id: <20220403231712.693390-1-marex@denx.de> X-Mailer: git-send-email 2.35.1 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 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.5 at phobos.denx.de X-Virus-Status: Clean Clean build ends up generating the following error, add -f switch to rm to mitigate it: " rm: cannot remove 'include/generated/env.in': No such file or directory " Fixes: f432eb6d8a9 ("env: Avoid using a leftover text-environment file") Cc: Sean Anderson Cc: Simon Glass Cc: Tom Rini --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4672147318e..868445bf33c 100644 --- a/Makefile +++ b/Makefile @@ -1846,7 +1846,7 @@ quiet_cmd_gen_envp = ENVP $@ -I$(srctree)/arch/$(ARCH)/include \ $< -o $@; \ else \ - rm $@; \ + rm -f $@; \ touch $@ ; \ fi include/generated/env.in: include/generated/env.txt FORCE -- 2.35.1