[U-Boot] [PATCH] Makefile: remove generated boards.cfg within make mrproper

Tom Rini trini at ti.com
Fri Aug 8 14:48:55 CEST 2014


On Thu, Aug 07, 2014 at 02:53:47PM +0000, Roger Meier wrote:
> Hi Masahiro
> Quoting Masahiro Yamada <yamada.m at jp.panasonic.com>:
> 
> >Hi Roger,
> >
> >
> >
> >On Thu,  7 Aug 2014 12:52:30 +0200
> >Roger Meier <roger at bufferoverflow.ch> wrote:
> >
> >>Signed-off-by: Roger Meier <roger at bufferoverflow.ch>
> >>CC: Masahiro Yamada <yamada.m at jp.panasonic.com>
> >>CC: Wolfgang Denk <wd at denx.de>
> >>---
> >> 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: <http://lists.denx.de/pipermail/u-boot/attachments/20140808/6f276e3f/attachment.pgp>


More information about the U-Boot mailing list