mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
test: fix compile
This commit is contained in:
parent
ceecb9d95a
commit
d622dcd08a
@ -196,7 +196,7 @@ static void delete_link_key(bd_addr_t bd_addr){
|
||||
}
|
||||
|
||||
static int iterator_init(btstack_link_key_iterator_t * it){
|
||||
tinydir_dir * dir = malloc(sizeof(tinydir_dir));
|
||||
tinydir_dir * dir = (tinydir_dir *) malloc(sizeof(tinydir_dir));
|
||||
if (!dir) return 0;
|
||||
it->context = dir;
|
||||
tinydir_open(dir, LINK_KEY_PATH);
|
||||
|
@ -39,6 +39,7 @@ CFLAGS += -I${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/include -D OI_DEBUG
|
||||
CFLAGS += -I${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/include
|
||||
CFLAGS += -I${BTSTACK_ROOT}/3rd-party/hxcmod-player
|
||||
CFLAGS += -I${BTSTACK_ROOT}/3rd-party/hxcmod-player/mods
|
||||
CFLAGS += -I${BTSTACK_ROOT}/3rd-party/tinydir
|
||||
CFLAGS += -I${BTSTACK_ROOT}/platform/posix
|
||||
CFLAGS += -I${BTSTACK_ROOT}/platform/embedded
|
||||
CFLAGS += -I${BTSTACK_ROOT}/port/libusb
|
||||
|
@ -36,6 +36,7 @@ CFLAGS += -I${BTSTACK_ROOT}/src
|
||||
CFLAGS += -I${BTSTACK_ROOT}/src/classic
|
||||
CFLAGS += -I${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/include -D OI_DEBUG
|
||||
CFLAGS += -I${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/include
|
||||
CFLAGS += -I${BTSTACK_ROOT}/3rd-party/tinydir
|
||||
CFLAGS += -I${BTSTACK_ROOT}/platform/posix
|
||||
CFLAGS += -I${BTSTACK_ROOT}/platform/embedded
|
||||
CFLAGS += -I..
|
||||
|
@ -9,8 +9,9 @@ CFLAGS = -g -Wall \
|
||||
-I. \
|
||||
-I.. \
|
||||
-I${BTSTACK_ROOT}/src \
|
||||
-I${BTSTACK_ROOT}/platform/posix
|
||||
|
||||
-I${BTSTACK_ROOT}/platform/posix \
|
||||
-I${BTSTACK_ROOT}/3rd-party/tinydir
|
||||
|
||||
LDFLAGS += -lCppUTest -lCppUTestExt
|
||||
|
||||
VPATH += ${BTSTACK_ROOT}/src/classic
|
||||
|
Loading…
Reference in New Issue
Block a user