1 # Regression test specification for the ds390 target running with uCsim
7 # simulation timeout in seconds
10 EMU_PORT_FLAG
= -tds390
11 EMU_FLAGS
= -S in
=$(DEV_NULL
),out
=-
15 S51
= $(SDCC_BIN_PATH
)/ucsim_51
$(EXEEXT
)
18 S51A
= $(UCSIM_DIR
)/s51.src
/ucsim_51
$(EXEEXT
)
20 S51A
= $(top_builddir
)/sim
/ucsim
/src
/sims
/s51.src
/ucsim_51
$(EXEEXT
)
21 S51B
= $(top_builddir
)/bin
/ucsim_51
$(EXEEXT
)
24 EMU
= $(WINE
) $(shell if
[ -f
$(S51A
) ]; then echo
$(S51A
); else echo
$(S51B
); fi
)
27 SDCCFLAGS
+= --nostdinc
-I
$(top_srcdir
)
28 LINKFLAGS
+= --nostdlib
-L
$(top_builddir
)/device
/lib
/build
/ds390
34 SDCCFLAGS
+= -I
$(top_srcdir
)
39 SDCCFLAGS
+= -mds390
--less-pedantic
-Wl-r
40 LINKFLAGS
+= libsdcc.lib liblong.lib liblonglong.lib libint.lib libfloat.lib
41 LINKFLAGS
+= libds390.lib
46 # otherwise `make` deletes testfwk.rel and `make -j` will fail
47 .PRECIOUS
: $(PORT_CASES_DIR
)/%$(OBJEXT
)
50 EXTRAS
= $(PORT_CASES_DIR
)/testfwk
$(OBJEXT
) $(PORT_CASES_DIR
)/support
$(OBJEXT
)
51 include $(srcdir)/fwk
/lib
/spec.mk