• Mathieu Desnoyers's avatar
    selftests: memfd: Use installed kernel headers search path · a24ebb49
    Mathieu Desnoyers authored
    Use $(KHDR_INCLUDES) as lookup path for installed kernel headers rather
    than using kernel headers in include/uapi from the source kernel tree
    kernel headers.
    
    Remove bogus ../../../../include/ from the search path, because
    kernel source headers are not needed by those user-space selftests, and
    it causes issues because -I paths are searched before -isystem paths,
    and conflicts for files appearing both in kernel sources and in uapi
    headers with incompatible semantics (e.g. types.h).
    Signed-off-by: default avatarMathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Shuah Khan <shuah@kernel.org>
    Cc: linux-kselftest@vger.kernel.org
    Cc: Ingo Molnar <mingo@redhat.com>
    Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
    a24ebb49
Makefile 700 Bytes