1ifneq ($(GEN_SDK_LIB_WW),1)
2obj-y := userapi/
3
4ifeq ($(TILE_DATAPATH_ENABLED), 1)
5obj-y += tile
6endif
7
8ifeq ($(THIRDPARTY_LIB),)
9THIRDPARTY_LIB := demo
10endif
11
12obj-y += $(foreach lib,$(THIRDPARTY_LIB),$(lib)_lib/)
13
14
15else
16
17cur_dir := $(dir $(lastword $(MAKEFILE_LIST)))
18
19LIB_NAME := libww
20ifneq ($(SDK),1)
21
22src_obj := userapi/
23
24ifeq ($(TILE_DATAPATH_ENABLED), 1)
25src_obj += tile
26endif
27
28ifeq ($(THIRDPARTY_LIB),)
29THIRDPARTY_LIB := demo
30endif
31
32src_obj += $(foreach lib,$(THIRDPARTY_LIB),$(lib)_lib/)
33
34$(LIB_NAME)-y := $(src_obj)
35endif
36
37obj-y := $(LIB_NAME).a
38endif
39
40ifeq ($(BES_BLE_MESH_ENABLE),1)
41obj-y += bluetooth/
42endif