Skip to content

misc: Prepend srcroot to referenced header paths#435

Open
martinjlowm wants to merge 10000 commits intohardkernel:odroid-6.6.yfrom
martinjlowm:odroidxu4-6.1.y
Open

misc: Prepend srcroot to referenced header paths#435
martinjlowm wants to merge 10000 commits intohardkernel:odroid-6.6.yfrom
martinjlowm:odroidxu4-6.1.y

Conversation

@martinjlowm
Copy link

Building outside of the project root, requires srcroot to be prepended for paths to resolve to the intended include directories.

This is necessary for something like Nix Linux derivation that sets up a build/ directory and initiates make from it as the working directory.

Reference: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/generic.nix#L168

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.