On Thu, Feb 16, 2012 at 10:36 AM, Ben Pfaff <[email protected]> wrote:
> OVS needs to inspect the headers in the kernel source directory at build
> time.  Debian keeps moving the source directory relative to the build
> directory and doesn't provide an obvious way to find the source directory,
> so in the past we've used some name-based heuristics to essentially guess
> where it is.
>
> This commit introduces a new heuristic that I hope will be more reliable:
> extracting the source directory from the Makefile in the build directory.
> In Debian's case, it looks like the Makefile generally contains a line of
> the form "MAKEARGS := -C <srcdir> O=<outdir>".  This commit extracts the
> source directory from that line.
>
> To avoid regressions this commit retains the older heuristics as fallbacks.
>
> CC: [email protected]
> Reported-by: Thomas Goirand <[email protected]>
> Signed-off-by: Ben Pfaff <[email protected]>

It seems OK to me.  How do other packages solve this problem?  It
seems like we have a particularly bad time.
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to