summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2022-03-15 12:55:40 +0100
committerNico Huber <nico.h@gmx.de>2022-04-13 11:39:25 +0000
commit48fef95b79920611ba284a946d5950b8afeeb38b (patch)
treecc0277329ad47b7f78eba526f06cabc6ba5ba3ef /Makefile
parenta2be4c9dc638c029185e9ca0ca9752feae75523e (diff)
downloadflashrom-48fef95b79920611ba284a946d5950b8afeeb38b.tar.gz
flashrom-48fef95b79920611ba284a946d5950b8afeeb38b.tar.bz2
flashrom-48fef95b79920611ba284a946d5950b8afeeb38b.zip
NEED_PCI: remove macro
The NEED_PCI macro is only used to guard prototypes. This is not needed. Change-Id: I6895b795bc96b3e251700bff4b0054407aac789a Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/62834 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bfa9c6799..367d8ee79 100644
--- a/Makefile
+++ b/Makefile
@@ -838,7 +838,6 @@ endif
USE_LIBPCI := $(if $(call filter_deps,$(DEPENDS_ON_LIBPCI)),yes,no)
ifeq ($(USE_LIBPCI), yes)
PROGRAMMER_OBJS += pcidev.o
-FEATURE_FLAGS += -D'NEED_PCI=1'
override CFLAGS += $(CONFIG_LIBPCI_CFLAGS)
override LDFLAGS += $(CONFIG_LIBPCI_LDFLAGS)
endif