mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2026-08-28 01:01:34 +00:00
rel_1.6.0 init
This commit is contained in:
commit
27b3e2883d
19359 changed files with 8093121 additions and 0 deletions
54
Living_SDK/kernel/vcall/vcall.mk
Normal file
54
Living_SDK/kernel/vcall/vcall.mk
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
NAME := vcall
|
||||
|
||||
$(NAME)_TYPE := kernel
|
||||
$(NAME)_MBINS_TYPE := share
|
||||
|
||||
GLOBAL_INCLUDES += ./mico/include
|
||||
|
||||
#default gcc
|
||||
ifeq ($(COMPILER),)
|
||||
$(NAME)_CFLAGS += -Wall -Werror
|
||||
else ifeq ($(COMPILER),gcc)
|
||||
$(NAME)_CFLAGS += -Wall -Werror
|
||||
endif
|
||||
|
||||
ifeq ($(HOST_ARCH),ARM968E-S)
|
||||
$(NAME)_CFLAGS += -marm
|
||||
endif
|
||||
|
||||
vcall ?= rhino
|
||||
|
||||
ifeq ($(vcall),freertos)
|
||||
GLOBAL_DEFINES += VCALL_FREERTOS
|
||||
|
||||
$(NAME)_SOURCES += \
|
||||
aos/aos_freertos.c
|
||||
endif
|
||||
|
||||
ifeq ($(vcall),posix)
|
||||
GLOBAL_DEFINES += VCALL_POSIX
|
||||
|
||||
$(NAME)_SOURCES += \
|
||||
aos/aos_posix.c
|
||||
endif
|
||||
|
||||
ifeq ($(vcall),rhino)
|
||||
GLOBAL_DEFINES += VCALL_RHINO
|
||||
$(NAME)_COMPONENTS += rhino
|
||||
|
||||
ifeq ($(HOST_MCU_FAMILY),esp32)
|
||||
$(NAME)_COMPONENTS += vcall.espos
|
||||
else
|
||||
ifeq ($(HOST_MCU_FAMILY),esp8266)
|
||||
$(NAME)_COMPONENTS += vcall.espos
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(filter $(PLATFORM), linuxhost mk3060 mk3239 mk3166 mk3165))
|
||||
$(NAME)_SOURCES += mico/mico_rhino.c
|
||||
endif
|
||||
|
||||
$(NAME)_SOURCES += \
|
||||
aos/aos_rhino.c
|
||||
endif
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue