From a2e2640507fc8548457046d75e143920908d1fc8 Mon Sep 17 00:00:00 2001 From: Conghui Date: Sat, 23 Apr 2022 06:17:03 +0800 Subject: [PATCH] config-tools: ignore the scenario and board field Ignore the "scenario" and "board" field in .xml: Tracked-On: #7345 Signed-off-by: Conghui Reviewed-by: Junjie Mao --- hypervisor/scripts/makefile/config.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hypervisor/scripts/makefile/config.mk b/hypervisor/scripts/makefile/config.mk index 8caed0627..afec298de 100644 --- a/hypervisor/scripts/makefile/config.mk +++ b/hypervisor/scripts/makefile/config.mk @@ -209,9 +209,7 @@ $(HV_SCENARIO_XML): echo "Scenario XML is being fetched from $(abspath $(SCENARIO_FILE))"; \ mkdir -p $(dir $(HV_SCENARIO_XML)); \ python3 $(HV_CONFIG_TOOL_DIR)/scenario_config/default_populator.py $(SCENARIO_FILE) $(HV_SCENARIO_XML); \ - if [ -z $$(xmllint --xpath 'string(//@scenario)' $(HV_SCENARIO_XML)) ]; then \ - sed "s##g" -i $(HV_SCENARIO_XML); \ else \ echo "No pre-defined scenario available at $(SCENARIO_FILE)"; \ echo "Try setting another predefined BOARD or SCENARIO or specifying a scenario XML file"; \