diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-05-23 10:32:34 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-05-23 10:32:34 +0300 |
commit | 800b3ad36087f35f9ebe1e663c877520bf00f6d2 (patch) | |
tree | 628be349ef1365edb9cdfcc2eb6be79949183575 /rpb-uefi.yaml | |
parent | 3caa2e0bfc80a428eb6245c5f9bdd25b7e679c7f (diff) |
rpb-uefi: allow to override UEFI tools repository/branch
* Add UEFI_TOOLS_GIT_BRANCH and set to master by default
* Move UEFI tools repository cloning next to the other repositories
cloning.
Change-Id: Ia51310a9327f39d86626a18191715c557bba6d2b
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'rpb-uefi.yaml')
-rw-r--r-- | rpb-uefi.yaml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/rpb-uefi.yaml b/rpb-uefi.yaml index ea563d4f92..efb8a1f7c2 100644 --- a/rpb-uefi.yaml +++ b/rpb-uefi.yaml @@ -103,6 +103,7 @@ # Common git repositories to fetch UEFI_TOOLS_GIT_URL=https://git.linaro.org/uefi/uefi-tools.git + UEFI_TOOLS_GIT_BRANCH=master EDK2_GIT_URL=https://github.com/tianocore/edk2.git EDK2_GIT_VERSION=$EDK2_VERSION ATF_GIT_URL=https://github.com/ARM-software/arm-trusted-firmware.git @@ -116,10 +117,6 @@ # So we can easily identify the build number via build path mkdir ${BUILD_NUMBER}; cd ${BUILD_NUMBER} - # Clone the repos - git clone $UEFI_TOOLS_GIT_URL uefi-tools - cd uefi-tools; UEFI_TOOLS_GIT_VERSION=`git log --format="%H" -1`; cd .. - # Per board repositories overrides if [ "${MX_PLATFORM}" == "hikey" ]; then EDK2_GIT_URL=https://github.com/96boards-hikey/edk2.git @@ -134,6 +131,10 @@ TOOLCHAIN=GCC49 export AARCH64_TOOLCHAIN=GCC49 + # Clone the repos + git clone -b $UEFI_TOOLS_GIT_BRANCH $UEFI_TOOLS_GIT_URL uefi-tools + cd uefi-tools; UEFI_TOOLS_GIT_VERSION=`git log --format="%H" -1`; cd .. + git clone $EDK2_GIT_URL edk2 cd edk2; git checkout -b stable-baseline $EDK2_GIT_VERSION EDK2_GIT_VERSION=$(git rev-parse $EDK2_GIT_VERSION) |