summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2021-10-21 10:41:00 +0200
committerNico Huber <nico.h@gmx.de>2021-10-26 12:05:22 +0000
commit8d8281c3d627da489499dc127de2f728912064de (patch)
treed6001d50613ceeec54071c4479a310a9be67bb42
parent9af6d11082735c6cabf9f71aaaec653093bcb4b6 (diff)
downloadflashrom-8d8281c3d627da489499dc127de2f728912064de.tar.gz
flashrom-8d8281c3d627da489499dc127de2f728912064de.tar.bz2
flashrom-8d8281c3d627da489499dc127de2f728912064de.zip
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>
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0b60de2cd..be1d59c25 100644
--- a/Makefile
+++ b/Makefile
@@ -801,7 +801,6 @@ endif
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))