From: Masahiro Yamada Date: Thu, 07 Aug 2014 21:40:17 +0900 Subject: [U-Boot] [PATCH] Makefile: remove generated boards.cfg within make mrproper In-Reply-To: <1407408750-19734-1-git-send-email-roger@bufferoverflow.ch> References: <1407408750-19734-1-git-send-email-roger@bufferoverflow.ch> Message-ID: <20140807214017.96EC.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. With your patch, MAKEALL does not work at all. This is my log of "./MAKEALL" Could not find boards.cfg Generating boards.cfg ... (jobs: 8) 1177/1177 [=======================================================>] Building cmi_mpc5xx board... text data bss dec hex filename 106025 70616 2532 179173 2bbe5 ./u-boot awk: fatal: cannot open file `boards.cfg' for reading (No such file or directory) Building PATI board... make[2]: *** [include/autoconf.mk] Error 1 make[2]: *** [include/autoconf.mk.dep] Error 1 make[1]: *** [silentoldconfig] Error 1 size: './u-boot': No such file /bin/sh: 1: ppc_8xx-gcc: not found /bin/sh: 1: ppc_8xx-gcc: not found make[2]: *** [include/autoconf.mk] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [include/autoconf.mk.dep] Error 1 'make -f /home/yamada/workspace/u-boot-org/scripts/Makefile.autoconf obj=include include/autoconf.mk include/autoconf.mk.dep' Failed make[1]: *** [silentoldconfig] Error 1 make: *** No rule to make target `include/config/auto.conf', needed by `include/config/uboot.release'. Best Regards Masahiro Yamada