On Thu, Jul 09, 2020 at 12:23:31AM +0300, Dmitry Kozlyuk wrote: > This patchset implements existing pmdinfogen logic in Python, replaces > and removes the old code. The goals of rewriting are: > > * easier maintenance by using a more high-level language, > * simpler build process without host application and libelf. > > Travis CI script is adjusted to install python3-pyelftools, but other CI > systems may need similar tweaking. Particularly, testing on FreeBSD and > big-endian targets is desired. > > --- > Changes in v4: > > Fix build by removing redundant check. > > Changes in v3: > > 1. Rebase on ToT, add package to CI. > 2. Add copyrights, fixup maintainers file. > 3. Remove C implementation. > > Changes in v2: > > 1. pyelftools is used instead of hand-written ELF parser. > 2. Makefiles are adjusted. > 3. f-strings replaced with % formatting to support Python 3.5. > 4. Wrapper script does not hide stderr from ar and pmdinfogen. > > --- > Dmitry Kozlyuk (4): > pmdinfogen: add Python implementation > build: use Python pmdinfogen > doc/linux_gsg: require pyelftools for pmdinfogen > pmdinfogen: remove C implementation >
I'm not currently setup to test with cross compiling, but for direct targets (tested on power and x86), it seems to work well Acked-by: Neil Horman <nhor...@tuxdriver.com>