diff options
author | Ricardo Salveti <ricardo.salveti@linaro.org> | 2016-11-16 20:03:59 -0200 |
---|---|---|
committer | Ricardo Salveti <ricardo.salveti@linaro.org> | 2016-11-16 20:03:59 -0200 |
commit | 4e870512683393c6034afffd710d56cda3180412 (patch) | |
tree | ea2d5e4d6e2505f86a2ccdcd169ddb68b53a556c | |
parent | 9d67468fb912eb12d360cc2f3f2900b586466cd4 (diff) |
rpb-uefi: add GCC build profile workaround just for HiKey
Change-Id: Ie138bc63270927c81720c14c83b2033d504d38c0
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
-rw-r--r-- | rpb-uefi.yaml | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/rpb-uefi.yaml b/rpb-uefi.yaml index d18fe79e80..867144a412 100644 --- a/rpb-uefi.yaml +++ b/rpb-uefi.yaml @@ -111,6 +111,13 @@ OPEN_PLATFORM_PKG_GIT_BRANCH=rpb-1612 OPTEE_OS_GIT_URL=https://github.com/OP-TEE/optee_os.git + # 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 @@ -119,14 +126,13 @@ ATF_GIT_VERSION="origin/hikey" OPEN_PLATFORM_PKG_GIT_URL=https://github.com/96boards-hikey/OpenPlatformPkg.git OPEN_PLATFORM_PKG_GIT_BRANCH=hikey-aosp - fi - # 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 .. + # FIXME cap GCC build profile at GCC49 + # workaround [GCC5] not defined. No toolchain available for build! + # https://git.linaro.org/uefi/uefi-tools.git/commitdiff/4ad46ab76ee2d593c665c1f6ae16162bdf5a36ac + sed -i 's|echo GCC5|echo GCC49|' uefi-tools/common-functions + export AARCH64_TOOLCHAIN=GCC49 + fi git clone $EDK2_GIT_URL edk2 cd edk2; git checkout -b stable-baseline $EDK2_GIT_VERSION |