mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2025-02-11 06:45:19 +00:00
16 lines
410 B
Makefile
16 lines
410 B
Makefile
|
NAME := newlib_stub
|
||
|
|
||
|
ifeq ($(COMPILER),armcc)
|
||
|
$(NAME)_TYPE := share
|
||
|
$(NAME)_SOURCES := compilers/armlibc/armcc_libc.c
|
||
|
GLOBAL_INCLUDES += compilers/armlibc
|
||
|
else ifeq ($(COMPILER),iar)
|
||
|
$(NAME)_TYPE := share
|
||
|
GLOBAL_INCLUDES += compilers/iar
|
||
|
$(NAME)_SOURCES := compilers/iar/iar_libc.c
|
||
|
else ifneq ($(HOST_MCU_FAMILY),linux)
|
||
|
$(NAME)_TYPE := share
|
||
|
$(NAME)_MBINS_TYPE := share
|
||
|
$(NAME)_SOURCES := newlib_stub.c
|
||
|
endif
|