This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v7] Add pretty printers for the NPTL lock types
- From: Siddhesh Poyarekar <siddhesh at sourceware dot org>
- To: Martin Galvan <martin dot galvan at tallertechnologies dot com>
- Cc: libc-alpha at sourceware dot org, carlos at redhat dot com
- Date: Wed, 8 Jun 2016 17:56:55 +0530
- Subject: Re: [PATCH v7] Add pretty printers for the NPTL lock types
- Authentication-results: sourceware.org; auth=none
- References: <20160603181331 dot 8569-1-martin dot galvan at tallertechnologies dot com>
On Fri, Jun 03, 2016 at 03:13:31PM -0300, Martin Galvan wrote:
> +py-const-files := $(patsubst %.pysym,%.py,$(gen-py-const-headers))
> +py-const-dir := $(objpfx)pretty-printers/
Does this work? That will try to create
$build_dir/nptl/pretty-printers/*. What you're looking for is just
objpfx. In fact, if you set it to just current value of subdirs then
it should generate the file in the source directory, eliminating the
need to rebuild this file during every build. It only needs to be
rebuilt when its %.pysym file changes.
Siddhesh