public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Cc: Baocheng Su <baocheng.su@siemens.com>
Subject: [PATCH] optee-client: Fix native arm64 build
Date: Tue, 3 Oct 2023 21:52:20 +0200	[thread overview]
Message-ID: <8b68ac52-a718-4a6a-8190-70d3baa2ed51@siemens.com> (raw)

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

             reply	other threads:[~2023-10-03 19:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-03 19:52 Jan Kiszka [this message]
2023-10-12  6:54 ` Jan Kiszka
2023-10-12 17:25 ` Uladzimir Bely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8b68ac52-a718-4a6a-8190-70d3baa2ed51@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=baocheng.su@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox