Skip to content

Commit 24e0bfb

Browse files
horiagmpe
authored andcommitted
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: f188d05 ("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]>
1 parent c374ed2 commit 24e0bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/Makefile.postlink

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
PHONY := __archpost
88
__archpost:
99

10-
include include/config/auto.conf
10+
-include include/config/auto.conf
1111
include scripts/Kbuild.include
1212

1313
quiet_cmd_relocs_check = CHKREL $@

0 commit comments

Comments
 (0)