Attention is currently required from: Edward O'Callaghan, Anastasia Klimchuk.

Thomas Heijligen uploaded patch set #11 to this change.

View Change

[WIP] meson: rework the programmer selection

This is a WIP implementation for a new programmer selection. It should
work by now but has some known and unknown bugs. (see Gerrit Comments)

- Each dependency is optional and gets mandatory when the programmer is
selected as active.
- Each programmer is defined through an entry in the programmer
dictionary
- The entry lists systems & cpu_families where the programmer is
supported; Dependencies, sources and flags. The group parameter is for
selecting a set of programmer, the default parameter is to include the
programmer to the `all` and `auto` set.
- If the programmer gets selected the `active` entry is set to true.
The `active` entry can be used afterwards to determine if the
programmer should be included in sources, config, documentation
- Needed system headers are represended through a pseudo dependency.
- The programmer's `srcs` attribute contains all files which are needed
to build the programmer.

Change-Id: Ib44b26e3748fc71f116184082b4aed0bb208b4c1
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
---
M meson.build
M meson_options.txt
2 files changed, 413 insertions(+), 337 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/24/63724/11

To view, visit change 63724. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ib44b26e3748fc71f116184082b4aed0bb208b4c1
Gerrit-Change-Number: 63724
Gerrit-PatchSet: 11
Gerrit-Owner: Thomas Heijligen <src@posteo.de>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Felix Singer <felixsinger@posteo.net>
Gerrit-CC: Nico Huber <nico.h@gmx.de>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-CC: Peter Marheine <pmarheine@chromium.org>
Gerrit-CC: Richard Hughes <richard@hughsie.com>
Gerrit-Attention: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Attention: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-MessageType: newpatchset