numam-dpdk/drivers/net/sfc
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
..
base net/sfc/base: do not use enum type when values are bitmask 2017-01-17 19:40:50 +01:00
efsys.h net/sfc: use eal I/O device memory barriers API 2017-01-30 22:18:26 +01:00
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_pmd_sfc_efx_version.map net/sfc: libefx-based driver stub 2017-01-17 19:39:25 +01:00
sfc_debug.h net/sfc: add init on attach 2017-01-17 19:39:26 +01:00
sfc_ethdev.c net/sfc: fix setting empty multicast list 2017-02-10 12:25:48 +01:00
sfc_ev.c drivers/net: remove redundant new line from logs 2017-01-30 22:18:27 +01:00
sfc_ev.h net/sfc: support parameter to choose performance profile 2017-01-17 19:40:50 +01:00
sfc_intr.c net/sfc: support link status change interrupt 2017-01-17 19:40:50 +01:00
sfc_kvargs.c net/sfc: support parameter to choose performance profile 2017-01-17 19:40:50 +01:00
sfc_kvargs.h net/sfc: support parameter to choose performance profile 2017-01-17 19:40:50 +01:00
sfc_log.h net/sfc: libefx-based driver stub 2017-01-17 19:39:25 +01:00
sfc_mcdi.c net/sfc: implement MCDI logging callback 2017-01-17 19:40:50 +01:00
sfc_port.c net/sfc: fix flow control settings on port start 2017-01-30 22:18:25 +01:00
sfc_rx.c net/sfc: query RSS key and hash types config 2017-01-17 19:40:50 +01:00
sfc_rx.h net/sfc: query RSS key and hash types config 2017-01-17 19:40:50 +01:00
sfc_tso.c net/sfc: support firmware-assisted TSO 2017-01-17 19:40:51 +01:00
sfc_tweak.h net/sfc: support Tx free threshold 2017-01-17 19:40:50 +01:00
sfc_tx.c net/sfc: fix TSO limits imposed to the number of Tx queues 2017-01-30 22:18:26 +01:00
sfc_tx.h net/sfc: enable TSO by default 2017-01-30 22:18:26 +01:00
sfc.c net/sfc: fix TSO limits imposed to the number of Tx queues 2017-01-30 22:18:26 +01:00
sfc.h net/sfc: support firmware-assisted TSO 2017-01-17 19:40:51 +01:00