diff options
author | Thomas Heijligen <thomas.heijligen@secunet.com> | 2021-10-21 10:41:00 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-10-26 12:05:22 +0000 |
commit | 8d8281c3d627da489499dc127de2f728912064de (patch) | |
tree | d6001d50613ceeec54071c4479a310a9be67bb42 | |
parent | 9af6d11082735c6cabf9f71aaaec653093bcb4b6 (diff) | |
download | flashrom-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-- | Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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)) |