From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 55CD8590C for ; Fri, 27 Nov 2015 12:52:18 +0100 (CET) Received: by wmec201 with SMTP id c201so67146280wme.0 for ; Fri, 27 Nov 2015 03:52:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=12qQuS7/jOmjgV2/LjalYqaVE7jIKAr/1ecTl5L1vSU=; b=rSG4Bgh2KElU0r1vsCDnHBXHKBgInCPZSILVlwNnev27kEQpJBH39diCNVo/h9XF+R qzn8txi8eSyz1obUMS3p6i92MhN3hfYeM4g0v8FK6spz0Tz17UxwpwUuBHokuPeNg/Bp jaV98F893kMJZQnkLjShf3rOCi3G72/52iyDAAGx5M1Jg4V//g6tix/F5ENED1tp7pzb bMb5IIPklpvCLR3kZxtnOlEGv0diz1y+X1W+66RmuefjmOU4WDTCivTRo3bEG4z7kS5v 7eynOdqEEy5Rw4j7j2jb8SbyjJvIW3TWA/MM4hs0uyg4DYWGz9UDF++1+9OciOf9hgNT en9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=12qQuS7/jOmjgV2/LjalYqaVE7jIKAr/1ecTl5L1vSU=; b=b5G9zPvYMnfZmV/zUXCuRANVJ8dWTC7ppceYUz3tvTtd94dotFE2V2nnnbWHCa+okM 3vDam4UluAjvjtSDyOpeJIvjUz+GmmnkKanQdsX8TKfcq3xvT+/dJvJ5s0+8juBVybfW 7IhaG2ZctO4m21iSh0T2mMqIvSXI6VMO7lXb7l/M0kFJS53KhuUcb0FbpMmayK7SpexR QUHoyotUNu+ZAzQ9nJe+AEuFJoTqqDSdwf8BK+5AZ5Cex4va0eCXpvyrEiMAopKZ/t4Z kKGsm1KFSRiSupe77SxxGz4rl3BNPJzpF6TL5p7h1Za2lHTteuOrNQyBopgffoDQqMM2 m/8w== X-Gm-Message-State: ALoCoQmwaR9nW0YzSoZGROw5dpRURIS+DGEJUjsFDIDc7LCMWdAXGrO1L+U1cCyLsPUFaiPS11X8 X-Received: by 10.194.19.168 with SMTP id g8mr20834525wje.38.1448625138001; Fri, 27 Nov 2015 03:52:18 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id z10sm7140014wmg.4.2015.11.27.03.52.17 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 Nov 2015 03:52:17 -0800 (PST) From: Thomas Monjalon To: "Arevalo, Mario Alfredo C" , "Richardson, Bruce" , Panu Matilainen , olivier.matz@6wind.com Date: Fri, 27 Nov 2015 12:50:58 +0100 Message-ID: <5752336.EctnB08yj1@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <6594B51DBE477C48AAE23675314E6C460F1B8B6E@fmsmsx107.amr.corp.intel.com> References: <6594B51DBE477C48AAE23675314E6C460F1B724F@fmsmsx107.amr.corp.intel.com> <20151022145711.GA24256@bricha3-MOBL3> <6594B51DBE477C48AAE23675314E6C460F1B8B6E@fmsmsx107.amr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] dpdk proposal installation 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: Fri, 27 Nov 2015 11:52:18 -0000 2015-10-26 16:18, Arevalo, Mario Alfredo C: > Hi Guys, > > Thank you so much for your feedback, about your last comments, > I understood the next: > > 1) > -"make install" using "T" variable: > This command will use a rule for the current behaviour called "mbuild" I think the ability of building several targets in one command make the build system more complex than it should be. A target should be defined by its configured options, not a default template config. So I suggest to drop it. > -"make install" without "T" variable: > This command will install everything: headers, libraries, modules, apps, docs, and > sdk files (config files, make files, scripts and examples). > > 2) About variables, you rigth, KMOD_DIR sounds better than KERNEL_DIR, > and LIB_DIR should be /usr/lib by default. > > 3) > -To use a "prefix variable" > -This prefix variable will be "/usr/local" by default. > -This prefix variable can be overridden. > > Example: > $(DESTDIR)/$(PREFIX)/$(INCLUDE_DIR) It is a good step. In order to be more standard, we should try to comply with these guidelines: https://www.gnu.org/prep/standards/html_node/Directory-Variables.html https://www.gnu.org/prep/standards/html_node/DESTDIR.html > 4) What do you think about the Bruce's proposal? I love the idea of having a configure script. I would add some checks to solve the dependencies (external and internal).