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=-12.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 6F7E7C4338F for ; Fri, 20 Aug 2021 06:53:15 +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 8561A6101C for ; Fri, 20 Aug 2021 06:53:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8561A6101C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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 DE57081EBD; Fri, 20 Aug 2021 08:53:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="sekRNom1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F129A82C64; Fri, 20 Aug 2021 08:53:09 +0200 (CEST) Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (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 2AD4B81E14 for ; Fri, 20 Aug 2021 08:53:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=heiko.thiery@gmail.com Received: by mail-il1-x12b.google.com with SMTP id r6so8480546ilt.13 for ; Thu, 19 Aug 2021 23:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kgz3Xi0kYp5lIsjwXDDOnsKn1uoqfXHv9AwNTJuJcLM=; b=sekRNom1qeq9smq73OvoGa2nBU2NkDEp/M9P+QZBERJWNIT/uSm7npBYGDynRhpus8 xyjj7FYgUFHgaAdOlFFS4rAVEKjdn2AiFoDypIOAzI00XaPY6fYdHO9bnkhIwAQt2NO2 hVpma6ES+fDJ35Q2crd8EuY72XOIuauX7wQck6cTFI++RjsM4aiVh81/wGR+E2jPA01u Ol0V/ymrtL0Y4oiG7jNvL/qFm224lqvPhjfGWLVDa8Xbu7Gq5q0PlWFtY2j9BVp5+oxk 8bTuvgJb7q+qFItdUTfA+ikfFRqKxgRhF/NO3SR7HXKdPTRv6ycNUPmTdoRiJEX4Gahk 818g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kgz3Xi0kYp5lIsjwXDDOnsKn1uoqfXHv9AwNTJuJcLM=; b=aH0E/ebNh2xl3LQxAXdcwKc30XlmTXr4fJli87Hh/yGcuL+E7NBDmWT4LodFdaK+CQ 5obD2DUOo6PTgX0gpz/ParsQH+EgGZCTHIEI10cGu4Y9Mmiv0Srp6GkjnK66ClhnGYWU ZOs8H2N2fyYarCyYtJ4v7FcbHxoey/0ezVacKrGl9fGj6o4ZtEiSS+qTBO7mZoNKRaF7 Do/H+cScUvlOl3CosMJw+IgVIuEn0y6kpunblSFs44DqRke9J/WxfoNt+rpwNKEwZDAj WxffcrfFiD3rOwJ91aUFahY5D0Cy3pL9tZhSFNs5KY0G/vYLxfJ9Pn4qFfchhFO3vNt4 9gUw== X-Gm-Message-State: AOAM5334GIoemgJatnNZVvaAihrqtuhmiWJ3AI2qWiPz/d8JHtbg7lc0 93IPEIsEk9mJx5rnyBcMgmKQBtn5Kc3TPvIsENY= X-Google-Smtp-Source: ABdhPJxtG5F8SLoffZV0FaFolXeoeegIPQ3l8zbFG95o5fPnUhicwc7Nmcxu5GRUeVQlwb9e0rQx1bi1RLnT9zOmZFM= X-Received: by 2002:a05:6e02:20cc:: with SMTP id 12mr12648182ilq.98.1629442384000; Thu, 19 Aug 2021 23:53:04 -0700 (PDT) MIME-Version: 1.0 References: <20210819192802.2151226-1-festevam@denx.de> <20210819192802.2151226-2-festevam@denx.de> In-Reply-To: From: Heiko Thiery Date: Fri, 20 Aug 2021 08:52:53 +0200 Message-ID: Subject: Re: [PATCH v3 2/2] Makefile: Clean the i.MX8MM artifacts To: Fabio Estevam Cc: sbabic@denx.de, uboot-imx@nxp.com, u-boot@lists.denx.de, hs@denx.de, frieder.schrempf@kontron.de, tharvey@gateworks.com, marcel.ziswiler@toradex.com Content-Type: text/plain; charset="UTF-8" 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 Hi, Am Fr., 20. Aug. 2021 um 07:34 Uhr schrieb Heiko Thiery : > > Hi Fabio, > > Am Do., 19. Aug. 2021 um 21:28 Uhr schrieb Fabio Estevam : > > > > Clean the binaries generated by binman on imx8mm-evk: > > spl.* mkimage*.mkimage imx-boot.* > > > > Reported-by: Frieder Schrempf > > Signed-off-by: Fabio Estevam > > --- > > Changes since v2: > > - None. Newly introducedin this series. > > > > Makefile | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/Makefile b/Makefile > > index 3c8437d21a..7096fdf895 100644 > > --- a/Makefile > > +++ b/Makefile > > @@ -2095,7 +2095,8 @@ CLEAN_FILES += include/bmp_logo.h include/bmp_logo_data.h tools/version.h \ > > boot* u-boot* MLO* SPL System.map fit-dtb.blob* \ > > u-boot-ivt.img.log u-boot-dtb.imx.log SPL.log u-boot.imx.log \ > > lpc32xx-* bl31.c bl31.elf bl31_*.bin image.map tispl.bin* \ > > - idbloader.img flash.bin flash.log defconfig keep-syms-lto.c > > + idbloader.img flash.bin flash.log defconfig keep-syms-lto.c \ > > + spl.* mkimage*.mkimage imx-boot.* > > it might be useful to use one variable for all BINMAN clean files. > Otherwise it is difficult to understand by whom the files were > created. > > Something like that: > > --- a/Makefile > +++ b/Makefile > @@ -2091,12 +2091,14 @@ CLEAN_DIRS += $(MODVERDIR) \ > $(foreach d, spl tpl, $(patsubst %,$d/%, \ > $(filter-out include, $(shell ls -1 $d 2>/dev/null)))) > > +BINMAN_CLEAN_FILES = spl.* mkimage*.mkimage While looking at it a second time, I noticed that itb.fit.fit and itb.fit.itb were also created by binman. -- Heiko