|
@ -77,7 +77,7 @@ endif |
|
|
|
|
|
|
|
|
ifeq ($(MICROPY_PY_BTREE),1) |
|
|
ifeq ($(MICROPY_PY_BTREE),1) |
|
|
BTREE_DIR = lib/berkeley-db-1.xx |
|
|
BTREE_DIR = lib/berkeley-db-1.xx |
|
|
BTREE_DEFS = -D__DBINTERFACE_PRIVATE=1 -Dmpool_error=printf -Dabort=abort_ -Dvirt_fd_t=mp_obj_t "-DVIRT_FD_T_HEADER=<py/obj.h>" $(BTREE_DEFS_EXTRA) |
|
|
BTREE_DEFS = -D__DBINTERFACE_PRIVATE=1 -Dmpool_error=printf -Dabort=abort_ "-Dvirt_fd_t=void*" $(BTREE_DEFS_EXTRA) |
|
|
INC += -I$(TOP)/$(BTREE_DIR)/PORT/include |
|
|
INC += -I$(TOP)/$(BTREE_DIR)/PORT/include |
|
|
SRC_MOD += extmod/modbtree.c |
|
|
SRC_MOD += extmod/modbtree.c |
|
|
SRC_MOD += $(addprefix $(BTREE_DIR)/,\
|
|
|
SRC_MOD += $(addprefix $(BTREE_DIR)/,\
|
|
|