diff options
author | Colin Snover | 2017-01-15 18:31:05 -0600 |
---|---|---|
committer | Colin Snover | 2017-01-15 18:32:07 -0600 |
commit | 9ff41967a04e54e5de6207b8c46442833857aadc (patch) | |
tree | 3935db8aeb7c27c0587870f60eacf750b3baabf1 | |
parent | ad1bb852eb74c336c84bedf2999c0040bf7a04bd (diff) | |
download | scummvm-rg350-9ff41967a04e54e5de6207b8c46442833857aadc.tar.gz scummvm-rg350-9ff41967a04e54e5de6207b8c46442833857aadc.tar.bz2 scummvm-rg350-9ff41967a04e54e5de6207b8c46442833857aadc.zip |
BUILD: Fix PSP build of test runner
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | test/module.mk | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -2637,6 +2637,7 @@ case $_host_os in append_var CXXFLAGS "-I$PSPSDK/include" # FIXME: Why is the following in CXXFLAGS and not in DEFINES? Change or document this. append_var CXXFLAGS "-D_PSP_FW_VERSION=150" + add_line_to_config_mk 'PSP = 1' ;; solaris*) append_var DEFINES "-DSOLARIS" diff --git a/test/module.mk b/test/module.mk index de2f94d8c6..607eacc1ea 100644 --- a/test/module.mk +++ b/test/module.mk @@ -23,6 +23,12 @@ ifdef N64 TEST_LDFLAGS := $(filter-out -mno-crt0,$(TEST_LDFLAGS)) endif +ifdef PSP +TEST_LIBS += backends/platform/psp/memory.o \ + backends/platform/psp/mp3.o \ + backends/platform/psp/trace.o +endif + ifdef HAVE_GCC3 # In test/common/str.h, we test a zero length format string. This causes GCC # to generate a warning which in turn poses a problem when building with -Werror. |