mirror of
https://github.com/libretro/libretro-super
synced 2024-11-28 20:14:22 +00:00
Merge pull request #216 from iKarith/master
Cleanups for mgit fetch rule
This commit is contained in:
commit
fa000c72f0
@ -78,7 +78,7 @@ libretro_fetch() {
|
||||
for (( i=0; i < $num_git_urls; ++i )); do
|
||||
eval "git_url=\$libretro_${1}_mgit_url_$i"
|
||||
eval "git_subdir=\$libretro_${1}_mgit_dir_$i"
|
||||
eval "git_submodules=\$libretro_${1}_mgit_dir_$i"
|
||||
eval "git_submodules=\$libretro_${1}_mgit_submodules_$i"
|
||||
fetch_git "$git_url" "$module_dir/$git_subdir" "$git_submodules"
|
||||
done
|
||||
;;
|
||||
|
@ -278,6 +278,8 @@ libretro_fuse_build_platform="$FORMAT_COMPILER_TARGET_ALT"
|
||||
# fetch_rule Name of the core's fetch rule
|
||||
# Currently "git" (default) or "multi_git"
|
||||
#
|
||||
# For the "git" fetch rule:
|
||||
#
|
||||
# git_url Source to fetch via git
|
||||
# REQUIRED for fetch actions
|
||||
#
|
||||
@ -287,6 +289,18 @@ libretro_fuse_build_platform="$FORMAT_COMPILER_TARGET_ALT"
|
||||
# build_subdir Subdir containing the libretro makefile
|
||||
# Leave unset if in top level of core
|
||||
#
|
||||
# For the "multi_git" fetch rule:
|
||||
#
|
||||
# mgit_urls Number of URLs to fetch
|
||||
#
|
||||
# mgit_url_<n> <n>th URL to fetch, start with 0
|
||||
# If you have 4 mgit_urls, <n> will be 0, 1, 2, or 3
|
||||
#
|
||||
# mgit_dir_<n> <n>th directory to fetch into
|
||||
# You must set this for each URL
|
||||
#
|
||||
# For the generic makefile build rule:
|
||||
#
|
||||
# build_makefile Name of makefile
|
||||
# If unset, GNU make has rules for default makefile names
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user