1
0
Fork 0
forked from len0rd/rockbox

Disable HAVE_MULTIVOLUME for bootloaders

Multivolume support is only necessary if mounting multiple volumes
simultaneously, which the bootloader won't do.

Change-Id: I725061dd2aa47abe7652b0d27258dd3af821c913
This commit is contained in:
Solomon Peachy 2024-07-07 12:43:10 -04:00
parent f37b5a8349
commit dc364e44ef

View file

@ -892,6 +892,11 @@ Lyre prototype 1 */
#endif #endif
#endif #endif
/* Bootloaders don't need multivolume awareness */
#if defined(BOOTLOADER) && defined(HAVE_MULTIVOLUME)
#undef HAVE_MULTIVOLUME
#endif
/* Explicit HAVE_MULTIVOLUME in the config file. Allow the maximum number */ /* Explicit HAVE_MULTIVOLUME in the config file. Allow the maximum number */
#ifdef HAVE_MULTIVOLUME #ifdef HAVE_MULTIVOLUME
#define NUM_VOLUMES_PER_DRIVE 4 #define NUM_VOLUMES_PER_DRIVE 4