All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] arm-bsp/psa-arch-tests: corstone1000: fetching linux-trusted-services repo
@ 2022-02-03 12:38 emekcan.aras
  2022-02-03 12:38 ` [PATCH 1/1] " emekcan.aras
  0 siblings, 1 reply; 3+ messages in thread
From: emekcan.aras @ 2022-02-03 12:38 UTC (permalink / raw)
  To: meta-arm, Ross.Burton; +Cc: nd, Emekcan Aras

From: Emekcan Aras <Emekcan.Aras@arm.com>

Fetching the repo at fetch task level. This makes sure CMake
does not fetch the code by its own.

Abdellatif El Khlifi (1):
  arm-bsp/psa-arch-tests: corstone1000: fetching linux-trusted-services
    repo

 .../trusted-services/psa-arch-tests-corstone1000.inc     | 9 +++++++++
 1 file changed, 9 insertions(+)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] arm-bsp/psa-arch-tests: corstone1000: fetching linux-trusted-services repo
  2022-02-03 12:38 [PATCH 0/1] arm-bsp/psa-arch-tests: corstone1000: fetching linux-trusted-services repo emekcan.aras
@ 2022-02-03 12:38 ` emekcan.aras
  2022-02-03 16:30   ` [meta-arm] " Ross Burton
  0 siblings, 1 reply; 3+ messages in thread
From: emekcan.aras @ 2022-02-03 12:38 UTC (permalink / raw)
  To: meta-arm, Ross.Burton; +Cc: nd, Abdellatif El Khlifi, Emekcan Aras

From: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>

Fetching the repo at fetch task level. This makes sure CMake
does not fetch the code by its own.

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
---
 .../trusted-services/psa-arch-tests-corstone1000.inc     | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/meta-arm-bsp/recipes-security/trusted-services/psa-arch-tests-corstone1000.inc b/meta-arm-bsp/recipes-security/trusted-services/psa-arch-tests-corstone1000.inc
index da619d4..46bcda0 100644
--- a/meta-arm-bsp/recipes-security/trusted-services/psa-arch-tests-corstone1000.inc
+++ b/meta-arm-bsp/recipes-security/trusted-services/psa-arch-tests-corstone1000.inc
@@ -7,17 +7,26 @@ CMAKE_BUILD_PARALLEL_LEVEL = "${@oe.utils.parallel_make(d, True)}"
 
 COMPATIBLE_MACHINE = "corstone1000"
 
+SRC_URI:append = " git://git.gitlab.arm.com/linux-arm/linux-trusted-services.git;protocol=https;branch=main;name=linuxffauser;destsuffix=git/linux_ffa_user "
+
 SRC_URI:append = "\
     file://0001-psa-arch-test-sysroot_compiler_flags_fix.patch \
     file://0002-arm-bsp-psa-arch-test-Fixing-psa-arch-tests-cmake.patch \
     file://0003-corstone1000-port-crypto-config.patch;patchdir=../psa-arch-tests \
     "
 
+LIC_FILES_CHKSUM:append = " file://../linux_ffa_user/Makefile;md5=a786a5cc7a7e0f02b6071ddc23d29111"
+
+# v2.1.0
+SRCREV_linuxffauser = "77967912d033144aff2695cecbd52d3be450deaa"
+
 FILES:${PN} += "${libdir}/libts.so*  ${libdir}/deployments  ${bindir}/psa-*"
 FILES:${PN}-dev = "${includedir}/deployments/psa-api-test/"
 
 INSANE_SKIP:${PN} += "rpaths"
 
+export LINUX_FFA_USER_SHIM_DIR = "${S}/../linux_ffa_user"
+
 do_configure() {
     for PSA_API_TEST in ${PSA_API_TESTS}; do
         cmake \
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-arm] [PATCH 1/1] arm-bsp/psa-arch-tests: corstone1000: fetching linux-trusted-services repo
  2022-02-03 12:38 ` [PATCH 1/1] " emekcan.aras
@ 2022-02-03 16:30   ` Ross Burton
  0 siblings, 0 replies; 3+ messages in thread
From: Ross Burton @ 2022-02-03 16:30 UTC (permalink / raw)
  To: meta-arm; +Cc: Abdellatif El Khlifi, Emekcan Aras

This fails for me locally:

| CMake Error at
mbedtls-subbuild/mbedtls-populate-prefix/tmp/mbedtls-populate-gitclone.cmake:31
(message):
|   Failed to clone repository: 'https://github.com/ARMmbed/mbedtls.git'

Can someone suggest that maybe trusted-services should use git submodules?

Ross

On Thu, 3 Feb 2022 at 12:38, <emekcan.aras@arm.com> wrote:
>
> From: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
>
> Fetching the repo at fetch task level. This makes sure CMake
> does not fetch the code by its own.
>
> Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
> Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
> ---
>  .../trusted-services/psa-arch-tests-corstone1000.inc     | 9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/meta-arm-bsp/recipes-security/trusted-services/psa-arch-tests-corstone1000.inc b/meta-arm-bsp/recipes-security/trusted-services/psa-arch-tests-corstone1000.inc
> index da619d4..46bcda0 100644
> --- a/meta-arm-bsp/recipes-security/trusted-services/psa-arch-tests-corstone1000.inc
> +++ b/meta-arm-bsp/recipes-security/trusted-services/psa-arch-tests-corstone1000.inc
> @@ -7,17 +7,26 @@ CMAKE_BUILD_PARALLEL_LEVEL = "${@oe.utils.parallel_make(d, True)}"
>
>  COMPATIBLE_MACHINE = "corstone1000"
>
> +SRC_URI:append = " git://git.gitlab.arm.com/linux-arm/linux-trusted-services.git;protocol=https;branch=main;name=linuxffauser;destsuffix=git/linux_ffa_user "
> +
>  SRC_URI:append = "\
>      file://0001-psa-arch-test-sysroot_compiler_flags_fix.patch \
>      file://0002-arm-bsp-psa-arch-test-Fixing-psa-arch-tests-cmake.patch \
>      file://0003-corstone1000-port-crypto-config.patch;patchdir=../psa-arch-tests \
>      "
>
> +LIC_FILES_CHKSUM:append = " file://../linux_ffa_user/Makefile;md5=a786a5cc7a7e0f02b6071ddc23d29111"
> +
> +# v2.1.0
> +SRCREV_linuxffauser = "77967912d033144aff2695cecbd52d3be450deaa"
> +
>  FILES:${PN} += "${libdir}/libts.so*  ${libdir}/deployments  ${bindir}/psa-*"
>  FILES:${PN}-dev = "${includedir}/deployments/psa-api-test/"
>
>  INSANE_SKIP:${PN} += "rpaths"
>
> +export LINUX_FFA_USER_SHIM_DIR = "${S}/../linux_ffa_user"
> +
>  do_configure() {
>      for PSA_API_TEST in ${PSA_API_TESTS}; do
>          cmake \
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#2943): https://lists.yoctoproject.org/g/meta-arm/message/2943
> Mute This Topic: https://lists.yoctoproject.org/mt/88881480/1676615
> Group Owner: meta-arm+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [ross@burtonini.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-03 16:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-03 12:38 [PATCH 0/1] arm-bsp/psa-arch-tests: corstone1000: fetching linux-trusted-services repo emekcan.aras
2022-02-03 12:38 ` [PATCH 1/1] " emekcan.aras
2022-02-03 16:30   ` [meta-arm] " Ross Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.