Documentation/vDSO: don't build tests when cross compiling
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 21 Jun 2015 01:10:28 +0000 (21:10 -0400)
committerJonathan Corbet <corbet@lwn.net>
Mon, 22 Jun 2015 22:04:57 +0000 (16:04 -0600)
commit6a407a81a9abcf6664698b22e70d070605063f7c
treed1941d5c69c33136a3609e6c3e9dfa9114fb5eb0
parente368c7291f20c624cfc202a8ad836d6de54c0c24
Documentation/vDSO: don't build tests when cross compiling

The following was seen in linux-next build coverage, which is somewhat
unique since it uses powerpc host to cross compile x86:

Documentation/vDSO/vdso_standalone_test_x86.c:49:2: error: impossible
register constraint in 'asm'
make[4]: *** [Documentation/vDSO/vdso_standalone_test_x86.o] Error 1

It probably makes sense to just skip building these tests when
we are cross compiling.

Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/vDSO/Makefile