mk: generate internal library dependencies
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 7 Jun 2016 10:01:54 +0000 (13:01 +0300)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 9 Jun 2016 09:30:46 +0000 (11:30 +0200)
commitbf5a46fa597248909f6a4e41a9a8467dcc3df21a
treecaff43aca82c9c974d6576474eab5eea0e4d211e
parentb3c64b7de8d5a40053c00625ddda4c02b8d12d94
mk: generate internal library dependencies

Up to now dependencies between DPDK internal libraries have been
untracked at shared library level, requiring applications to know
about library internal dependencies and often consequently overlinking.

Since the dependencies are already recorded for build ordering in the
makefiles with DEPDIRS-y we can use that information to generate LDLIBS
entries for internal libraries automatically.

Also revert commit 8180554d82b3 ("vhost: fix linkage of driver with
library") which is made redundant by this change.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Acked-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
drivers/net/vhost/Makefile
mk/rte.lib.mk