numam-dpdk/drivers/net/bnxt
Olivier Matz feb9f680cd mk: optimize directory dependencies
Before this patch, the management of dependencies between directories
had several issues:

- the generation of .depdirs, done at configuration is slow: it can take
  more than one minute on some slow targets (usually ~10s on a standard
  PC without -j).

- for instance, it is possible to express a dependency like:
  - app/foo depends on lib/librte_foo
  - and lib/librte_foo depends on app/bar
  But this won't work because the directories are traversed with a
  depth-first algorithm, so we have to choose between doing 'app' before
  or after 'lib'.

- the script depdirs-rule.sh is too complex.

- we cannot use "make -d" for debug, because the output of make is used for
  the generation of .depdirs.

This patch moves the DEPDIRS-* variables in the upper Makefile, making
the dependencies much easier to calculate. A DEPDIRS variable is still
used to process library dependencies in LDLIBS.

After this commit, "make config" is almost immediate.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Tested-by: Robin Jarry <robin.jarry@6wind.com>
Tested-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
2017-03-27 23:28:43 +02:00
..
bnxt_cpr.c net/bnxt: support async link notification 2016-10-13 15:30:59 +02:00
bnxt_cpr.h net/bnxt: use I/O device memory read/write API 2017-01-18 17:18:27 +01:00
bnxt_ethdev.c drivers/net: fix device configuration 2017-02-10 12:25:49 +01:00
bnxt_filter.c net/bnxt: support hotplug 2016-09-30 12:27:18 +02:00
bnxt_filter.h net/bnxt: add L2 filter alloc/init/free 2016-06-20 17:21:51 +02:00
bnxt_hwrm.c net/bnxt: use I/O device memory read/write API 2017-01-18 17:18:27 +01:00
bnxt_hwrm.h net/bnxt: support NIC Partitioning 2016-09-30 12:27:18 +02:00
bnxt_irq.c net/bnxt: support async link notification 2016-10-13 15:30:59 +02:00
bnxt_irq.h net/bnxt: support async link notification 2016-10-13 15:30:59 +02:00
bnxt_ring.c net/bnxt: localize mapping of ethdev to PCI device 2016-12-24 18:54:49 +01:00
bnxt_ring.h net/bnxt: allocate rings and groups 2016-06-20 17:21:52 +02:00
bnxt_rxq.c net/bnxt: allocate Rx/Tx and completion rings 2016-06-20 17:21:52 +02:00
bnxt_rxq.h net/bnxt: add Rx queue create/destroy 2016-06-20 17:21:51 +02:00
bnxt_rxr.c net/bnxt: allocate Rx/Tx and completion rings 2016-06-20 17:21:52 +02:00
bnxt_rxr.h net/bnxt: allocate Rx/Tx and completion rings 2016-06-20 17:21:52 +02:00
bnxt_stats.c net/bnxt: refactor for 1.5.1 HWRM API 2016-09-30 12:27:18 +02:00
bnxt_stats.h net/bnxt: add statistics 2016-06-20 17:21:51 +02:00
bnxt_txq.c net/bnxt: allocate Rx/Tx and completion rings 2016-06-20 17:21:52 +02:00
bnxt_txq.h net/bnxt: add Tx queue create/destroy 2016-06-20 17:21:51 +02:00
bnxt_txr.c log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
bnxt_txr.h net/bnxt: use I/O device memory read/write API 2017-01-18 17:18:27 +01:00
bnxt_vnic.c net/bnxt: fix data type for vnic attributes entry size 2016-11-07 19:36:17 +01:00
bnxt_vnic.h net/bnxt: add VNIC functions and structs 2016-06-20 17:21:51 +02:00
bnxt.h net/bnxt: support async link notification 2016-10-13 15:30:59 +02:00
hsi_struct_def_dpdk.h net/bnxt: update struct definitions for 1.5.1 HWRM API 2016-09-30 12:27:18 +02:00
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_pmd_bnxt_version.map net/bnxt: add driver for Broadcom NetXtreme-C devices 2016-06-20 17:21:51 +02:00