-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
86 lines (73 loc) · 3.17 KB
/
Makefile
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
#*********************************************************************************************************
#
# 北京翼辉信息技术有限公司
#
# 微型安全实时操作系统
#
# MS-RTOS(TM)
#
# Copyright All Rights Reserved
#
#--------------文件信息--------------------------------------------------------------------------------
#
# 文 件 名: Makefile
#
# 创 建 人: IoT Studio
#
# 文件创建日期: 2020 年 05 月 13 日
#
# 描 述: 本文件由 IoT Studio 生成,用于配置 Makefile 功能,请勿手动修改
#*********************************************************************************************************
#*********************************************************************************************************
# Include config.mk
#*********************************************************************************************************
CONFIG_MK_EXIST = $(shell if [ -f ../config.mk ]; then echo exist; else echo notexist; fi;)
ifeq ($(CONFIG_MK_EXIST), exist)
include ../config.mk
else
CONFIG_MK_EXIST = $(shell if [ -f config.mk ]; then echo exist; else echo notexist; fi;)
ifeq ($(CONFIG_MK_EXIST), exist)
include config.mk
else
CONFIG_MK_EXIST =
endif
endif
#*********************************************************************************************************
# Include MS-RTOS base config.mk
#*********************************************************************************************************
EMPTY =
SPACE = $(EMPTY) $(EMPTY)
MSRTOS_BASE_PATH_BAK := $(MSRTOS_BASE_PATH)
TOOLCHAIN_PREFIX_BAK := $(TOOLCHAIN_PREFIX)
DEBUG_LEVEL_BAK := $(DEBUG_LEVEL)
CPU_TYPE_BAK := $(CPU_TYPE)
FPU_TYPE_BAK := $(FPU_TYPE)
MSRTOS_BASE_CONFIGMK = $(subst $(SPACE),\ ,$(MSRTOS_BASE_PATH))/config.mk
include $(MSRTOS_BASE_CONFIGMK)
MSRTOS_BASE_PATH := $(MSRTOS_BASE_PATH_BAK)
DEBUG_LEVEL := $(DEBUG_LEVEL_BAK)
ifneq ($(TOOLCHAIN_PREFIX_BAK),)
TOOLCHAIN_PREFIX := $(TOOLCHAIN_PREFIX_BAK)
endif
ifneq ($(CPU_TYPE_BAK),)
CPU_TYPE := $(CPU_TYPE_BAK)
endif
ifneq ($(FPU_TYPE_BAK),)
FPU_TYPE := $(FPU_TYPE_BAK)
endif
#*********************************************************************************************************
# Include header.mk
#*********************************************************************************************************
MKTEMP = $(subst $(SPACE),\ ,$(MSRTOS_BASE_PATH))/libmsrtos/src/mktemp
include $(MKTEMP)/header.mk
#*********************************************************************************************************
# Include targets makefiles
#*********************************************************************************************************
include libedgefs.mk
#*********************************************************************************************************
# Include end.mk
#*********************************************************************************************************
include $(END_MK)
#*********************************************************************************************************
# End
#*********************************************************************************************************