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 CC01E2C5A for ; Tue, 19 Apr 2016 14:30:11 +0200 (CEST) Received: by mail-wm0-f41.google.com with SMTP id n3so26981987wmn.0 for ; Tue, 19 Apr 2016 05:30:11 -0700 (PDT) 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; bh=xmYianpuTAbOGuHnL3SWYHQOD++xxX3YpP3IH/liWEI=; b=nV+k3It/6wFjAdJNaxrzkJwm4rs8Gb6rxGKqenCd/7M1B7v+E35zxCNbTYzccnLOOd RbLk1bQAaCE9EJs6dYpqD2sYY8s4qO4+tz8ksK1ifFBEpoohrsrPRKUu/ncp+eFSBWYg eFi6Z1jHZjIGHU9wMa5zNXH58/jPdYHEYFu5uIOlHB+xqUaodpE5rBMJZIJUebcUQjZn gLHkHBs9rgoEDAZksVUYGExCXRV+iB4EJ1+CRhTzepBECq1PGKYjxaRtUkr9p7lN50jC pgRgXDvda+DV2b0OXBS4E0ZKAqWu5QvxSrE9kxeaDXB1uxfnvavvVcF2kIXiYVV29zsJ jCFQ== 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; bh=xmYianpuTAbOGuHnL3SWYHQOD++xxX3YpP3IH/liWEI=; b=BDazKPtQDCHoTNblugAulvNXmqjDYgpo84Us5sT6L6VNk62XqELBlixniLSZW1gtD3 P5gV4dNRu35ZsvRDlNXLpXOa3u6ith4r6xYu5xwVrz5Irv7RDH1hw6OTZcDzUbMcFWCG vYqTyTbLTVlDelIBXfoWTKBkc6ZW920bZLNQEwyWzJIh1o4G5A0OEaytKvMdJpoRyr1X NM4G2CpCZ++YJLPvtq+GB1iNrT6OfFL9jeWlvnnj4+dvHGBEWtahjO31QZB+8saSJnJy eiHgUXYOjajPCAs/EPgfx7ruBzpDCARU2sfwwBjuuYp0OVbI1jmO+EutfDUtU9kz9o6g VJOA== X-Gm-Message-State: AOPr4FXlcNnosdFt+O11tbGS3tTWmdCeTO9RQtg1Jcc6aXl9jkxJNU1z2BQKpJ8Ww+hPCZMP X-Received: by 10.194.216.227 with SMTP id ot3mr3081403wjc.69.1461069011591; Tue, 19 Apr 2016 05:30:11 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id a202sm19433084wme.1.2016.04.19.05.30.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2016 05:30:10 -0700 (PDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org Date: Tue, 19 Apr 2016 14:30:08 +0200 Message-ID: <1699866.SDLcjre87A@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1461061640-7611-1-git-send-email-bruce.richardson@intel.com> References: <1461061640-7611-1-git-send-email-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] scripts: add script for generating customised build config 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, 19 Apr 2016 12:30:12 -0000 Hi Bruce, Thanks for pushing this idea. 2016-04-19 11:27, Bruce Richardson: > This patch adds in the dpdk_config.py script file. It can be used > to generate custom build-time configurations for DPDK either manually on > the commandline or by calling it from other scripts. It takes as parameters > the base config template to use, and output directory to which the modified > configuration will be written. Other optional parameters are then taken > as y/n values which should be adjusted in the config file, and a special > -m flag is provided to override the default RTE_MACHINE setting in the > config template too. > > Example, to create a build configuration with extra non-default PMDs > enabled, and the kernel modules disabled: > > ./scripts/dpdk_config.py -b $RTE_TARGET -o $RTE_TARGET PMD_PCAP=y \ > IGB_UIO=n KNI_KMOD=n MLX4_PMD=y MLX5_PMD=y SZEDATA2=y \ > NFP_PMD=y BNX2X_PMD=y Would it be possible to use it without -b option to update a configuration? Why not name it scripts/configure.py with a symlink ./configure in the top directory? Should we be able to list every options for a "-b defconfig"? Would it be a good idea to manage dependencies checks in this script?