[U-Boot] [PATCH] Makefile: remove generated boards.cfg within make mrproper
Roger Meier
roger at bufferoverflow.ch
Thu Aug 7 16:53:47 CEST 2014
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?
best!
-roger
>
>
>
> 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
More information about the U-Boot
mailing list