mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2025-02-15 00:35:18 +00:00
20 lines
410 B
Makefile
20 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
|