-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows to build images natively on arm64 hosts again by fixing an issue in optee-client via Isar. See also #482. Signed-off-by: Jan Kiszka <[email protected]>
- Loading branch information
1 parent
2c08293
commit 80cfd17
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
isar-patches/0001-optee-client-Fix-native-arm64-build.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From fce7e3667affe5fce82381baeb473dd7342bf00d Mon Sep 17 00:00:00 2001 | ||
From: Jan Kiszka <[email protected]> | ||
Date: Tue, 3 Oct 2023 21:42:55 +0200 | ||
Subject: [PATCH] optee-client: Fix native arm64 build | ||
|
||
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 <[email protected]> | ||
--- | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters