py/py.mk: Extra switches to build "embedded" BerkeleyDB BTree lib.
This commit is contained in:
parent
2ec943284a
commit
0dfe849413
2
py/py.mk
2
py/py.mk
|
@ -69,7 +69,7 @@ endif
|
|||
|
||||
ifeq ($(MICROPY_PY_BTREE),1)
|
||||
BTREE_DIR = lib/berkeley-db-1.xx
|
||||
CFLAGS_MOD += -D__DBINTERFACE_PRIVATE=1
|
||||
CFLAGS_MOD += -D__DBINTERFACE_PRIVATE=1 -Dmpool_error=printf -Dabort=abort_ -Dvirt_fd_t=mp_obj_t "-DVIRT_FD_T_HEADER=<py/obj.h>"
|
||||
INC += -I../$(BTREE_DIR)/PORT/include
|
||||
SRC_MOD += extmod/modbtree.c
|
||||
SRC_MOD += $(addprefix $(BTREE_DIR)/,\
|
||||
|
|
Loading…
Reference in New Issue