rel_1.6.0 init

This commit is contained in:
guocheng.kgc 2020-06-18 20:06:52 +08:00 committed by shengdong.dsd
commit 27b3e2883d
19359 changed files with 8093121 additions and 0 deletions

View 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