From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A57097E80 for ; Thu, 9 Oct 2014 14:58:45 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 09 Oct 2014 06:05:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,684,1406617200"; d="scan'208";a="611883870" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 09 Oct 2014 06:05:01 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id s99D4xJ9005587; Thu, 9 Oct 2014 14:05:00 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s99D4xlM029105; Thu, 9 Oct 2014 14:04:59 +0100 Received: (from smonroy@localhost) by sivswdev02.ir.intel.com with id s99D4wKl029101; Thu, 9 Oct 2014 14:04:58 +0100 From: Sergio Gonzalez Monroy To: dev@dpdk.org Date: Thu, 9 Oct 2014 14:04:52 +0100 Message-Id: <1412859898-29068-1-git-send-email-sergio.gonzalez.monroy@intel.com> X-Mailer: git-send-email 1.8.5.4 In-Reply-To: <1412592755-3370-1-git-send-email-sergio.gonzalez.monroy@intel.com> References: <1412592755-3370-1-git-send-email-sergio.gonzalez.monroy@intel.com> Subject: [dpdk-dev] [PATCH v3 0/6] Update libs build process X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2014 12:58:46 -0000 As per the proposal, this patch set does: - Remove CONFIG_RTE_BUILD_COMBINE_LIBS as a configuration option. - For static library, build a single/combined library. - For shared libraries, build both individual/separated and single/combined libraries. - Link apps only against single/combined libs. - Include external shared libs dependencies when building shared libraries. v3: - Split some of the patches for easier review - Improve patches descriptions Sergio Gonzalez Monroy (6): Link combined shared library using CC Link apps only against single/combined library Remove CONFIG_RTE_BUILD_COMBINE_LIBS and related Update library build process Avoid duplicated code Link apps/DSOs against EXECENV_LDLIBS with --as-needed config/common_bsdapp | 3 +- config/common_linuxapp | 3 +- mk/rte.app.mk | 164 ++----------------------------------------------- mk/rte.lib.mk | 81 ++++++------------------ mk/rte.sdkbuild.mk | 2 +- mk/rte.sharelib.mk | 54 ++++++++-------- mk/rte.vars.mk | 4 -- 7 files changed, 54 insertions(+), 257 deletions(-) -- 1.9.3