-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlibnimble.mk
103 lines (87 loc) · 4.54 KB
/
libnimble.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#*********************************************************************************************************
#
# 北京翼辉信息技术有限公司
#
# 微型安全实时操作系统
#
# MS-RTOS(TM)
#
# Copyright All Rights Reserved
#
#--------------文件信息--------------------------------------------------------------------------------
#
# 文 件 名: libnimble.mk
#
# 创 建 人: IoT Studio
#
# 文件创建日期: 2020 年 12 月 19 日
#
# 描 述: 本文件由 IoT Studio 生成,用于配置 Makefile 功能,请勿手动修改
#*********************************************************************************************************
#*********************************************************************************************************
# Clear setting
#*********************************************************************************************************
include $(CLEAR_VARS_MK)
#*********************************************************************************************************
# Target
#*********************************************************************************************************
LOCAL_TARGET_NAME := libnimble.a
NIMBLE_ROOT := ./src/mynewt-nimble
NIMBLE_CFG_CONTROLLER :=
NIMBLE_CFG_TINYCRYPT := yes
NIMBLE_CFG_MESH :=
NIMBLE_IGNORE := ./src/mynewt-nimble/porting/nimble/src/hal_timer.c
include $(NIMBLE_ROOT)/porting/nimble/Makefile.defs
#*********************************************************************************************************
# Source list
#*********************************************************************************************************
LOCAL_SRCS := \
$(NIMBLE_SRC) \
$(TINYCRYPT_SRC) \
./src/mynewt-nimble/porting/npl/msrtos/src/npl_os_msrtos.c
#*********************************************************************************************************
# Header file search path (eg. LOCAL_INC_PATH := -I"Your header files search path")
#*********************************************************************************************************
LOCAL_INC_PATH := \
$(addprefix -I, $(basename $(NIMBLE_INCLUDE))) \
$(addprefix -I, $(basename $(TINYCRYPT_INCLUDE))) \
-I"$(NIMBLE_ROOT)/porting/npl/msrtos/include"
#*********************************************************************************************************
# Pre-defined macro (eg. -DYOUR_MARCO=1)
#*********************************************************************************************************
LOCAL_DSYMBOL := \
-D__MS_KERNEL_SPACE
#*********************************************************************************************************
# Compiler flags
#*********************************************************************************************************
LOCAL_CFLAGS := $(NIMBLE_CFLAGS) $(TINYCRYPT_CFLAGS)
LOCAL_CXXFLAGS :=
#*********************************************************************************************************
# Depend library (eg. LOCAL_DEPEND_LIB := -la LOCAL_DEPEND_LIB_PATH := -L"Your library search path")
#*********************************************************************************************************
LOCAL_DEPEND_LIB :=
LOCAL_DEPEND_LIB_PATH :=
#*********************************************************************************************************
# C++ config
#*********************************************************************************************************
LOCAL_USE_CXX := no
LOCAL_USE_CXX_EXCEPT := no
#*********************************************************************************************************
# Code coverage config
#*********************************************************************************************************
LOCAL_USE_GCOV := no
#*********************************************************************************************************
# User link command
#*********************************************************************************************************
LOCAL_PRE_LINK_CMD :=
LOCAL_POST_LINK_CMD :=
LOCAL_PRE_STRIP_CMD :=
LOCAL_POST_STRIP_CMD :=
#*********************************************************************************************************
# Depend target
#*********************************************************************************************************
LOCAL_DEPEND_TARGET :=
include $(KERNEL_LIBRARY_MK)
#*********************************************************************************************************
# End
#*********************************************************************************************************