From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 27 Oct 2015 07:25:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,205,1444719600"; d="scan'208";a="836158762" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 27 Oct 2015 07:25:08 -0700 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t9REP74w032733; Tue, 27 Oct 2015 14:25:08 GMT Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id t9REP7Uu008539; Tue, 27 Oct 2015 14:25:07 GMT Received: (from bricha3@localhost) by sivswdev01.ir.intel.com with id t9REP6OP008535; Tue, 27 Oct 2015 14:25:06 GMT From: Bruce Richardson To: mario.alfredo.c.arevalo@intel.com, dev@dpdk.org Date: Tue, 27 Oct 2015 14:25:04 +0000 Message-Id: <1445955906-8505-1-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <6594B51DBE477C48AAE23675314E6C460F1B8B6E@fmsmsx107.amr.corp.intel.com> References: <6594B51DBE477C48AAE23675314E6C460F1B8B6E@fmsmsx107.amr.corp.intel.com> Subject: [dpdk-dev] compile and install using configure-make-make_install 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: Tue, 27 Oct 2015 14:25:12 -0000 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