Template:VARDEFINE GIT: Difference between revisions

From Variscite Wiki
No edit summary
(Add {{#var:NAME}}_REPO as a copy of {{#var:NAME}}_REPO, fixes pages like https://variwiki.com/index.php?title=SWUpdate_Guide&release=mx93-yocto-langdale-6.1.1_1.0.1-v1.3#Create_a_SWUpdate-ready_Image that require it.)
 
Line 9: Line 9:


Creates variables prefixed with the NAME variable:
Creates variables prefixed with the NAME variable:
  {{#var:NAME}} = REPO name
   {{#var:NAME}}_GIT
   {{#var:NAME}}_GIT
   {{#var:NAME}}_BRANCH
   {{#var:NAME}}_BRANCH
Line 15: Line 16:
   {{#var:NAME}}_HTTP
   {{#var:NAME}}_HTTP
--><includeonly><!--
--><includeonly><!--
-->{{#vardefine:{{{NAME}}}|{{{REPO}}}}}<!--
-->{{#vardefine:{{{NAME}}}_GIT|{{{GIT}}}/{{{REPO}}}}}<!--
-->{{#vardefine:{{{NAME}}}_GIT|{{{GIT}}}/{{{REPO}}}}}<!--
-->{{#vardefine:{{{NAME}}}_BRANCH|{{{BRANCH}}}}}<!--
-->{{#vardefine:{{{NAME}}}_BRANCH|{{{BRANCH}}}}}<!--

Latest revision as of 16:21, 16 October 2023