* [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
* [PATCH 2/2] linux-custom: Do not create empty linux-libc-dev-cross package for linux-native
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 ` '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
2 siblings, 0 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
Signed-off-by: Stefan Koch <stefan-koch@siemens.com>
---
meta/recipes-kernel/linux/files/debian/control.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-kernel/linux/files/debian/control.tmpl b/meta/recipes-kernel/linux/files/debian/control.tmpl
index e0e932a0..04ad0f4f 100644
--- a/meta/recipes-kernel/linux/files/debian/control.tmpl
+++ b/meta/recipes-kernel/linux/files/debian/control.tmpl
@@ -32,7 +32,7 @@ Description: Linux support headers for userspace development
are used by the installed headers for GNU glibc and other system libraries.
Package: linux-libc-dev-${DISTRO_ARCH}-cross
-Build-Profiles: <!nolibcdev cross>
+Build-Profiles: <!nolibcdev cross !kbuild>
Section: devel
Provides: linux-kernel-headers-${DISTRO_ARCH}-cross
Architecture: all
--
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-2-stefan-koch%40siemens.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] linux-custom: Fix arch dependent deploy dirs for linux-libc-dev packages
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 ` 'cedric.hombourger@siemens.com' via isar-users
2024-07-12 6:02 ` Uladzimir Bely
2 siblings, 0 replies; 4+ messages in thread
From: 'cedric.hombourger@siemens.com' via isar-users @ 2024-07-05 13:12 UTC (permalink / raw)
To: isar-users, Koch, Stefan
Cc: Storm, Christian, Adler, Michael, amikan, Sudler, Simon, ubely,
MOESSBAUER, Felix, Schmidt, Adriaan, Kiszka, Jan
On Thu, 2024-07-04 at 15:07 +0200, Stefan Koch wrote:
> - 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>
Tested-by: Cedric Hombourger <cedric.hombourger@siemens.com>
(confirmed the issue without the patch and that it is correctly
resolved with that change applied). Thanks!
> ---
> 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
--
Cedric Hombourger
Siemens AG
www.siemens.com
--
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/ef9acb15c0d7087e8b246d2906a63d500d7c2398.camel%40siemens.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] linux-custom: Fix arch dependent deploy dirs for linux-libc-dev packages
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
2 siblings, 0 replies; 4+ messages in thread
From: Uladzimir Bely @ 2024-07-12 6:02 UTC (permalink / raw)
To: Stefan Koch, isar-users
On Thu, 2024-07-04 at 15:07 +0200, Stefan Koch wrote:
> - 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
Series applied to next, thanks.
--
Best regards,
Uladzimir.
--
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/a65bac5189ce4d5c64fe9e8d90353d0d30905df8.camel%40ilbers.de.
^ 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