summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2022-01-20 16:45:14 +0100
committerNico Huber <nico.h@gmx.de>2022-03-14 11:30:54 +0000
commit0f51f62c6265af5977fec7425596b65a3926c42b (patch)
treef83d354734454f4fd7ebfc6717ec3087b5598b33 /Makefile
parent60c3b61d09b6d0522af4242a351b0f52f18dd036 (diff)
downloadflashrom-0f51f62c6265af5977fec7425596b65a3926c42b.tar.gz
flashrom-0f51f62c6265af5977fec7425596b65a3926c42b.tar.bz2
flashrom-0f51f62c6265af5977fec7425596b65a3926c42b.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 0 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index 53531a4aa..f5ed409e7 100644
--- a/Makefile
+++ b/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.