public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 1/2] linux-custom: Fix arch dependent deploy dirs for linux-libc-dev packages
@ 2024-07-04 13:07 'Stefan Koch' via isar-users
  2024-07-04 13:07 ` [PATCH 2/2] linux-custom: Do not create empty linux-libc-dev-cross package for linux-native 'Stefan Koch' via isar-users
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: 'Stefan Koch' via isar-users @ 2024-07-04 13:07 UTC (permalink / raw)
  To: isar-users
  Cc: stefan-koch, jan.kiszka, christian.storm, michael.adler,
	simon.sudler, cedric.hombourger, adriaan.schmidt,
	felix.moessbauer, ubely, amikan

- 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 <stefan-koch@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

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/20240704130725.3050993-1-stefan-koch%40siemens.com.

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

end of thread, other threads:[~2024-07-12  6:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-04 13:07 [PATCH 1/2] linux-custom: Fix arch dependent deploy dirs for linux-libc-dev packages 'Stefan Koch' via isar-users
2024-07-04 13:07 ` [PATCH 2/2] linux-custom: Do not create empty linux-libc-dev-cross package for linux-native 'Stefan Koch' via isar-users
2024-07-05 13:12 ` [PATCH 1/2] linux-custom: Fix arch dependent deploy dirs for linux-libc-dev packages 'cedric.hombourger@siemens.com' via isar-users
2024-07-12  6:02 ` Uladzimir Bely

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