@@ -694,19 +694,20 @@ def report_gen(target, data):
694694
695695 target .write ("DEBUG := no\n " )
696696 target .write ("B_TEMP = `$(ABS_COMMON_REPO)/common/utility/parse_platform_list.py $(DEVICE)`\n " )
697- target .write ("PERL := \n " )
698- target .write ("QEMU_IMODE := no\n " )
699- target .write ("LAUNCH_EMULATOR_CMD := \n " )
700- target .write ("\n " )
701- target .write ("ifneq ($(PERL), /tools/xgs/perl/5.8.5/bin/perl)\n " )
702- target .write ("\t QEMU_IMODE = yes\n " )
703- target .write ("endif\n " )
704- target .write ("\n " )
705- target .write ("ifeq ($(QEMU_IMODE), yes)\n " )
706- target .write ("\t LAUNCH_EMULATOR_CMD = $(LAUNCH_EMULATOR)\n " )
707- target .write ("else\n " )
708- target .write ("\t LAUNCH_EMULATOR_CMD = $(PERL) $(ABS_COMMON_REPO)/common/utility/run_emulation.pl \" ${LAUNCH_EMULATOR} | tee run_app.log\" \" ${RUN_APP_SCRIPT} $(TARGET)\" \" ${RESULT_STRING}\" \" 7\" \n " )
709- target .write ("endif\n " )
697+ if not ("platform_type" in data and data ["platform_type" ] == "pcie" ):
698+ target .write ("PERL := \n " )
699+ target .write ("QEMU_IMODE := no\n " )
700+ target .write ("LAUNCH_EMULATOR_CMD := \n " )
701+ target .write ("\n " )
702+ target .write ("ifneq ($(PERL), /tools/xgs/perl/5.8.5/bin/perl)\n " )
703+ target .write ("\t QEMU_IMODE = yes\n " )
704+ target .write ("endif\n " )
705+ target .write ("\n " )
706+ target .write ("ifeq ($(QEMU_IMODE), yes)\n " )
707+ target .write ("\t LAUNCH_EMULATOR_CMD = $(LAUNCH_EMULATOR)\n " )
708+ target .write ("else\n " )
709+ target .write ("\t LAUNCH_EMULATOR_CMD = $(PERL) $(ABS_COMMON_REPO)/common/utility/run_emulation.pl \" ${LAUNCH_EMULATOR} | tee run_app.log\" \" ${RUN_APP_SCRIPT} $(TARGET)\" \" ${RESULT_STRING}\" \" 7\" \n " )
710+ target .write ("endif\n " )
710711 target .write ("\n " )
711712 target .write ("#Generates debug summary report\n " )
712713 target .write ("ifeq ($(DEBUG), yes)\n " )
0 commit comments