Stefan Koch
unread,Jul 4, 2024, 9:07:36 AM (2 days ago) Jul 4Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to isar-...@googlegroups.com, stefa...@siemens.com, jan.k...@siemens.com, christi...@siemens.com, michae...@siemens.com, simon....@siemens.com, cedric.h...@siemens.com, adriaan...@siemens.com, felix.mo...@siemens.com, ub...@ilbers.de, ami...@ilbers.de
- Solved by avoiding setting of not necessary variables
- Wrong architecture was used within /usr/include/ARCH/asm directory
- Solves issue:
https://github.com/ilbers/isar/issues/105
Signed-off-by: Stefan Koch <
stefa...@siemens.com>
---
meta/recipes-kernel/linux/files/debian/isar/common.tmpl | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/recipes-kernel/linux/files/debian/isar/common.tmpl b/meta/recipes-kernel/linux/files/debian/isar/common.tmpl
index 86af70c5..def8480e 100644
--- a/meta/recipes-kernel/linux/files/debian/isar/common.tmpl
+++ b/meta/recipes-kernel/linux/files/debian/isar/common.tmpl
@@ -18,8 +18,7 @@ KERNEL_PKG_KERN_KBUILD_CROSS=${KERNEL_PKG_KERN_KBUILD}-${DISTRO_ARCH}-cross
# The scripts and tools are always created for host arch
if echo "${DEB_BUILD_PROFILES}" | grep -q -e "cross" -e "kbuild"
then
- eval $(dpkg-architecture -f -A ${DISTRO_ARCH})
- CROSS_COMPILE=${DEB_TARGET_GNU_TYPE}-
+ CROSS_COMPILE=$(dpkg-architecture -f -A ${DISTRO_ARCH} -q DEB_TARGET_GNU_TYPE)-
fi
# Constants
--
2.39.2