mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2025-02-10 22:35:20 +00:00
50 lines
1.7 KiB
Makefile
Executable file
50 lines
1.7 KiB
Makefile
Executable file
NAME := rhino
|
|
|
|
$(NAME)_TYPE := kernel
|
|
$(NAME)_MBINS_TYPE := kernel
|
|
|
|
$(NAME)_COMPONENTS += rhino
|
|
|
|
GLOBAL_INCLUDES += core/include uspace/include debug/include hal/soc ./
|
|
|
|
#default gcc
|
|
ifeq ($(COMPILER),)
|
|
$(NAME)_CFLAGS += -Wall -Werror
|
|
else ifeq ($(COMPILER),gcc)
|
|
$(NAME)_CFLAGS += -Wall -Werror
|
|
endif
|
|
|
|
CONFIG_SYSINFO_KERNEL_VERSION = AOS-R-1.3.4
|
|
GLOBAL_CFLAGS += -DSYSINFO_KERNEL_VERSION=\"$(CONFIG_SYSINFO_KERNEL_VERSION)\"
|
|
$(info kernel_version:${CONFIG_SYSINFO_KERNEL_VERSION})
|
|
|
|
$(NAME)_SOURCES := core/k_err.c \
|
|
core/k_mm.c \
|
|
core/k_mm_debug.c \
|
|
core/k_ringbuf.c \
|
|
core/k_stats.c \
|
|
core/k_task_sem.c \
|
|
core/k_timer.c \
|
|
core/k_buf_queue.c \
|
|
core/k_event.c \
|
|
core/k_mm_blk.c \
|
|
core/k_mutex.c \
|
|
core/k_pend.c \
|
|
core/k_sched.c \
|
|
core/k_sys.c \
|
|
core/k_tick.c \
|
|
core/k_workqueue.c \
|
|
core/k_dyn_mem_proc.c \
|
|
core/k_idle.c \
|
|
core/k_obj.c \
|
|
core/k_queue.c \
|
|
core/k_sem.c \
|
|
core/k_task.c \
|
|
core/k_time.c \
|
|
common/k_fifo.c \
|
|
common/k_trace.c \
|
|
debug/k_overview.c \
|
|
debug/k_panic.c \
|
|
debug/k_backtrace.c \
|
|
debug/k_infoget.c
|
|
|