]> git.baikalelectronics.ru Git - kernel.git/commit
mips: vdso: Fix source path
authorVincenzo Frascino <vincenzo.frascino@arm.com>
Fri, 26 Jul 2019 16:29:43 +0000 (17:29 +0100)
committerPaul Burton <paul.burton@mips.com>
Fri, 26 Jul 2019 23:42:27 +0000 (16:42 -0700)
commitf90367c5bb1baa5f9dd6f51b9741e2a0569442f2
treeca020a5a0b93af1d01b4aea7fa6820652f54fbed
parent8274a1da4aa08af4fd57add129499100f7237e1c
mips: vdso: Fix source path

The vdso library for o32 and n32 does not compile compile correctly when
building outside of the source tree due to a wrong inclusion path for
config-n32-o32-env.c resulting in the error below:

cc1: fatal error: arch/mips/vdso/config-n32-o32-env.c:
No such file or dnirectory
compilation terminated.
arch/mips/vdso/Makefile:153: recipe for target
'arch/mips/vdso/vgettimeofday-o32.o' failed
make[3]: *** [arch/mips/vdso/vgettimeofday-o32.o] Error 1
scripts/Makefile.build:490: recipe for target 'arch/mips/vdso' failed

Fix the config-n32-o32-env.c inclusion path prepending the $(srctree)
variable.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
[paul.burton@mips.com: Note that this occurs specifically when building
                       outside of the source tree.]
Signed-off-by: Paul Burton <paul.burton@mips.com>
arch/mips/vdso/Makefile