mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2025-02-14 16:25:19 +00:00
19 lines
410 B
Makefile
19 lines
410 B
Makefile
NAME := mesh
|
|
|
|
$(NAME)_TYPE := kernel
|
|
GLOBAL_INCLUDES += include
|
|
GLOBAL_DEFINES += CONFIG_AOS_MESH
|
|
|
|
ifeq ($(HOST_ARCH), linux)
|
|
LIB_DIR := linux
|
|
else ifeq ($(HOST_ARCH), ARM968E-S)
|
|
LIB_DIR := arm968es
|
|
else ifeq ($(HOST_ARCH), xtensa)
|
|
LIB_DIR := xtensa
|
|
else ifeq ($(HOST_ARCH), Cortex-M4)
|
|
LIB_DIR := cortex-m4
|
|
else
|
|
$(error "not find correct platform!")
|
|
endif
|
|
|
|
$(NAME)_PREBUILT_LIBRARY := lib/$(LIB_DIR)/libmesh.a
|