public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH v2] Use the same BBMULTICONFIG for meta-isar and meta-test layers
Date: Fri, 22 Sep 2023 08:03:42 +0200	[thread overview]
Message-ID: <20230922060342.6634-1-ubely@ilbers.de> (raw)

This separates BBMULTICONFIG variable definition to the same
`mc.conf` file in meta-isar layer so that it could be reused
by both `meta-isar` and `meta-test` layers.

This should simplify adding new multiconfigs to Isar.

Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
---
 meta-isar/conf/local.conf.sample | 55 +++-----------------------------
 meta-isar/conf/mc.conf           | 54 +++++++++++++++++++++++++++++++
 meta-test/conf/local.conf.sample | 46 +-------------------------
 3 files changed, 59 insertions(+), 96 deletions(-)
 create mode 100644 meta-isar/conf/mc.conf

Changes since v1:
- Considered new multiconfigs added with
[PATCH v2 0/2] add bookworm versions of nanopi-neo

diff --git a/meta-isar/conf/local.conf.sample b/meta-isar/conf/local.conf.sample
index 9ed5e21c..17455015 100644
--- a/meta-isar/conf/local.conf.sample
+++ b/meta-isar/conf/local.conf.sample
@@ -1,3 +1,6 @@
+# This software is a part of ISAR.
+# Copyright (C) 2023 ilbers GmbH
+
 #
 # This file is your local configuration file and is where all local user settings
 # are placed. The comments in this file give some guide to the options a new user
@@ -33,57 +36,7 @@ DISTRO_ARCH ??= "armhf"
 #
 # Multiple Configuration Selection
 #
-# If you want to use multiple configuration files for the build, list them in the
-# following option.
-#
-# This sets the default multiple configurations used:
-BBMULTICONFIG = " \
-    qemuarm-buster \
-    qemuarm-bullseye \
-    qemuarm-bookworm \
-    qemuarm64-buster \
-    qemuarm64-bullseye \
-    qemuarm64-bookworm \
-    qemui386-buster \
-    qemui386-bullseye \
-    qemui386-bookworm \
-    qemuamd64-buster \
-    qemuamd64-bullseye \
-    qemuamd64-sb-bullseye \
-    qemuamd64-bookworm \
-    container-amd64-buster \
-    container-amd64-bullseye \
-    container-amd64-bookworm \
-    qemumipsel-buster \
-    qemumipsel-bullseye \
-    qemumipsel-bookworm \
-    qemuriscv64-sid-ports \
-    bananapi-buster \
-    bananapi-bullseye \
-    de0-nano-soc-buster \
-    de0-nano-soc-bullseye \
-    hikey-bullseye \
-    hikey-bookworm \
-    imx6-sabrelite-buster \
-    imx6-sabrelite-bullseye \
-    phyboard-mira-bullseye \
-    nanopi-neo-buster \
-    nanopi-neo-bullseye \
-    nanopi-neo-bookworm \
-    nanopi-neo-efi-bookworm \
-    stm32mp15x-bullseye \
-    virtualbox-bullseye \
-    rpi-arm-bullseye \
-    rpi-arm-v7-bullseye \
-    rpi-arm-v7l-bullseye \
-    rpi-arm64-v8-bullseye \
-    sifive-fu540-sid-ports \
-    starfive-visionfive2-sid-ports \
-    qemuarm64-focal \
-    qemuarm64-jammy \
-    qemuamd64-focal \
-    qemuamd64-jammy \
-"
+include ${LAYERDIR_isar}/conf/mc.conf
 
 #
 # Where to place downloads
diff --git a/meta-isar/conf/mc.conf b/meta-isar/conf/mc.conf
new file mode 100644
index 00000000..9637bcb1
--- /dev/null
+++ b/meta-isar/conf/mc.conf
@@ -0,0 +1,54 @@
+# This software is a part of ISAR.
+# Copyright (C) 2023 ilbers GmbH
+
+# If you want to use multiple configuration files for the build, list them in the
+# following option.
+#
+# This sets the default multiple configurations used:
+BBMULTICONFIG = " \
+    qemuarm-buster \
+    qemuarm-bullseye \
+    qemuarm-bookworm \
+    qemuarm64-buster \
+    qemuarm64-bullseye \
+    qemuarm64-bookworm \
+    qemui386-buster \
+    qemui386-bullseye \
+    qemui386-bookworm \
+    qemuamd64-buster \
+    qemuamd64-bullseye \
+    qemuamd64-sb-bullseye \
+    qemuamd64-bookworm \
+    container-amd64-buster \
+    container-amd64-bullseye \
+    container-amd64-bookworm \
+    qemumipsel-buster \
+    qemumipsel-bullseye \
+    qemumipsel-bookworm \
+    qemuriscv64-sid-ports \
+    bananapi-buster \
+    bananapi-bullseye \
+    de0-nano-soc-buster \
+    de0-nano-soc-bullseye \
+    hikey-bullseye \
+    hikey-bookworm \
+    imx6-sabrelite-buster \
+    imx6-sabrelite-bullseye \
+    phyboard-mira-bullseye \
+    nanopi-neo-buster \
+    nanopi-neo-bullseye \
+    nanopi-neo-bookworm \
+    nanopi-neo-efi-bookworm \
+    stm32mp15x-bullseye \
+    virtualbox-bullseye \
+    rpi-arm-bullseye \
+    rpi-arm-v7-bullseye \
+    rpi-arm-v7l-bullseye \
+    rpi-arm64-v8-bullseye \
+    sifive-fu540-sid-ports \
+    starfive-visionfive2-sid-ports \
+    qemuarm64-focal \
+    qemuarm64-jammy \
+    qemuamd64-focal \
+    qemuamd64-jammy \
+"
diff --git a/meta-test/conf/local.conf.sample b/meta-test/conf/local.conf.sample
index b705d3a8..f692f533 100644
--- a/meta-test/conf/local.conf.sample
+++ b/meta-test/conf/local.conf.sample
@@ -7,51 +7,7 @@ DISTRO ??= "debian-bullseye"
 DISTRO_ARCH ??= "armhf"
 
 # The list of known multiple configurations
-BBMULTICONFIG = " \
-    qemuarm-buster \
-    qemuarm-bullseye \
-    qemuarm-bookworm \
-    qemuarm64-buster \
-    qemuarm64-bullseye \
-    qemuarm64-bookworm \
-    qemui386-buster \
-    qemui386-bullseye \
-    qemui386-bookworm \
-    qemuamd64-buster \
-    qemuamd64-bullseye \
-    qemuamd64-sb-bullseye \
-    qemuamd64-bookworm \
-    container-amd64-buster \
-    container-amd64-bullseye \
-    container-amd64-bookworm \
-    qemumipsel-buster \
-    qemumipsel-bullseye \
-    qemumipsel-bookworm \
-    qemuriscv64-sid-ports \
-    bananapi-buster \
-    bananapi-bullseye \
-    de0-nano-soc-buster \
-    de0-nano-soc-bullseye \
-    hikey-bullseye \
-    hikey-bookworm \
-    imx6-sabrelite-buster \
-    imx6-sabrelite-bullseye \
-    phyboard-mira-bullseye \
-    nanopi-neo-buster \
-    nanopi-neo-bullseye \
-    stm32mp15x-bullseye \
-    virtualbox-bullseye \
-    rpi-arm-bullseye \
-    rpi-arm-v7-bullseye \
-    rpi-arm-v7l-bullseye \
-    rpi-arm64-v8-bullseye \
-    sifive-fu540-sid-ports \
-    starfive-visionfive2-sid-ports \
-    qemuarm64-focal \
-    qemuarm64-jammy \
-    qemuamd64-focal \
-    qemuamd64-jammy \
-"
+include ${LAYERDIR_isar}/conf/mc.conf
 
 # Disable interactive patch resolution
 PATCHRESOLVE = "noop"
-- 
2.20.1


             reply	other threads:[~2023-09-22  6:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-22  6:03 Uladzimir Bely [this message]
2023-09-25  6:04 ` Uladzimir Bely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230922060342.6634-1-ubely@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox