From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: compile and install using configure-make-make_install Date: Tue, 27 Oct 2015 14:25:04 +0000 Message-ID: <1445955906-8505-1-git-send-email-bruce.richardson@intel.com> References: <6594B51DBE477C48AAE23675314E6C460F1B8B6E@fmsmsx107.amr.corp.intel.com> To: mario.alfredo.c.arevalo@intel.com, dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id B65F8567C for ; Tue, 27 Oct 2015 15:25:11 +0100 (CET) In-Reply-To: <6594B51DBE477C48AAE23675314E6C460F1B8B6E@fmsmsx107.amr.corp.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Just clarify a bit further the idea I had in mind, I've put together the following two example patches. After applying these patches the following sequence of operations works to install dpdk libraries and headers into /opt (/opt/lib/dpdk and /opt/include/dpdk respectively). Also the machine type is changed from native to default, and the settings for KNI are disabled. ./configure --prefix=/opt --machine=default \ --config=RTE_LIBRTE_KNI=n \ --config=CONFIG_RTE_KNI_KMOD=n cd build make sudo make install NOTE: I'm not suggesting this is ready for inclusion in DPDK in any shape or form, I'm just trying to make clear what my suggestion was referring to, and to trigger more discussion on the topic. Bruce Richardson (2): gen-build-mk: add "make install" option to build dir add example configure script configure | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ scripts/gen-build-mk.sh | 13 +++++++++++ 2 files changed, 72 insertions(+) create mode 100755 configure -- 2.4.3