mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
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>
This commit is contained in:

committed by
Nico Huber

parent
a2be4c9dc6
commit
48fef95b79
@ -159,7 +159,6 @@ endif
|
||||
if get_option('pciutils')
|
||||
srcs += 'pcidev.c'
|
||||
deps += dependency('libpci')
|
||||
cargs += '-DNEED_PCI=1'
|
||||
elif need_libpci
|
||||
error('pciutils is disabled but one or more enabled programmer requires PCI access')
|
||||
endif
|
||||
|
Reference in New Issue
Block a user