mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +02:00
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>
This commit is contained in:
parent
1392a08c50
commit
edb5198d24
3
Makefile
3
Makefile
@ -263,6 +263,9 @@ override LDFLAGS += -lgetopt
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_OS), $(filter $(TARGET_OS), MinGW Cygwin))
|
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'
|
FEATURE_FLAGS += -D'IS_WINDOWS=1'
|
||||||
else
|
else
|
||||||
FEATURE_FLAGS += -D'IS_WINDOWS=0'
|
FEATURE_FLAGS += -D'IS_WINDOWS=0'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user