mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-30 04:40:39 +00:00
CONFIGURE: Adjustments for ATARI
- add NDEBUG for smaller file size and better performance when building with --enable-release - add exe extensions for both ATARI and FreeMiNT - use "dist-generic" instead of the clunky ./configure paths Build as: ./configure --backend=atari --host=m68k-atari-mint --enable-release --disable-mt32emu --disable-lua --disable-nuked-opl --disable-16bit --disable-scalers --disable-translation --disable-eventrecorder --disable-tts --disable-bink --opengl-mode=none --enable-verbose-build && make -j 16 && rm -rf dist-generic; make dist-generic
This commit is contained in:
parent
896d7cf309
commit
4892d0b48b
7
.gitignore
vendored
7
.gitignore
vendored
@ -39,6 +39,7 @@ lib*.a
|
||||
/*.bnr
|
||||
/romfs
|
||||
/dist_3ds
|
||||
/dist-generic
|
||||
/.project
|
||||
/.cproject
|
||||
/.settings
|
||||
@ -231,6 +232,8 @@ ScummVM.config
|
||||
ScummVM.creator
|
||||
ScummVM.files
|
||||
ScummVM.includes
|
||||
ScummVM.cflags
|
||||
ScummVM.cxxflags
|
||||
|
||||
#Ignore Komodo IDE/Edit project files
|
||||
*.komodoproject
|
||||
@ -288,3 +291,7 @@ android_project
|
||||
dists/emscripten/libs/
|
||||
dists/emscripten/games/
|
||||
dists/emscripten/emsdk-*
|
||||
|
||||
#Ignore Atari/FreeMiNT files
|
||||
scummvm.gtp
|
||||
scummvm.ttp
|
||||
|
20
configure
vendored
20
configure
vendored
@ -563,6 +563,15 @@ get_system_exe_extension() {
|
||||
mingw* | *os2-emx)
|
||||
_exeext=".exe"
|
||||
;;
|
||||
mint)
|
||||
if test "$_backend" = "atari"; then
|
||||
# ATARI backend
|
||||
_exeext=".ttp"
|
||||
else
|
||||
# SDL backend
|
||||
_exeext=".gtp"
|
||||
fi
|
||||
;;
|
||||
emscripten)
|
||||
_exeext=".html"
|
||||
;;
|
||||
@ -793,7 +802,7 @@ Usage: $0 [OPTIONS]...
|
||||
|
||||
Configuration:
|
||||
-h, --help display this help and exit
|
||||
--backend=BACKEND backend to build (3ds, android, dc, dingux, ds, gcw0,
|
||||
--backend=BACKEND backend to build (3ds, atari, android, dc, dingux, ds, gcw0,
|
||||
gph, iphone, ios7, ios7-arm64, maemo, n64, null, opendingux,
|
||||
openpandora, psp, psp2, samsungtv, sdl, switch, wii) [sdl]
|
||||
|
||||
@ -3558,7 +3567,7 @@ if test -n "$_host"; then
|
||||
_port_mk="backends/platform/sdl/kolibrios/kolibrios.mk"
|
||||
;;
|
||||
m68k-atari-mint)
|
||||
# auto -> yes
|
||||
# auto -> yes (overriden by $_release_build = yes)
|
||||
if test "$_debug_build" = "no"; then
|
||||
# --disable-debug
|
||||
append_var LDFLAGS "-s"
|
||||
@ -3569,6 +3578,13 @@ if test -n "$_host"; then
|
||||
# --enable-release, --enable-optimizations
|
||||
append_var CXXFLAGS "-fomit-frame-pointer"
|
||||
fi
|
||||
|
||||
# auto -> no
|
||||
if test "$_release_build" = "yes"; then
|
||||
# --enable-release
|
||||
append_var DEFINES "-DNDEBUG"
|
||||
fi
|
||||
|
||||
_seq_midi=no
|
||||
_timidity=no
|
||||
;;
|
||||
|
3
ports.mk
3
ports.mk
@ -60,6 +60,9 @@ dist-generic: $(EXECUTABLE) $(PLUGINS)
|
||||
mkdir -p ./dist-generic/scummvm/data
|
||||
mkdir -p ./dist-generic/scummvm/doc
|
||||
cp $(EXECUTABLE) ./dist-generic/scummvm
|
||||
ifeq ($(BACKEND), atari)
|
||||
m68k-atari-mint-flags -S ./dist-generic/scummvm/$(EXECUTABLE)
|
||||
endif
|
||||
cp $(DIST_FILES_DOCS) ./dist-generic/scummvm/doc
|
||||
cp $(DIST_FILES_THEMES) ./dist-generic/scummvm/data
|
||||
ifdef DIST_FILES_ENGINEDATA
|
||||
|
Loading…
Reference in New Issue
Block a user