Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
k-sdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈伟灿
k-sdk
Commits
cad01e43
Commit
cad01e43
authored
Sep 01, 2020
by
chen.weican
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改内容】修改数据库采用静态库
【提交人】陈伟灿
parent
44036e7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
common/sqlite/iot.mk
common/sqlite/iot.mk
+1
-3
midware/midware/iot.mk
midware/midware/iot.mk
+4
-4
No files found.
common/sqlite/iot.mk
View file @
cad01e43
LIBSO_TARGET
:=
libsqlite.so
LIBA_TARGET
:=
libsqlite.a
\ No newline at end of file
LDFLAGS
+=
-ldl
\ No newline at end of file
midware/midware/iot.mk
View file @
cad01e43
LIBA_TARGET
:=
libmid
_test
.a
LIBA_TARGET
:=
libmid.a
$(call
Append_Conditional,
LIB_SRCS_EXCLUDE,
midware.c)
$(call
Append_Conditional,
LIB_SRCS_EXCLUDE,
midware.c)
$(call
Append_Conditional,
SRCS_midware,
midware.c)
$(call
Append_Conditional,
SRCS_midware,
midware.c)
...
@@ -11,12 +11,12 @@ CFLAGS += -I$(TOP_DIR)/common/sqlite
...
@@ -11,12 +11,12 @@ CFLAGS += -I$(TOP_DIR)/common/sqlite
CFLAGS
+=
-I
$(TOP_DIR)
/common/zlog
CFLAGS
+=
-I
$(TOP_DIR)
/common/zlog
CFLAGS
+=
-I
$(TOP_DIR)
/src/tsl/tsl_handle
CFLAGS
+=
-I
$(TOP_DIR)
/src/tsl/tsl_handle
LDFLAGS
+=
-lapi_com
-liot_cjson
-lkk_tsl
LDFLAGS
+=
-lapi_com
-liot_cjson
-lkk_tsl
LDFLAGS
+=
-ldl
-lm
-lkk_hal
-lzlog
LDFLAGS
+=
-lm
-lkk_hal
-lzlog
LDFLAGS
+=
-lsqlite
-ldl
ifeq
($(CONFIG_VENDOR),ubuntu)
ifeq
($(CONFIG_VENDOR),ubuntu)
LDFLAGS
+=
-L
$(TOP_DIR)
/common/nanomsg
-lnanomsg_ubuntu
-lanl
LDFLAGS
+=
-L
$(TOP_DIR)
/common/nanomsg
-lnanomsg_ubuntu
-lanl
LDFLAGS
+=
-L
$(TOP_DIR)
/common/ev
-lev_ubuntu
LDFLAGS
+=
-L
$(TOP_DIR)
/common/ev
-lev_ubuntu
else
else
LDFLAGS
+=
-L
$(TOP_DIR)
/common/nanomsg
-lnanomsg
-lanl
LDFLAGS
+=
-L
$(TOP_DIR)
/common/nanomsg
-lnanomsg
-lanl
LDFLAGS
+=
-L
$(TOP_DIR)
/common/ev
-lev
LDFLAGS
+=
-L
$(TOP_DIR)
/common/ev
-lev
endif
endif
LDFLAGS
+=
-lsqlite
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment