Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • tools
  • testing
  • selftests
  • bpf
  • Makefile
Find file BlameHistoryPermalink
  • Björn Töpel's avatar
    selftests/bpf: Pass target triple to get_sys_includes macro · 98b2afc8
    Björn Töpel authored Nov 15, 2022
    
    
    When cross-compiling [1], the get_sys_includes make macro should use
    the target system include path, and not the build hosts system include
    path.
    
    Make clang honor the CROSS_COMPILE triple.
    
    [1] e.g. "ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- make"
    
    Signed-off-by: default avatarBjörn Töpel <bjorn@rivosinc.com>
    Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
    Tested-by: default avatarAnders Roxell <anders.roxell@linaro.org>
    Link: https://lore.kernel.org/bpf/20221115182051.582962-2-bjorn@kernel.org
    98b2afc8
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7