numam-dpdk/buildtools
Bruce Richardson 45775d7512 drivers: improve pmdinfo generation with meson
Since meson 0.44, changing any file inside a PMD directory (quite
correctly) triggers a full re-run of meson on build, rather than an
incremental build as with earlier versions. This rerun is needed because
we use "grep" in meson to search for files on which to run pmdinfogen, and
changing any of those files means that grep and, therefore meson, needs to
be rerun. [Previous versions of meson did not track this dependency on the
grep command, and so did incremental builds only.]

If, however, we take advantage of pmdinfogen's ability to use stdin and
stdout instead of files, we can instead use a shell script to process an
entire static archive and generate a single .c file from it. This
eliminates the need for grep, and means that changes to a PMD file only
need an incremental build - a significant time saving.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2018-01-30 21:59:00 +01:00
..
pmdinfogen build: remove architecture flag as default C flag 2018-01-30 21:58:59 +01:00
auto-config-h.sh
check-experimental-syms.sh buildtools: add script to check experimental API exports 2018-01-29 22:44:00 +01:00
gen-build-mk.sh tools: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
gen-config-h.sh tools: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
gen-pmdinfo-cfile.sh drivers: improve pmdinfo generation with meson 2018-01-30 21:59:00 +01:00
Makefile
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
relpath.sh tools: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
symlink-drivers-solibs.sh build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00