powerpc: fix distclean with Makefile.postlink

Michael Ellerman patch-notifications at ellerman.id.au
Mon May 15 15:06:45 AEST 2017


On Mon, 2017-05-08 at 08:50:16 UTC, =?utf-8?q?Horia_Geant=C4=83?= wrote:
> 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")
> Reported-by: Mircea Pop <mircea.pop at nxp.com>
> Signed-off-by: Horia Geantă <horia.geanta at nxp.com>
> Tested-by: Justin M. Forbes <jforbes at fedoraproject.org>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/24e0bfbf63bac18495b0ad76115269

cheers


More information about the Linuxppc-dev mailing list