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

Fabio Estevam
2016-05-13T20:50:59Z

Hi J?rg,

On Fri, May 13, 2016 at 1:57 PM,
<Joerg.Scheuermann@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.