UBUNTU: SAUCE: headers_install: fix #include "..." usage for userspace
authorAndy Whitcroft <apw@canonical.com>
Fri, 16 Sep 2011 12:20:31 +0000 (13:20 +0100)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 2 Apr 2012 20:12:21 +0000 (13:12 -0700)
commit910a63982a6b0f55f778f5fab70a0e46295ed29d
treef280721d9aed57830afb52670ad958c83b512613
parent83c5615e3d780ea208b6e54c2e88132ccbf9ac78
UBUNTU: SAUCE: headers_install: fix #include "..." usage for userspace

When headers are converted to userspace headers they may include
relative includes.  For example x86 has the following in its
asm/posix_types.h:

    # ifdef __i386__
    #  include "posix_types_32.h"
    # else
    #  include "posix_types_64.h"
    # endif

However this is not safe in the face of the gcc option -I- which removes
"the directory the file I am being included from" from the search list.

Convert these references to <dir/...> form avoiding this.

BugLink: http://bugs.launchpad.net/bugs/824377
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
scripts/Makefile.headersinst
scripts/headers_install.pl