-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support parallel build trees (VPATH builds) #2378
Conversation
@FransUrbo Can you rebase this on master and repush it so we can get it tested. |
Since we changed the default location for the kernel headers to respect --prefix in the SPL, we must search that location to prevent user builds from breaking. Signed-off-by: Richard Yao <[email protected]>
@behlendorf Could we get something like this in before 0.6.5? |
Sure if we can get patches we're happy with. I recall we ran in to some issues last time we looked at this. |
I've reopened and refreshed this. "Works for me", although I have yet to figure out how to run With this, we technically don't need any |
@FransUrbo can you rebase this branch on master and force update it to trigger the automated testing. |
Support 'out of tree' builds by adding the 'src' and 'obj' variables and removing the absolute path to the build results to the Makefile.in files below the module directory. Signed-off-by: Turbo Fredriksson <[email protected]> Closes openzfs#1082
Thought I did, but apparently not. I've done that now. |
Refreshed, slightly modified, and merged as: 47a4a6f Support parallel build trees (VPATH builds) |
Add VPATH to make sure it's possible in a different directory and not
clutter the source with build results (such as Makefiles, *.o and *.a
files etc).
See openzfs/spl#362 for SPL part of the fix.
Closes: #1082