numam-dpdk/mk
Hiroshi Shimamoto 944088c2ab mk: fix link to combined library
The application should be linked to the single combined library in the
condition that both of CONFIG_RTE_BUILD_COMBINE_LIB and
CONFIG_RTE_BUILD_SHARED_LIB are enabled.

The current makefile generates an application that links to each library.
This patch fixes to link the single library.

Before
$ ldd x86_64-ivshmem-linuxapp-gcc/app/test
	linux-vdso.so.1 =>  (0x00007fff232a1000)
	librte_distributor.so => not found
	librte_kni.so => not found
	librte_ivshmem.so => not found
	librte_pipeline.so => not found
	librte_table.so => not found
	librte_port.so => not found
	librte_timer.so => not found
	librte_hash.so => not found
	librte_lpm.so => not found
	librte_power.so => not found
	librte_acl.so => not found
	librte_meter.so => not found
	librte_sched.so => not found
	libm.so.6 => /lib64/libm.so.6 (0x00007fc638020000)
	librt.so.1 => /lib64/librt.so.1 (0x00007fc637e18000)
	librte_kvargs.so => not found
	librte_mbuf.so => not found
	librte_ip_frag.so => not found
	libethdev.so => not found
	librte_malloc.so => not found
	librte_mempool.so => not found
	librte_ring.so => not found
	librte_eal.so => not found
	librte_cmdline.so => not found
	librte_cfgfile.so => not found
	librte_pmd_bond.so => not found
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fc637bfe000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007fc6379fa000)
	libintel_dpdk.so => not found
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc6377dd000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fc63741c000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fc638330000)

After
$ ldd x86_64-ivshmem-linuxapp-gcc/app/test
	linux-vdso.so.1 =>  (0x00007fffb79fe000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f0d8a971000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f0d8a66f000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f0d8a458000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f0d8a254000)
	libintel_dpdk.so => not found
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0d8a037000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f0d89c76000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f0d8ab82000)

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Reviewed-by: Hayato Momma <h-momma@ce.jp.nec.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-12-17 00:39:45 +01:00
..
arch add prefix to cache line macros 2014-11-27 16:21:11 +01:00
exec-env mk: fix linking with some linux toolchains 2014-11-29 21:17:01 +01:00
internal remove trailing whitespaces 2014-06-11 00:29:34 +02:00
machine mk: introduce IBM Power architecture 2014-11-26 21:50:09 +01:00
target/generic mk: no more bare metal environment 2014-11-27 13:09:46 +01:00
toolchain mk: no more bare metal environment 2014-11-27 13:09:46 +01:00
rte.app.mk mk: fix link to combined library 2014-12-17 00:39:45 +01:00
rte.bsdmodule.mk mk: fix bsd module build 2014-11-05 22:18:31 +01:00
rte.cpuflags.mk eal/ppc: cpu flag checks for IBM Power 2014-11-26 21:50:10 +01:00
rte.extapp.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.extlib.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.extobj.mk remove trailing whitespaces 2014-06-11 00:29:34 +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.extvars.mk remove trailing whitespaces 2014-06-11 00:29:34 +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: fix build 32-bits shared libraries with 64-bits system 2014-12-11 01:42:02 +01:00
rte.module.mk mk: pass CC option for kernel modules 2014-10-15 16:01:29 +02:00
rte.obj.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkbuild.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkconfig.mk version: 1.7.0 2014-07-04 10:18:07 +02:00
rte.sdkdepdirs.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkdoc.mk mk: fix doc cleaning 2014-10-17 17:44:06 +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 remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkroot.mk mk: no more bare metal environment 2014-11-27 13:09:46 +01:00
rte.sdktest.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdktestall.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.shared.mk mk: fix build ignoring other installed versions 2014-05-01 22:57:47 +02:00
rte.sharelib.mk mk: fix build shared libraries 2014-12-11 01:41:58 +01:00
rte.subdir.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.vars.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00