aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xmlGenerator/lightRoutingUpdate.sh
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2015-01-08 17:11:44 +0100
committerDavid Wagner <david.wagner@intel.com>2015-01-28 20:02:38 +0100
commit7d996811c0e80b30a40a5add1f01f0314f2ebef4 (patch)
treed2ecef1672edc7ba183fe902f2b778b32a171cbc /tools/xmlGenerator/lightRoutingUpdate.sh
parentfa09759eddd515fb2f83810ba76f9a6f8878093f (diff)
downloadexternal_parameter-framework-7d996811c0e80b30a40a5add1f01f0314f2ebef4.zip
external_parameter-framework-7d996811c0e80b30a40a5add1f01f0314f2ebef4.tar.gz
external_parameter-framework-7d996811c0e80b30a40a5add1f01f0314f2ebef4.tar.bz2
xmlGenerator: Refactor PFWScriptGenerator
The existing code is split in two parts: - "EDD"-files parsing; - parameter-framework remote commands generation The first part is mostly kept as-is but the file is renamed to "EddParser.py"; the second part is refactored and an object presenting a "Translator" intreface is passed to the parsed objects in order to generate the remote parameter-framework commands. Later, another class implementing the Translator interface will be implemented using the python bindings. Some dead code is removed in the process. Change-Id: I9725600ce34f36742c7e27ea7aee53892dd799b0 Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to 'tools/xmlGenerator/lightRoutingUpdate.sh')
-rwxr-xr-xtools/xmlGenerator/lightRoutingUpdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xmlGenerator/lightRoutingUpdate.sh b/tools/xmlGenerator/lightRoutingUpdate.sh
index 4bde78f..7403622 100755
--- a/tools/xmlGenerator/lightRoutingUpdate.sh
+++ b/tools/xmlGenerator/lightRoutingUpdate.sh
@@ -100,7 +100,7 @@ done
log "Generate domain commands from file(s): $*"
m4 "$@" \
- | $(dirname $0)/PFWScriptGenerator.py --pfw >> "${tmpfile}"
+ | $(dirname $0)/PFWScriptGenerator.py --output-kind pfw >> "${tmpfile}"
echo "setAutoSync off" >> "${tmpfile}"