From: Matt Fleming Date: Tue, 28 Feb 2012 13:37:23 +0000 (+0000) Subject: x86, boot: Restrict CFLAGS for hostprogs X-Git-Tag: v3.4-rc1~152^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d40f833630a1299fd377408dc8d8fac370d621b0;p=pandora-kernel.git 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 Signed-off-by: Matt Fleming Link: http://lkml.kernel.org/r/1330436245-24875-5-git-send-email-matt@console-pimps.org Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed