mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 19:21:06 +00:00
Add CORE_INFO_DIR
to ./configure
(#14761)
* Add missing FILTERS_DIR definition to qb/config.libs.sh * Add CORE_INFO_DIR configuration option
This commit is contained in:
parent
3bacd52629
commit
c5bfd52159
1
Makefile
1
Makefile
@ -28,6 +28,7 @@ DEFINES := -DHAVE_CONFIG_H -DRARCH_INTERNAL -D_FILE_OFFSET_BITS=64
|
||||
DEFINES += -DGLOBAL_CONFIG_DIR='"$(GLOBAL_CONFIG_DIR)"'
|
||||
DEFINES += -DASSETS_DIR='"$(DESTDIR)$(ASSETS_DIR)"'
|
||||
DEFINES += -DFILTERS_DIR='"$(DESTDIR)$(FILTERS_DIR)"'
|
||||
DEFINES += -DCORE_INFO_DIR='"$(DESTDIR)$(CORE_INFO_DIR)"'
|
||||
|
||||
OBJDIR_BASE := obj-unix
|
||||
|
||||
|
@ -1772,6 +1772,12 @@ static void frontend_unix_get_env(int *argc,
|
||||
fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE_INFO], base_path,
|
||||
"core_info", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE_INFO]));
|
||||
#else
|
||||
#ifdef CORE_INFO_DIR
|
||||
if (path_is_directory(CORE_INFO_DIR "/cores"))
|
||||
fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE_INFO], CORE_INFO_DIR,
|
||||
"cores", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE_INFO]));
|
||||
else
|
||||
#endif
|
||||
fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE_INFO], base_path,
|
||||
"cores", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE_INFO]));
|
||||
#endif
|
||||
|
@ -153,6 +153,8 @@ fi
|
||||
}
|
||||
|
||||
add_define MAKEFILE ASSETS_DIR "${ASSETS_DIR:-$SHARE_DIR}/retroarch"
|
||||
add_define MAKEFILE FILTERS_DIR "${FILTERS_DIR:-$SHARE_DIR}/retroarch"
|
||||
add_define MAKEFILE CORE_INFO_DIR "${CORE_INFO_DIR:-$SHARE_DIR}/retroarch"
|
||||
add_define MAKEFILE BIN_DIR "${BIN_DIR:-${PREFIX}/bin}"
|
||||
add_define MAKEFILE DOC_DIR "${DOC_DIR:-${SHARE_DIR}/doc/retroarch}"
|
||||
add_define MAKEFILE MAN_DIR "${MAN_DIR:-${SHARE_DIR}/man}"
|
||||
|
@ -1,6 +1,7 @@
|
||||
HAVE_LIBRETRO= # Libretro library used
|
||||
HAVE_ASSETS_DIR= # Assets install directory
|
||||
HAVE_FILTERS_DIR= # Audio/video filters directory
|
||||
HAVE_CORE_INFO_DIR= # Core info directory
|
||||
HAVE_CORE_INFO_CACHE=yes # Core info cache support
|
||||
HAVE_BLUETOOTH=no # Bluetooth support
|
||||
HAVE_NVDA=yes # NVDA support
|
||||
|
Loading…
x
Reference in New Issue
Block a user