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
  • linux
  • scripts
  • Makefile.headersinst
Find file BlameHistoryPermalink
  • Nicolas Dichtel's avatar
    kbuild: fix make headers_install when path is too long · c0ff68f1
    Nicolas Dichtel authored Apr 29, 2013
    
    
    If headers_install is executed from a deep/long directory structure, the
    shell's maximum argument length can be execeeded, which breaks the operation
    with:
    
    | make[2]: execvp: /bin/sh: Argument list too long
    | make[2]: ***
    
    Instead of passing each files name with the entire path, I give only the file
    name without the source path and give this path as a new argument to
    headers_install.pl.
    
    Because there is three possible paths, I have tree input-files list, one per
    path.
    
    Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
    Tested-by: default avatarBruce Ashfield <bruce.ashfield@windriver.com>
    Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
    c0ff68f1
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7