Skip to content
Commit 24e0bfbf authored by Horia Geantă's avatar Horia Geantă Committed by Michael Ellerman
Browse files

powerpc: Fix distclean with Makefile.postlink



Makefile.postlink always includes include/config/auto.conf, however
this file is not present in a clean kernel tree, causing make to fail:

  $ git clone linuxppc.git
  $ cd linuxppc.git
  $ make distclean
  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

Equally running 'make distclean; make distclean' will trip the error case.

Change the inclusion such that file not being found does not trigger an error.

Fixes: f188d052 ("powerpc: Use the new post-link pass to check relocations")
Reported-by: default avatarMircea Pop <mircea.pop@nxp.com>
Signed-off-by: default avatarHoria Geantă <horia.geanta@nxp.com>
Tested-by: default avatarJustin M. Forbes <jforbes@fedoraproject.org>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent c374ed27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment