lkml.org 
[lkml]   [2020]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 3/6] selftests: kvm: Use the default linux header path only when INSTALL_HDR_PATH not defined
    Date
    This provides a way for lib.mk or parent Makefile to tell where the
    linux headers are installed.

    Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
    ---
    tools/testing/selftests/kvm/Makefile | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile
    index 504a5fb0fa71..6f08cc512e15 100644
    --- a/tools/testing/selftests/kvm/Makefile
    +++ b/tools/testing/selftests/kvm/Makefile
    @@ -47,7 +47,7 @@ LIBKVM += $(LIBKVM_$(UNAME_M))
    # $(TEST_GEN_PROGS) starts with $(OUTPUT)/
    include ../lib.mk

    -INSTALL_HDR_PATH = $(top_srcdir)/usr
    +INSTALL_HDR_PATH ?= $(top_srcdir)/usr
    LINUX_HDR_PATH = $(INSTALL_HDR_PATH)/include/
    LINUX_TOOL_INCLUDE = $(top_srcdir)/tools/include
    LINUX_TOOL_ARCH_INCLUDE = $(top_srcdir)/tools/arch/x86/include
    --
    2.20.1
    \
     
     \ /
      Last update: 2020-03-25 15:20    [W:4.327 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site