From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergio Gonzalez Monroy Subject: [PATCH 0/4] Fix build issues with CONFIG_RTE_BUILD_COMBINE_LIBS=y Date: Thu, 2 Oct 2014 16:56:22 +0100 Message-ID: <1412265386-26291-1-git-send-email-sergio.gonzalez.monroy@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" When building DPDK with CONFIG_RTE_BUILD_COMBINE_LIBS=y, the result is not the expected behavior. - It does link the combine library using LD instead of CC which results in application linking errors. - It creates both individual libraries and combine library, then linking applications against all of them. This patch set aims to fix those issues. The last patch 'cleanup', in my opinion, simplifies and removes duplication of rules. It is not required for fixing the issues mentioned above. Sergio Gonzalez Monroy (4): Link combined shared library using CC Do not generate individual libs when configured with RTE_BUILD_COMBINE_LIBS=y Link apps only against combined lib or individual libs, not both Cleanup mk/rte.app.mk | 13 +++++--- mk/rte.lib.mk | 90 +++++++++++++----------------------------------------- mk/rte.sharelib.mk | 47 ++++++++++++++-------------- 3 files changed, 54 insertions(+), 96 deletions(-) Signed-off-by: Sergio Gonzalez Monroy -- 1.9.3