mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
hwaccess_x86_io: clean header concept
Move all function implementations into the .c file TEST: `[g]make [WARNERROR=no]` on Linux, FreeBSD, NetBSD, OpenBSD, DragonflyBSD, OpenIndiana, Debian-GNU/Hurd Change-Id: I1400704e9ac5fed00c096796536108d5bfb875e3 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/61276 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:

committed by
Nico Huber

parent
60c3b61d09
commit
0f51f62c62
19
Makefile
19
Makefile
@ -365,25 +365,6 @@ ifneq ($(ARCH), $(filter $(ARCH), x86 mips ppc arm sparc arc))
|
||||
$(call mark_unsupported,$(DEPENDS_ON_RAW_MEM_ACCESS))
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Linux Darwin NetBSD OpenBSD))
|
||||
FEATURE_FLAGS += -D'USE_IOPL=1'
|
||||
else
|
||||
FEATURE_FLAGS += -D'USE_IOPL=0'
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_OS), $(filter $(TARGET_OS), FreeBSD FreeBSD-glibc DragonFlyBSD))
|
||||
FEATURE_FLAGS += -D'USE_DEV_IO=1'
|
||||
else
|
||||
FEATURE_FLAGS += -D'USE_DEV_IO=0'
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Hurd))
|
||||
FEATURE_FLAGS += -D'USE_IOPERM=1'
|
||||
else
|
||||
FEATURE_FLAGS += -D'USE_IOPERM=0'
|
||||
endif
|
||||
|
||||
|
||||
###############################################################################
|
||||
# Flash chip drivers and bus support infrastructure.
|
||||
|
||||
|
Reference in New Issue
Block a user