Skip to content
Commit d40f8336 authored by Matt Fleming's avatar Matt Fleming Committed by H. Peter Anvin
Browse files

x86, boot: Restrict CFLAGS for hostprogs



Currently tools/build has access to all the kernel headers in
$(srctree). This is unnecessary and could potentially allow
tools/build to erroneously include kernel headers when it should only
be including userspace-exported headers.

Unfortunately, mkcpustr still needs access to some of the asm kernel
headers, so explicitly special case that hostprog.

Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
Link: http://lkml.kernel.org/r/1330436245-24875-5-git-send-email-matt@console-pimps.org


Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 12871c56
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment