mk: fix verbose pmdinfogen run
authorThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 7 Jul 2016 12:06:38 +0000 (14:06 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 8 Jul 2016 15:07:05 +0000 (17:07 +0200)
commit387a02d411eed3cfcf4b8284a573cd9034809da7
tree1f044126cbf1fca16e1f32db6fa8d9788a545c0b
parentf9e02f03c6861aa393ff9022002e9456df755b7d
mk: fix verbose pmdinfogen run

When building with "make V=1" it is expected to see the output of each
compiler command in order to debug them.
Unfortunately the pmdinfogen related commands were always quiet.

It is fixed by defining the commands in some Makefile variables.
They are printed if the verbose mode is enabled.

The other benefit of this rework is to stop compilation after a
failure with pmdinfogen.

The command readlink is removed in this rework because it seems useless.

Fixes: 3d781ca32874 ("mk: do post processing on objects that register a driver")

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
mk/internal/rte.compile-pre.mk