mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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: f188d0524d ("powerpc: Use the new post-link pass to check relocations")
Reported-by: Mircea Pop <[email protected]>
Signed-off-by: Horia Geantă <[email protected]>
Tested-by: Justin M. Forbes <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
This commit is contained in:
parent
c374ed27c9
commit
24e0bfbf63
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
|||
PHONY := __archpost
|
||||
__archpost:
|
||||
|
||||
include include/config/auto.conf
|
||||
-include include/config/auto.conf
|
||||
include scripts/Kbuild.include
|
||||
|
||||
quiet_cmd_relocs_check = CHKREL $@
|
||||
|
|
|
|||
Loading…
Reference in a new issue