numam-dpdk/mk
Olivier Matz 1dc1b95796 mk: fix static build without crypto
If the experimental CONFIG_RTE_LIBRTE_CRYPTODEV is disabled, build of
any crypto pmds will fail because of the missing dependency.  The commit
94288d645 fixes the issue when compiled with shared libraries but there
is still an issue at link time with static libs:

     LD test
     /usr/bin/ld: cannot find -lrte_pmd_null_crypto
     collect2: error: ld returned 1 exit status

Only add the -l linker flags related to crypto PMDs if CRYPTODEV is
enabled.

Fixes: 94288d645 ("mk: fix build without crypto")

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
2016-03-11 15:30:03 +01:00
..
arch config: clean cache line size selection scheme 2016-02-11 12:45:35 +01:00
exec-env mk: remove variables identical to config ones 2015-07-09 00:55:57 +02:00
internal mk: fix error message 2016-03-03 11:36:32 +01:00
machine mk: fix armv7 machine name 2016-02-28 22:49:09 +01:00
target/generic config: remove obsolete machine descriptions 2016-02-11 12:45:21 +01:00
toolchain mk: stop on warning only in developer build 2016-03-03 11:33:14 +01:00
rte.app.mk mk: fix static build without crypto 2016-03-11 15:30:03 +01:00
rte.bsdmodule.mk mk: fix bsd module build 2014-11-05 22:18:31 +01:00
rte.combinedlib.mk mk: replace the combined library with a linker script 2016-03-01 14:37:27 +01:00
rte.cpuflags.mk mk: predefine AVX512 macro for compiler 2016-01-27 21:14:52 +01:00
rte.extapp.mk mk, scripts: remove useless blank lines 2015-06-12 11:10:02 +02:00
rte.extlib.mk mk: remove ABI versioning for external library 2015-12-08 02:59:54 +01:00
rte.extobj.mk mk, scripts: remove useless blank lines 2015-06-12 11:10:02 +02:00
rte.extshared.mk mk: allow to build shared libraries 2014-02-26 11:01:13 +01:00
rte.extsubdir.mk mk: introduce rte.extsubdir.mk for projects with subdirectories 2014-05-16 13:28:21 +02:00
rte.gnuconfigure.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.hostapp.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.hostlib.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.install.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.lib.mk mk: replace the combined library with a linker script 2016-03-01 14:37:27 +01:00
rte.module.mk mk: quote KERNELCC to allow ccache build 2015-10-25 18:39:46 +01:00
rte.obj.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkbuild.mk mk: replace the combined library with a linker script 2016-03-01 14:37:27 +01:00
rte.sdkconfig.mk version: switch to year.month numbers 2016-02-10 22:43:26 +01:00
rte.sdkdepdirs.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkdoc.mk mk: reduce PDF build commands 2015-04-03 16:13:36 +02:00
rte.sdkexamples.mk mk: add "make examples" target in root makefile 2014-05-16 16:02:55 +02:00
rte.sdkgcov.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkinstall.mk mk: fix examples install 2016-01-19 09:18:26 +01:00
rte.sdkroot.mk mk: split install rule 2015-12-06 15:41:04 +01:00
rte.sdktest.mk app/proc_info: rename binary with prefix 2015-12-06 15:41:05 +01:00
rte.shared.mk mk: fix link with CC 2014-12-17 22:54:20 +01:00
rte.subdir.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.vars.mk mk: stop on warning only in developer build 2016-03-03 11:33:14 +01:00