From: Jan Kiszka <jan.kiszka@web.de>
To: isar-users <isar-users@googlegroups.com>
Subject: Multiconfig woes
Date: Sun, 1 Jul 2018 20:47:38 +0200 [thread overview]
Message-ID: <f194e050-6e04-1a5f-64e7-722bf0c5f8da@web.de> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1077 bytes --]
Hi,
I'm trying to model building different images for different machines -
but for the same architecture. That promises the reuse of common
packages when everything is modeled properly (the kernel, e.g., will be
configured to enable that). But it also exposes some ugliness.
These are my targets so far:
multiconfig:machine1-distro:image
multiconfig:machine2-distro:image
Both machines will share DISTRO_ARCH but will have different MACHINE
variables, obviously. The image recipe will be widely identical, except
for some machine-specific packages, selected by "package-${MACHINE}". So
far so good.
But now we have the same image target in the same distro-arch work
folder, and that clashes. To resolve that, I also need change PN in the
image recipe to "image-${MACHINE}", and that results in the following
targets:
multiconfig:machine1-distro:image-machine1
multiconfig:machine2-distro:image-machine1
Kind of ugly, having the machine ID twice in this target specification.
Is there any better way to model such a scenario?
Thanks,
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next reply other threads:[~2018-07-01 18:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-01 18:47 Jan Kiszka [this message]
2018-07-02 8:10 ` Henning Schild
2018-07-02 8:15 ` Jan Kiszka
2018-07-02 8:58 ` Henning Schild
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=f194e050-6e04-1a5f-64e7-722bf0c5f8da@web.de \
--to=jan.kiszka@web.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