summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/linkage.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-12-03 11:55:55 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-12-06 08:10:15 +0300
commite41b93a6be57e26a4a123345f826a6ac3a213551 (patch)
tree46a9c29fed47c472eef8a2a951cef5baab281fc3 /arch/powerpc/include/asm/linkage.h
parentbf3d6afbb234156749b640b6c50f714967a85964 (diff)
downloadlinux-e41b93a6be57e26a4a123345f826a6ac3a213551.tar.xz
powerpc/boot: Fix build failures with -j 1
In commit 5e9dcb6188a4 ("powerpc/boot: Expose Kconfig symbols to wrapper") we added a dependency to serial.c on autoconf.h: $(obj)/serial.c: $(obj)/autoconf.h This works when building in-tree (ie. with KBUILD_OUTPUT unset) because the obj tree is the src tree. But when building with eg. O=build and -j 1 the build fails: gcc ... -I../arch/powerpc/boot -c -o arch/powerpc/boot/serial.o arch/powerpc/boot/serial.c gcc: error: arch/powerpc/boot/serial.c: No such file or directory Why this is only happening with -j 1 is not clear, when building with -j greater than 1 somehow we decide to look for serial.c in the src tree (../), eg: gcc -I../arch/powerpc/boot -c -o arch/powerpc/boot/serial.o ../arch/powerpc/boot/serial.c Regardless we shouldn't be specifying a dependency on serial.c in the build tree, we want to add a dependency to the version in $(srctree) so fix the rule to say that. Fixes: 5e9dcb6188a4 ("powerpc/boot: Expose Kconfig symbols to wrapper") Tested-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/linkage.h')
0 files changed, 0 insertions, 0 deletions