Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH/next 1/9] boot/optee-os: package sets TA SDK location
@ 2019-03-01 16:47 Etienne Carriere
  2019-03-01 16:47 ` [Buildroot] [PATCH/next 2/9] package/optee-test: locate TA SDK though optee-os package Etienne Carriere
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Etienne Carriere @ 2019-03-01 16:47 UTC (permalink / raw)
  To: buildroot

Makefile script for boot package optee-os produces make variable
OPTEE_OS_STAGING_SDK to locate the Trusted Application SDK expected
by other packages when building OP-TEE trusted applications.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
---
 boot/optee-os/optee-os.mk | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/boot/optee-os/optee-os.mk b/boot/optee-os/optee-os.mk
index aeac067..df481c9 100644
--- a/boot/optee-os/optee-os.mk
+++ b/boot/optee-os/optee-os.mk
@@ -55,9 +55,11 @@ OPTEE_OS_MAKE_OPTS += $(call qstrip,$(BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES))
 OPTEE_OS_BUILDDIR_OUT = out
 ifeq ($(BR2_aarch64),y)
 OPTEE_OS_LOCAL_SDK = $(OPTEE_OS_BUILDDIR_OUT)/export-ta_arm64
+OPTEE_OS_STAGING_SDK = $(STAGING_DIR)/lib/optee/export-ta_arm64
 endif
 ifeq ($(BR2_arm),y)
 OPTEE_OS_LOCAL_SDK = $(OPTEE_OS_BUILDDIR_OUT)/export-ta_arm32
+OPTEE_OS_STAGING_SDK = $(STAGING_DIR)/lib/optee/export-ta_arm32
 endif
 
 ifeq ($(BR2_TARGET_OPTEE_OS_CORE),y)
@@ -86,8 +88,8 @@ define OPTEE_OS_BUILD_SDK
 		 $(TARGET_CONFIGURE_OPTS) $(OPTEE_OS_MAKE_OPTS) ta_dev_kit
 endef
 define OPTEE_OS_INSTALL_STAGING_CMDS
-	mkdir -p $(STAGING_DIR)/lib/optee
-	cp -ardpf $(@D)/$(OPTEE_OS_LOCAL_SDK) $(STAGING_DIR)/lib/optee
+	mkdir -p $(OPTEE_OS_STAGING_SDK)
+	cp -ardpf $(@D)/$(OPTEE_OS_LOCAL_SDK)/* $(OPTEE_OS_STAGING_SDK)
 endef
 endif # BR2_TARGET_OPTEE_OS_SDK
 
-- 
1.9.1

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

end of thread, other threads:[~2019-08-09  8:50 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-01 16:47 [Buildroot] [PATCH/next 1/9] boot/optee-os: package sets TA SDK location Etienne Carriere
2019-03-01 16:47 ` [Buildroot] [PATCH/next 2/9] package/optee-test: locate TA SDK though optee-os package Etienne Carriere
2019-03-05 22:25   ` Thomas Petazzoni
2019-03-01 16:47 ` [Buildroot] [PATCH/next 3/9] package/optee-examples: " Etienne Carriere
2019-03-05 22:25   ` Thomas Petazzoni
2019-03-01 16:47 ` [Buildroot] [PATCH/next 4/9] package/optee-client: fix build warnings 3.4.0 Etienne Carriere
2019-03-01 16:47 ` [Buildroot] [PATCH/next 5/9] package/optee-client: support BUILD_STATIC_LIBS Etienne Carriere
2019-03-01 16:47 ` [Buildroot] [PATCH/next 6/9] package/optee-test: drop constraint on !BR2_STATIC_LIBS Etienne Carriere
2019-03-01 16:47 ` [Buildroot] [PATCH/next 7/9] package/optee-examples: " Etienne Carriere
2019-03-01 16:47 ` [Buildroot] [PATCH/next 8/9] package/optee-benchmark: " Etienne Carriere
2019-03-01 16:47 ` [Buildroot] [PATCH/next 9/9] boot/optee-os: support alternate image files Etienne Carriere
2019-08-03 16:14   ` Thomas Petazzoni
2019-08-09  8:50     ` Etienne Carriere
2019-03-05 22:25 ` [Buildroot] [PATCH/next 1/9] boot/optee-os: package sets TA SDK location Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox