Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C can-isotp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Oliver Hartkopp
  • can-isotp
  • Merge requests
  • !5

Makefile: do not run depmod manually

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/gizero/drop-manual-depmod into master Oct 14, 2017
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: gizero

The kernel build infrastructure already runs depmod properly in its modules_install target, doing so in a cross-compilation friendly way. Running it with no arguments is useless and also harmful since it breaks cross-compilation contexts by scanning dependencies on the modules installed on the host instead of those being built for the target.

Patches with similar motivation where accepted by other projects providing external kernel modules and widely used in cross-compilation environments. See i.e. lttng-modules or v4l2loopback as a reference.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/gizero/drop-manual-depmod