1
0
Fork 0
alistair23-linux/arch/arm/vdso
Nathan Lynch f80f6531b4 ARM: 8344/1: VDSO: honor CONFIG_VDSO in Makefile
When CONFIG_VDSO=n, the build normally does not enter arch/arm/vdso/
because arch/arm/Makefile does not add it to core-y.

However, if the user runs 'make arch/arm/vdso/' the VDSO targets will
get visited.  This is because the VDSO Makefile itself does not
consider the value of CONFIG_VDSO.

It is arguably better and more consistent behavior to generate an
empty built-in.o when CONFIG_VDSO=n and the user attempts to build
arch/arm/vdso/.  It's nicer because it doesn't try to build things
that Kconfig dependencies are there to prevent (e.g. the dependency on
AEABI), and it's less confusing than building objects that won't be
used in the final image.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2015-04-21 15:28:02 +01:00
..
.gitignore ARM: 8343/1: VDSO: add build artifacts to .gitignore 2015-04-21 15:27:53 +01:00
Makefile ARM: 8344/1: VDSO: honor CONFIG_VDSO in Makefile 2015-04-21 15:28:02 +01:00
datapage.S ARM: 8330/1: add VDSO user-space code 2015-03-27 22:20:45 +00:00
vdso.S ARM: 8330/1: add VDSO user-space code 2015-03-27 22:20:45 +00:00
vdso.lds.S ARM: 8330/1: add VDSO user-space code 2015-03-27 22:20:45 +00:00
vdsomunge.c ARM: 8330/1: add VDSO user-space code 2015-03-27 22:20:45 +00:00
vgettimeofday.c ARM: 8330/1: add VDSO user-space code 2015-03-27 22:20:45 +00:00