Attention is currently required from: Anastasia Klimchuk.

Thomas Heijligen has uploaded this change for review.

View Change

doc: Add Windows MSYS2 build instructions

Change-Id: I847428535547242ff32af92c4fe8477241826814
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
---
M doc/dev_guide/building_from_source.rst
1 file changed, 21 insertions(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/89/75189/1
diff --git a/doc/dev_guide/building_from_source.rst b/doc/dev_guide/building_from_source.rst
index 42a16f0..78ef1d9 100644
--- a/doc/dev_guide/building_from_source.rst
+++ b/doc/dev_guide/building_from_source.rst
@@ -81,7 +81,17 @@
cmocka-dev pciutils-dev libusb-dev libjaylink-dev

* Windows
- .. todo:: Add build instructions to build under MSYS2, CYGWIN or cross compiling from Linux
+ * MSYS2
+ Install `MSYS2 <https://www.msys2.org/>`_ as recommended.
+ Then update the MSYS2 installation by running ``pacman -Syu`` multiple times.
+
+ * ``libpci`` is not available through the package manager and pci based programmer are not supported on Windows.
+
+ In the MINGW64 shell run::
+
+ pacman -Sy \
+ mingw-w64-x86_64-gcc mingw-w64-x86_64-meson mingw-w64-x86_64-ninja mingw-w64-x86_64-pkg-config mingw-w64-python-sphinx \
+ mingw-w64-x86_64-cmocka mingw-w64-x86_64-libusb mingw-w64-x86_64-libftdi mingw-w64-x86_64-libjaylink-git

* MacOS
* Homebrew

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I847428535547242ff32af92c4fe8477241826814
Gerrit-Change-Number: 75189
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Heijligen <src@posteo.de>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Attention: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-MessageType: newchange