[PING][PATCH v4] Add pretty printers for the NPTL lock types
Siddhesh Poyarekar
sid@reserved-bit.com
Mon Apr 11 13:25:00 GMT 2016
On Mon, Apr 11, 2016 at 10:04:54AM -0300, Martin Galvan wrote:
> If the file was created from pretty-printers, I'd have to add
> something to the pretty-printers Makefile to (again) traverse all the
> submodule dirs, which is ugly. I guess I could add an 'mkdir -p
> $(common-objpfx)/pretty-printers' to the $(py-const) recipe, which is
> a bit better though it'd try to create the dir each time Makerules
> runs for a submodule with gen-py-const-headers. I can only pray that
> whatever part of the build system that's creating the submodule dirs
> is using '-p' as well, or else it'll fail when it arrives to
> pretty-printers..
I think there's a make-target-directory or similar macro in Makerules
that ought to help you achieve this. IIRC it skips creating the
target directory if it exists or at least does not fail
catastrophically.
Siddhesh
More information about the Libc-alpha
mailing list