diff options
author | Thomas Heijligen <thomas.heijligen@secunet.com> | 2022-08-08 22:27:10 +0200 |
---|---|---|
committer | Thomas Heijligen <src@posteo.de> | 2022-08-12 17:37:09 +0000 |
commit | edb5198d24066b8a2e8b4f21a1144cc94e2f5a44 (patch) | |
tree | 46411e2fd6b754cafc9351bc7cfb118a67983a73 | |
parent | 1392a08c5098c2a9d15b796312e2d4e055e1ed07 (diff) | |
download | flashrom-edb5198d24066b8a2e8b4f21a1144cc94e2f5a44.tar.gz flashrom-edb5198d24066b8a2e8b4f21a1144cc94e2f5a44.tar.bz2 flashrom-edb5198d24066b8a2e8b4f21a1144cc94e2f5a44.zip |
Makefile: Fix build for Windows
Mark programmers requiring RAW_MEM_ACCESS, X86_IO_PORT and X86_MSR as
unsupported on Windows
TEST=Buils on Cygwin (Windows 11, amd64, gcc 11.3.0)
Change-Id: If70691a9eae40c394a06d11349bedefa40586f4a
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66546
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -263,6 +263,9 @@ override LDFLAGS += -lgetopt endif ifeq ($(TARGET_OS), $(filter $(TARGET_OS), MinGW Cygwin)) +$(call mark_unsupported,$(DEPENDS_ON_RAW_MEM_ACCESS)) +$(call mark_unsupported,$(DEPENDS_ON_X86_PORT_IO)) +$(call mark_unsupported,$(DEPENDS_ON_X86_MSR)) FEATURE_FLAGS += -D'IS_WINDOWS=1' else FEATURE_FLAGS += -D'IS_WINDOWS=0' |