0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-15 14:29:49 +00:00
2024-04-22 08:01:36 +02:00

32 lines
940 B
Plaintext
Executable File

show_distro_config() {
config_message+="\n\n Lakka configuration:"
config_message+="\n $dashes$dashes"
if [ "${DISABLE_LIBRETRO_OPTIONAL}" = "yes" ]; then
config_message+="\n Excluding optional packages:"
else
config_message+="\n Including optional packages:"
fi
for pkg in ${LIBRETRO_OPTIONAL} ; do
config_message+="\n\t\t\t\t${pkg}"
done
config_message+="\n $dashes$dashes"
if [ "${DISABLE_LIBRETRO_CORES}" = "yes" ]; then
config_message+="\n Building without any libretro cores!"
else
# source the libretro_cores package
if [ ! -f ${ROOT}/packages/lakka/libretro_cores/package.mk ]; then
echo "FAILURE: Cannot find packages/lakka/libretro_cores/package.mk!"
exit 1
fi
. ${ROOT}/packages/lakka/libretro_cores/package.mk
declare -i count=0
for pkg in ${LIBRETRO_CORES} ; do count+=1 ; done
config_message+="\n Including ${count} libretro core(s)"
fi
}