-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
clutter the source with build results (such as Makefiles, *.o and *.a files etc). Closes: openzfs/zfs#1082
- Loading branch information
There are no files selected for viewing
5 comments
on commit d767f60
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, some site I found said that you're not allowed to do that. Some makes can't handle that or something. It needs to be a static value...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I stand corrected! It's hard to argue with the autoconf manual. However that same page says we shouldn't need to set VPATH at all...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know! It's very weird.... Maybe it's the other stuff that I removed (the $(top_srcdir)/......
that actually made it work? :). I'll do another couple of tests and see if I could skip the VPATH part...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, it turns out the userland already supports out of tree builds in master. It was just the modules that didn't work. This is fixed by the new force-push which only add the src
, obj
variables and remove the absolute path to the object files.
This should be probably be
VPATH = $(SRCDIR)
. It will expand to @SrcDir@ in the Makefile.in so functionally it's the same.