public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v2 0/9] HOST_ARCH, -native, riscv64, and all the rest
@ 2023-10-06 15:34 Jan Kiszka
  2023-10-06 15:34 ` [PATCH v2 1/9] Rename BUILD_HOST_ARCH to BUILD_ARCH Jan Kiszka
                   ` (9 more replies)
  0 siblings, 10 replies; 14+ messages in thread
From: Jan Kiszka @ 2023-10-06 15:34 UTC (permalink / raw)
  To: isar-users
  Cc: Adriaan Schmidt, Felix Moessbauer, Uladzimir Bely, Cedric Hombourger

Changes in v2:
 - drop merged revert
 - rename BUILD_HOST_ARCH to BUILD_ARCH
 - add fix for explicit -native build in non-cross setups
 - add missing debian-sid.conf

This tries to resolve the native build issues of the visionfive2, fixing
some remaining corner case of -native usage:

If package A has B-native as build dependency but is then compiled
without cross-building, using qemu-user instead, it will incorrectly
request the build of B:, rather than B:. This
is resolved automatically now, and the solution is used for the
visionfive2.

For that board to build again, we also need to switch from sid-ports to
sid, for riscv64 in general.

Furthermore, this reworks the crossvars logic to also account for the
corner case that a package is still requested as native although
ISAR_CROSS_COMPILE is off. While this is likely irrelvant in practice,
the result is a more consistent logic of the crossvars class.

Jan

Jan Kiszka (9):
  Rename BUILD_HOST_ARCH to BUILD_ARCH
  dpkg: Drop redundant PACKAGE_ARCH initialization
  crossvars: Adjust logic to account for -native package builds in
    non-cross setups
  multiarch: Downgrade native dependencies when building in emulated
    environment
  meta-isar: jh7110-u-boot-spl-tool: Rely on native annotation
  meta-isar: jh7110-u-boot-spl-image: Fix native build
  meta-isar: u-boot-starfive-visionfive2: Simplify build dependencies
  linux-custom: Drop unused template variable
  Move riscv64 from sid-ports to regular sid

 doc/user_manual.md                            |  4 ++--
 kas/distro/Kconfig                            |  6 +++---
 ...{debian-sid-ports.yaml => debian-sid.yaml} |  2 +-
 kas/machine/Kconfig                           |  6 +++---
 meta-isar/conf/mc.conf                        |  6 +++---
 ...64-sid-ports.conf => qemuriscv64-sid.conf} |  2 +-
 ...0-sid-ports.conf => sifive-fu540-sid.conf} |  2 +-
 ...rts.conf => starfive-visionfive2-sid.conf} |  2 +-
 .../jh7110-u-boot-spl-image_0.1.bb            |  6 +++---
 .../jh7110-u-boot-spl-tool_0.1.bb             |  3 ---
 ...-starfive-visionfive2_2021.10+VF2-3.0.4.bb |  4 +---
 meta/classes/crossvars.bbclass                | 19 ++++++++++-------
 meta/classes/dpkg-base.bbclass                |  2 +-
 meta/classes/dpkg.bbclass                     |  4 +---
 meta/classes/multiarch.bbclass                | 12 +++++++++++
 meta/conf/bitbake.conf                        |  2 +-
 meta/conf/distro/debian-sid.conf              | 21 +++++++++++++++++++
 meta/recipes-kernel/linux/linux-custom.inc    |  1 -
 testsuite/citest.py                           |  6 +++---
 19 files changed, 70 insertions(+), 40 deletions(-)
 rename kas/distro/{debian-sid-ports.yaml => debian-sid.yaml} (78%)
 rename meta-isar/conf/multiconfig/{qemuriscv64-sid-ports.conf => qemuriscv64-sid.conf} (85%)
 rename meta-isar/conf/multiconfig/{sifive-fu540-sid-ports.conf => sifive-fu540-sid.conf} (76%)
 rename meta-isar/conf/multiconfig/{starfive-visionfive2-sid-ports.conf => starfive-visionfive2-sid.conf} (78%)
 create mode 100644 meta/conf/distro/debian-sid.conf

-- 
2.35.3


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

end of thread, other threads:[~2023-10-12  5:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-06 15:34 [PATCH v2 0/9] HOST_ARCH, -native, riscv64, and all the rest Jan Kiszka
2023-10-06 15:34 ` [PATCH v2 1/9] Rename BUILD_HOST_ARCH to BUILD_ARCH Jan Kiszka
2023-10-06 15:34 ` [PATCH v2 2/9] dpkg: Drop redundant PACKAGE_ARCH initialization Jan Kiszka
2023-10-06 15:34 ` [PATCH v2 3/9] crossvars: Adjust logic to account for -native package builds in non-cross setups Jan Kiszka
2023-10-06 15:34 ` [PATCH v2 4/9] multiarch: Downgrade native dependencies when building in emulated environment Jan Kiszka
2023-10-06 15:34 ` [PATCH v2 5/9] meta-isar: jh7110-u-boot-spl-tool: Rely on native annotation Jan Kiszka
2023-10-06 15:34 ` [PATCH v2 6/9] meta-isar: jh7110-u-boot-spl-image: Fix native build Jan Kiszka
2023-10-06 15:35 ` [PATCH v2 7/9] meta-isar: u-boot-starfive-visionfive2: Simplify build dependencies Jan Kiszka
2023-10-06 15:35 ` [PATCH v2 8/9] linux-custom: Drop unused template variable Jan Kiszka
2023-10-06 15:35 ` [PATCH v2 9/9] Move riscv64 from sid-ports to regular sid Jan Kiszka
2023-10-11 10:49 ` [PATCH v2 0/9] HOST_ARCH, -native, riscv64, and all the rest Uladzimir Bely
2023-10-11 10:51   ` Jan Kiszka
2023-10-12  4:51     ` Jan Kiszka
2023-10-12  5:06       ` Uladzimir Bely

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