public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] optee-client: Fix native arm64 build
@ 2023-10-03 19:52 Jan Kiszka
  2023-10-12  6:54 ` Jan Kiszka
  2023-10-12 17:25 ` Uladzimir Bely
  0 siblings, 2 replies; 3+ messages in thread
From: Jan Kiszka @ 2023-10-03 19:52 UTC (permalink / raw)
  To: isar-users; +Cc: Baocheng Su

From: Jan Kiszka <jan.kiszka@siemens.com>

optee-client sets CROSS_COMPILE to arm-linux-gnueabihf- by default,
causing breakages when building natively, e.g. on arm64. Fix this by
simply setting CROSS_COMPILE unconditionally.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta/recipes-bsp/optee-client/files/debian/rules.tmpl | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta/recipes-bsp/optee-client/files/debian/rules.tmpl b/meta/recipes-bsp/optee-client/files/debian/rules.tmpl
index 1b7920d0..7d1b335b 100755
--- a/meta/recipes-bsp/optee-client/files/debian/rules.tmpl
+++ b/meta/recipes-bsp/optee-client/files/debian/rules.tmpl
@@ -7,9 +7,7 @@
 #
 # SPDX-License-Identifier: MIT
 
-ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
 export CROSS_COMPILE=$(DEB_HOST_GNU_TYPE)-
-endif
 
 %:
 	dh $@ --exclude=.a
-- 
2.35.3

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

* Re: [PATCH] optee-client: Fix native arm64 build
  2023-10-03 19:52 [PATCH] optee-client: Fix native arm64 build Jan Kiszka
@ 2023-10-12  6:54 ` Jan Kiszka
  2023-10-12 17:25 ` Uladzimir Bely
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2023-10-12  6:54 UTC (permalink / raw)
  To: isar-users; +Cc: Baocheng Su

On 03.10.23 21:52, 'Jan Kiszka' via isar-users wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> optee-client sets CROSS_COMPILE to arm-linux-gnueabihf- by default,
> causing breakages when building natively, e.g. on arm64. Fix this by
> simply setting CROSS_COMPILE unconditionally.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>  meta/recipes-bsp/optee-client/files/debian/rules.tmpl | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/meta/recipes-bsp/optee-client/files/debian/rules.tmpl b/meta/recipes-bsp/optee-client/files/debian/rules.tmpl
> index 1b7920d0..7d1b335b 100755
> --- a/meta/recipes-bsp/optee-client/files/debian/rules.tmpl
> +++ b/meta/recipes-bsp/optee-client/files/debian/rules.tmpl
> @@ -7,9 +7,7 @@
>  #
>  # SPDX-License-Identifier: MIT
>  
> -ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
>  export CROSS_COMPILE=$(DEB_HOST_GNU_TYPE)-
> -endif
>  
>  %:
>  	dh $@ --exclude=.a

Can we get this simple patch merged, please?

Jan

-- 
Siemens AG, Technology
Linux Expert Center


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

* Re: [PATCH] optee-client: Fix native arm64 build
  2023-10-03 19:52 [PATCH] optee-client: Fix native arm64 build Jan Kiszka
  2023-10-12  6:54 ` Jan Kiszka
@ 2023-10-12 17:25 ` Uladzimir Bely
  1 sibling, 0 replies; 3+ messages in thread
From: Uladzimir Bely @ 2023-10-12 17:25 UTC (permalink / raw)
  To: Jan Kiszka, isar-users; +Cc: Baocheng Su

On Tue, 2023-10-03 at 21:52 +0200, 'Jan Kiszka' via isar-users wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> optee-client sets CROSS_COMPILE to arm-linux-gnueabihf- by default,
> causing breakages when building natively, e.g. on arm64. Fix this by
> simply setting CROSS_COMPILE unconditionally.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>  meta/recipes-bsp/optee-client/files/debian/rules.tmpl | 2 --
>  1 file changed, 2 deletions(-)
> 

Applied to next, thanks.

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

end of thread, other threads:[~2023-10-12 17:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-03 19:52 [PATCH] optee-client: Fix native arm64 build Jan Kiszka
2023-10-12  6:54 ` Jan Kiszka
2023-10-12 17:25 ` Uladzimir Bely

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