mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2026-08-29 01:31:32 +00:00
rel_1.6.0 init
This commit is contained in:
commit
27b3e2883d
19359 changed files with 8093121 additions and 0 deletions
32
Living_SDK/kernel/vfs/vfs.mk
Executable file
32
Living_SDK/kernel/vfs/vfs.mk
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
NAME := vfs
|
||||
|
||||
$(NAME)_TYPE := kernel
|
||||
$(NAME)_MBINS_TYPE := kernel
|
||||
|
||||
$(NAME)_SOURCES := vfs.c
|
||||
$(NAME)_SOURCES += select.c
|
||||
$(NAME)_SOURCES += device.c
|
||||
$(NAME)_SOURCES += vfs_file.c
|
||||
$(NAME)_SOURCES += vfs_inode.c
|
||||
$(NAME)_SOURCES += vfs_register.c
|
||||
|
||||
ifeq ($(HOST_ARCH),linux)
|
||||
$(NAME)_DEFINES += IO_NEED_TRAP
|
||||
endif
|
||||
|
||||
#default gcc
|
||||
ifeq ($(COMPILER),)
|
||||
$(NAME)_CFLAGS += -Wall -Werror
|
||||
else ifeq ($(COMPILER),gcc)
|
||||
$(NAME)_CFLAGS += -Wall -Werror
|
||||
else ifeq ($(COMPILER),armcc)
|
||||
GLOBAL_DEFINES += __BSD_VISIBLE
|
||||
endif
|
||||
|
||||
GLOBAL_INCLUDES += include
|
||||
GLOBAL_DEFINES += AOS_VFS
|
||||
|
||||
ifneq ($(IDE),keil)
|
||||
$(NAME)_COMPONENTS += kernel.vfs.device
|
||||
endif
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue