提交 3a3a0d80 编写于 作者: J JinYue

fix syntax error in makefile

上级 f9caf506
......@@ -225,6 +225,7 @@ uint64_t Emulator::execute(uint64_t max_cycle, uint64_t max_instr) {
}
#ifdef EN_FORKWAIT
printf("[INFO]enable fork wait..\n");
pid_t pid =-1;
pid_t originPID = getpid();
int status = -1;
......
......@@ -32,7 +32,6 @@
#define SLOT_SIZE 3
#define FAIT_EXIT exit(EXIT_FAILURE);
#define WAIT_INTERVAL 1
#define EN_FORKWAIT
typedef struct shinfo{
int exitNum;
......
......@@ -45,8 +45,7 @@ endif
# Fork-wait
EMU_FORKWAIT ?=
ifeq ($(EMU_FORKWAIT),1)
EMU_CXXFLAGS += -DEN_FROKWAIT
VEXTRA_FLAGS += --trace
EMU_CXXFLAGS += -DEN_FORKWAIT
endif
# Verilator coverage
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册