[dpdk-dev] [PATCH v2] scripts: add script for generating customised build config
Thomas Monjalon
thomas.monjalon at 6wind.com
Tue Jun 7 09:36:37 CEST 2016
Hi Bruce
2016-04-29 16:48, Bruce Richardson:
> This patch adds in the configure.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.
You were planning to use this script but not make it the official way of
building DPDK. I think it should be the official way.
I would suggest to integrate it quietly and improve it to make it more
official later.
What do you think is missing in the current design to take it as a base
for later work?
I really would like to see the dependencies (internal and external)
managed in this script.
[...]
> +-m, --machine-type=TYPE
> + Override the machine-type value given in the default configuration by
> + setting it to TYPE. Using regular options, regular y/n values can be
> + changed, but not string options, so this explicit override for machine
> + type exists to allow changing it.
I think we should make possible to change string values as boolean ones in
a generic way.
Detail: the MAINTAINERS file must be updated for this new file.
More information about the dev
mailing list