buildtools: support object file extraction for Windows
authorDmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Fri, 8 Jan 2021 02:47:22 +0000 (05:47 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 25 Jan 2021 22:23:50 +0000 (23:23 +0100)
commite6e9730c7066246856546563c0f5dcf5be10372d
tree745670338e52356910addaef4f539eb5e5f58d98
parent0fe5c4e5adc5636b05ed71383dfdb0f9b14540bb
buildtools: support object file extraction for Windows

clang archiver tool is llvm-ar on Windows and ar on other platforms.
MinGW always uses ar. Replace shell script (Unix-only) that calls ar
with a Python script (OS-independent) that calls an appropriate archiver
tool selected at configuration time. Move the logic not to generate
empty sources into pmdinfogen.

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
MAINTAINERS
buildtools/gen-pmdinfo-cfile.py [new file with mode: 0644]
buildtools/gen-pmdinfo-cfile.sh [deleted file]
buildtools/meson.build
buildtools/pmdinfogen.py