[U-Boot] "make clean" not traversing into board-specific directories?

Fabio Estevam festevam at gmail.com
Fri May 13 22:50:59 CEST 2016


Hi Jörg,

On Fri, May 13, 2016 at 1:57 PM,
<Joerg.Scheuermann at continental-corporation.com> wrote:
> Hello,
>
> I am using u-boot 2015.04 and have a mechanism implemented in the
> board-specific Makefile for our board,
> which uses xsltproc to generate header-files from xml input files - this
> part is working by now.
>
> what is still not working is the removal of those generated files upon
> calling "make clean",
> and after some initial inspection I found out, that the board-specific
> directories are completely ignored when calling "make clean"!
>
> - why is that the case, can't those directories not also be visited when
> cleaning things up?

It works fine for me.

I built mx7dsabresd_defconfig with mainline U-boot and after that I see:

ls board/freescale/mx7dsabresd/
built-in.o    imximage.cfg.cfgtmp  MAINTAINERS  mx7dsabresd.c
mx7dsabresd.o
imximage.cfg  Kconfig              Makefile     mx7dsabresd.su

Then after a 'make clean'

ls board/freescale/mx7dsabresd/
imximage.cfg  Kconfig  MAINTAINERS  Makefile  mx7dsabresd.c

,which worked as expected.


More information about the U-Boot mailing list