]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Allow generating user-space headers without a compiler
authorBen Hutchings <ben@decadent.org.uk>
Wed, 29 Aug 2018 19:43:17 +0000 (20:43 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 31 Aug 2018 15:08:22 +0000 (17:08 +0200)
commitd62c2086a0a9a51258b24421cefe0c61be4d93ab
tree88ce51cc7bcf33e82882aec78a7f2e2350a7608e
parent2a5b6d6f2cff4bc2b6f9d9a003c651a08ea91777
x86: Allow generating user-space headers without a compiler

When bootstrapping an architecture, it's usual to generate the kernel's
user-space headers (make headers_install) before building a compiler.  Move
the compiler check (for asm goto support) to the archprepare target so that
it is only done when building code for the target.

Fixes: 6b7836651e59 ("x86: Force asm-goto")
Reported-by: Helmut Grohne <helmutg@debian.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20180829194317.GA4765@decadent.org.uk
arch/x86/Makefile