numam-dpdk/mk
Olivier Matz 20afd76a50 mk: use whole-archive option to keep unused symbols
To fully support dpdk extensions (loading of .so), all symbols provided
by dpdk libraries must be available in the binaries: before this patch,
unused functions/variables from dpdk static libraries could be stripped
by the linker because they are not used. These symbols can be used by a
dpdk extension that is loaded at runtime with the -d option.

Adding --whole-archive when generating a binary solves this issue.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-04-10 14:53:59 +02:00
..
arch add FreeBSD support 2014-02-25 21:29:18 +01:00
exec-env eal: add support for shared object drivers 2014-02-26 11:01:13 +01:00
internal mk: fix command-line dependency check for quoted strings 2014-02-26 11:01:13 +01:00
machine mk: add haswell target 2014-02-25 21:29:18 +01:00
target/generic pcap: revert build patches 2014-03-19 14:33:52 +01:00
toolchain mk: add haswell target 2014-02-25 21:29:18 +01:00
rte.app.mk mk: use whole-archive option to keep unused symbols 2014-04-10 14:53:59 +02:00
rte.bsdmodule.mk add FreeBSD support 2014-02-25 21:29:18 +01:00
rte.cpuflags.mk mk: rework cpu flags detection 2014-02-25 21:29:18 +01:00
rte.extapp.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.extlib.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.extobj.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.extshared.mk mk: allow to build shared libraries 2014-02-26 11:01:13 +01:00
rte.extvars.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.gnuconfigure.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.hostapp.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.hostlib.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.install.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.lib.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.module.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.obj.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.sdkbuild.mk pcap: revert build patches 2014-03-19 14:33:52 +01:00
rte.sdkconfig.mk mk: fix dependencies when modifying config 2014-03-26 23:10:41 +01:00
rte.sdkdepdirs.mk mk: fix dependencies when modifying config 2014-03-26 23:10:41 +01:00
rte.sdkdoc.mk mk: rule help 2014-02-26 11:01:13 +01:00
rte.sdkgcov.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.sdkinstall.mk mk: in install rule, don't overwrite .config if it already exists 2014-02-26 11:01:13 +01:00
rte.sdkroot.mk mk: rule help 2014-02-26 11:01:13 +01:00
rte.sdktest.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.sdktestall.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.shared.mk mk: fix EXTRA_LDFLAGS override 2014-02-26 11:01:13 +01:00
rte.sharelib.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.subdir.mk update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte.vars.mk config: fix combined/shared lib 2014-02-25 21:29:18 +01:00