From 1f67e29692788fb050810d8cd332e88ee3df1fcd Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Sun, 1 Mar 2015 16:06:13 -0800 Subject: [PATCH] Improve core rules documentation a little. --- rules.d/core-rules.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/rules.d/core-rules.sh b/rules.d/core-rules.sh index 0c2d1e59..407a56bc 100644 --- a/rules.d/core-rules.sh +++ b/rules.d/core-rules.sh @@ -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_ th URL to fetch, start with 0 +# If you have 4 mgit_urls, will be 0, 1, 2, or 3 +# +# mgit_dir_ 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 #