public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.m@jp.panasonic.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Makefile: remove generated boards.cfg within make mrproper
Date: Thu, 07 Aug 2014 21:40:17 +0900	[thread overview]
Message-ID: <20140807214017.96EC.AA925319@jp.panasonic.com> (raw)
In-Reply-To: <1407408750-19734-1-git-send-email-roger@bufferoverflow.ch>

Hi Roger,



On Thu,  7 Aug 2014 12:52:30 +0200
Roger Meier <roger@bufferoverflow.ch> wrote:

> Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
> CC: Masahiro Yamada <yamada.m@jp.panasonic.com>
> CC: Wolfgang Denk <wd@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.

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

  reply	other threads:[~2014-08-07 12:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-07 10:52 [U-Boot] [PATCH] Makefile: remove generated boards.cfg within make mrproper Roger Meier
2014-08-07 12:40 ` Masahiro Yamada [this message]
2014-08-07 14:53   ` Roger Meier
2014-08-08 12:48     ` Tom Rini
2014-08-10 12:37       ` [U-Boot] [PATCH v2] Makefile: remove generated boards.cfg within make distclean Roger Meier
2014-08-11 22:52         ` Masahiro YAMADA
2014-08-12 14:37           ` Simon Glass
2014-08-18  4:23         ` Masahiro Yamada
2014-08-19 23:13         ` [U-Boot] [PATCH v3] " Roger Meier
2014-08-20  1:06           ` Masahiro Yamada
2014-08-20 20:10           ` [U-Boot] [PATCH v4] " Roger Meier
2014-08-22  6:30             ` Masahiro Yamada
2014-08-23 12:43             ` [U-Boot] [U-Boot, " Tom Rini
2014-08-09  0:19     ` [U-Boot] [PATCH] Makefile: remove generated boards.cfg within make mrproper Masahiro YAMADA

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140807214017.96EC.AA925319@jp.panasonic.com \
    --to=yamada.m@jp.panasonic.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox