Attention is currently required from: Thomas Heijligen, Peter Marheine.

Peter Marheine uploaded patch set #2 to this change.

View Change

ni845x_spi: support building with Meson

This adds a dependency definition for the ni845x library (attempting to
find it in the default install location, allowing the user to specify a
custom path) and adds ni845x_spi as a supported programmer for Meson.

Full functionality has not been verified because the ni845x.h header
shipped with driver version 2022 Q3 causes compile errors relating to
`kNI845XExport` not being defined when built with GCC 12 as shipped by
MSYS2, but this seems to be unrelated to Meson specifically and likely
needs to be fixed more comprehensively through some other method.

Build configuration has been manually inspected to check that the
library is being linked appropriately, since I am unable to compile
the ni845x_spi programmer successfully.

Ticket: https://ticket.coreboot.org/issues/487
Signed-off-by: Peter Marheine <pmarheine@chromium.org>
Change-Id: I90e85c424f97898b47bf0a3d78672d6c25af12b0
---
M meson.build
M meson_options.txt
2 files changed, 56 insertions(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/63/74963/2

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I90e85c424f97898b47bf0a3d78672d6c25af12b0
Gerrit-Change-Number: 74963
Gerrit-PatchSet: 2
Gerrit-Owner: Peter Marheine <pmarheine@chromium.org>
Gerrit-Reviewer: Thomas Heijligen <src@posteo.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Thomas Heijligen <src@posteo.de>
Gerrit-Attention: Peter Marheine <pmarheine@chromium.org>
Gerrit-MessageType: newpatchset