sim/libusb: add fluoride libusb dependance

Change-Id: I4a99f65c2af67c64adb2f501a02a467b88ab9588
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an
2020-12-05 17:04:04 +08:00
committed by chao an
parent ed99d43735
commit 098efd4949
+8 -4
View File
@@ -154,6 +154,14 @@ ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
CCLINKFLAGS += -g
endif
ifeq ($(CONFIG_BT_LIBUSB),y)
STDLIBS += -lusb-1.0
endif
ifeq ($(CONFIG_FLUORIDE_HCI_USB),y)
STDLIBS += -lusb-1.0
endif
ifeq ($(CONFIG_SIM_M32),y)
LDLINKFLAGS += -melf_i386
CCLINKFLAGS += -m32
@@ -165,7 +173,3 @@ endif
HOSTCFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \
$(ARCHCPUFLAGS) $(HOSTINCLUDES) $(EXTRAFLAGS) -pipe
ifeq ($(CONFIG_BT_LIBUSB),y)
STDLIBS += -lusb-1.0
endif