From: Tom Rini Date: Fri, 8 Aug 2014 08:48:55 -0400 Subject: [U-Boot] [PATCH] Makefile: remove generated boards.cfg within make mrproper In-Reply-To: <20140807145347.Horde.Qbsufvw1FVq_dwZfdCCYcA1@mail.meier-kuhn.ch> References: <1407408750-19734-1-git-send-email-roger@bufferoverflow.ch> <20140807214017.96EC.AA925319@jp.panasonic.com> <20140807145347.Horde.Qbsufvw1FVq_dwZfdCCYcA1@mail.meier-kuhn.ch> Message-ID: <20140808124855.GY19374@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Aug 07, 2014 at 02:53:47PM +0000, Roger Meier wrote: > Hi Masahiro > Quoting Masahiro Yamada : > > >Hi Roger, > > > > > > > >On Thu, 7 Aug 2014 12:52:30 +0200 > >Roger Meier wrote: > > > >>Signed-off-by: Roger Meier > >>CC: Masahiro Yamada > >>CC: Wolfgang Denk > >>--- > >> Makefile | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >>diff --git a/Makefile b/Makefile > >>index 666d291..831e091 100644 > >>--- a/Makefile > >>+++ b/Makefile > >>@@ -1221,7 +1221,7 @@ CLOBBER_FILES += u-boot* MLO* SPL System.map > >> # Directories & files removed with 'make mrproper' > >> MRPROPER_DIRS += include/config include/generated spl tpl \ > >> .tmp_objdiff > >>-MRPROPER_FILES += .config .config.old include/autoconf.mk* > >>include/config.h \ > >>+MRPROPER_FILES += .config .config.old boards.cfg > >>include/autoconf.mk* include/config.h \ > >> ctags etags TAGS cscope* GPATH GTAGS GRTAGS GSYMS > >> > >> # clean - Delete most, but leave enough to build external modules > >>-- > >>1.7.10.4 > > > > > > > >NAK. > > > >MAKEALL needs boards.cfg > > > >Before building each board, MAKEALL runs "make distclean" and > >boards.cfg gets lost. > oops, did not recognize that. Thanks! > > > > >With your patch, MAKEALL does not work at all. > How should we ensure that boards.cfg is up-to-date? > What about removing boards.cfg within "make distclean" and use > "make mrproper" within MAKEALL? Sounds good to me. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: