From 55c33ce0a852710bf68e515f992f954b2b8c171b Mon Sep 17 00:00:00 2001 From: duythaidang Date: Mon, 18 Mar 2019 11:22:44 +0700 Subject: rcar-gen3: optee-os: Apply a patch instead of cherry-picking This commit modifies to apply a patch instead of cherry-picking. This avoids the error of git config if git is not configured for the current user. Signed-off-by: Duy Dang Signed-off-by: Thuy Tran Signed-off-by: Takamitsu Honda (cherry picked from commit 0fd211f94a24125dc554055877ff910085e07fe2) --- meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bb') diff --git a/meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bb b/meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bb index 81ba4c4..8c1b18d 100644 --- a/meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bb +++ b/meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bb @@ -14,12 +14,13 @@ PV = "3.1.0+renesas+git${SRCPV}" BRANCH = "rcar_gen3" SRCREV_renesas = "c3f73c1e8667a829e085c6d2c4d8a6ff1ec3d213" -SRCREV_officialgit = "e77020396508fc086d7a4d6137388b116e4a662f" +SRCREV_officialgit = "0ab9388c0d553a6bb5ae04e41b38ba40cf0474bf" SRCREV_FORMAT = "renesas_officialgit" SRC_URI = " \ git://github.com/renesas-rcar/optee_os.git;branch=${BRANCH};name=renesas \ git://github.com/OP-TEE/optee_os.git;branch=master;name=officialgit;destsuffix=git_official \ + file://0001-core-crypto-arm64-ce-update-AES-CBC-routines.patch;patchdir=../git_official \ " COMPATIBLE_MACHINE = "(salvator-x|h3ulcb|m3ulcb|m3nulcb|ebisu)" @@ -40,8 +41,6 @@ S = "${WORKDIR}/git" EXTRA_OEMAKE = "-e MAKEFLAGS=" do_configure() { - git -C ${WORKDIR}/git_official checkout -B official 3.1.0 - git -C ${WORKDIR}/git_official cherry-pick ${SRCREV_officialgit} cp -rn ${WORKDIR}/git_official/core/lib/libtomcrypt ${B}/core/lib/. } -- cgit 1.2.3-korg