[PATCH] powerpc: fix distclean with Makefile.postlink

Michael Ellerman mpe at ellerman.id.au
Mon May 8 21:57:48 AEST 2017


Horia Geantă <horia.geanta at nxp.com> writes:

> Makefile.postlink always includes include/config/auto.conf, however
> this file is not present in a clean kernel tree, causing make to fail:
>
> arch/powerpc/Makefile.postlink:10: include/config/auto.conf: No such file or directory
> make[1]: *** No rule to make target `include/config/auto.conf'.  Stop.
> make: *** [vmlinuxclean] Error 2
>
> Change the inclusion such that file not being found does not trigger
> an error.
>
> Fixes: f188d0524d7e ("powerpc: Use the new post-link pass to check relocations")

I can't reproduce this. What exact steps are you doing? And what version
of Make?

cheers


More information about the Linuxppc-dev mailing list