blob: 46fcba869b93f8cf51994234074bed80c0fd7daa [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001
2include $(COMMON_BASE_MK)
3
4ifeq ($(USERDATA_FS_TYPE),jffs2)
5CFLAGS += -DUSE_JFFS2
6endif
7
8ifeq ($(USERDATA_FS_TYPE),ubifs)
9CFLAGS += -DUSE_UBIFS
10endif
11
12ifeq ($(GLOBAL_DEBUG),yes)
13CFLAGS += -DGLOBAL_DEBUG
14endif
15
16ifneq ($(CUSTOM_MACRO),"")
17CFLAGS += $(CUSTOM_MACRO)
18endif
19
20ifeq ($(CONFIG_SINGLECORE),yes)
21CFLAGS += -DCONFIG_SINGLECORE
22endif
23
24ifeq ($(USE_FOTA_AB),yes)
25CFLAGS += -DFOTA_AB
26endif