• Paul Gortmaker's avatar
    Documentation/prctl: don't build tsc tests when cross compiling · f59514b6
    Paul Gortmaker authored
    The following was seen in linux-next build coverage, which is somewhat
    unique since it uses powerpc host to cross compile x86:
    
    Documentation/prctl/disable-tsc-on-off-stress-test.c:36:1: error:
     impossible register constraint in 'asm'
    Documentation/prctl/disable-tsc-ctxt-sw-stress-test.c:34:1: error:
     impossible register constraint in 'asm'
    Documentation/prctl/disable-tsc-test.c:36:1: error: impossible
     register constraint in 'asm'
    
    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: Erik Bosman <ejbosman@cs.vu.nl>
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
    f59514b6
Makefile 434 Bytes