From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] scripts: add script for generating customised build config
Date: Tue, 19 Apr 2016 14:30:08 +0200 [thread overview]
Message-ID: <1699866.SDLcjre87A@xps13> (raw)
In-Reply-To: <1461061640-7611-1-git-send-email-bruce.richardson@intel.com>
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?
next prev parent reply other threads:[~2016-04-19 12:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-19 10:27 Bruce Richardson
2016-04-19 12:30 ` Thomas Monjalon [this message]
2016-04-19 16:25 ` Bruce Richardson
2016-04-29 15:48 ` [dpdk-dev] [PATCH v2] " Bruce Richardson
2016-06-07 7:36 ` Thomas Monjalon
2016-06-07 9:25 ` Bruce Richardson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1699866.SDLcjre87A@xps13 \
--to=thomas.monjalon@6wind.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).