]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: build vdso without libgcov
authorArnd Bergmann <arnd@arndb.de>
Thu, 12 Nov 2015 14:37:12 +0000 (15:37 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 12 Nov 2015 15:18:07 +0000 (15:18 +0000)
commit91e36d52851d5a641fabf4416a5a429456b6da68
treeb8364f375f54a8d0bc8285aa7cb45a77dbd1f763
parent830e329cda892555638eee6d1f82ec77dff3eb8b
arm64: build vdso without libgcov

On a cross-toolchain without glibc support, libgcov may not be
available, and attempting to build an arm64 kernel with GCOV
enabled then results in a build error:

/home/arnd/cross-gcc/lib/gcc/aarch64-linux/5.2.1/../../../../aarch64-linux/bin/ld: cannot find -lgcov

We don't really want to link libgcov into the vdso anyway, so
this patch just disables GCOV in the vdso directory, just as
we do for most other architectures.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/vdso/Makefile