mibuild/sim: clean up (thanks sb)

This commit is contained in:
Florent Kermarrec 2015-03-10 16:41:52 +01:00
parent 555c444da2
commit 00e8616de2
2 changed files with 22 additions and 26 deletions

View file

@ -47,11 +47,7 @@ struct sim {
clock_t end;
float speed;
#ifndef WITH_SERIAL_PTY
char rx_serial_stb;
char rx_serial_data;
char rx_serial_presented;
#else
#ifdef WITH_SERIAL_PTY
char serial_dev[64];
int serial_fd;
unsigned char serial_rx_data;

View file

@ -95,7 +95,7 @@ make -j -C obj_dir/ -f Vdut.mk Vdut
build_script_file = "build_" + build_name + ".sh"
tools.write_to_file(build_script_file, build_script_contents, force_unix=True)
_build_tb(platform, serial, os.path.join("../", sim_path,"dut_tb.cpp"))
_build_tb(platform, serial, os.path.join("..", sim_path,"dut_tb.cpp"))
if verbose:
r = subprocess.call(["bash", build_script_file])
else: