[PATCH v7] Add pretty printers for the NPTL lock types

Siddhesh Poyarekar siddhesh@sourceware.org
Wed Jun 8 12:27:00 GMT 2016


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



More information about the Libc-alpha mailing list