From edb5198d24066b8a2e8b4f21a1144cc94e2f5a44 Mon Sep 17 00:00:00 2001 From: Thomas Heijligen Date: Mon, 8 Aug 2022 22:27:10 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/66546 Reviewed-by: Felix Singer Reviewed-by: Angel Pons Reviewed-by: Edward O'Callaghan Tested-by: build bot (Jenkins) --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a16f35127..84d83785b 100644 --- a/Makefile +++ b/Makefile @@ -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' -- cgit v1.2.3