Nico Huber submitted this change.
Makefile: remove NEED_LIBUSB1 from FEATURE_CFLAGS
NEED_LIBUSB1 is not used outside of the Makefile. No need to pass it to
the compiler.
Change-Id: Ie7cb3df39daf22cb954186d38ba32812b05d92f9
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/58518
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
---
M Makefile
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 0b60de2..be1d59c 100644
--- a/Makefile
+++ b/Makefile
@@ -801,7 +801,6 @@
NEED_LIBUSB1 := $(call filter_deps,$(DEPENDS_ON_LIBUSB1))
ifneq ($(NEED_LIBUSB1), )
CHECK_LIBUSB1 = yes
-FEATURE_CFLAGS += -D'NEED_LIBUSB1=1'
PROGRAMMER_OBJS += usbdev.o usb_device.o
# FreeBSD and DragonflyBSD use a reimplementation of libusb-1.0 that is simply called libusb
ifeq ($(TARGET_OS), $(filter $(TARGET_OS), FreeBSD DragonFlyBSD))
To view, visit change 58518. To unsubscribe, or for help writing mail filters, visit settings.