mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Refine __KERNEL__ and CONFIG_BUILD_xxx usage in the code base
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
fe5cb9529d
commit
eca7059785
@@ -64,13 +64,11 @@ USERDEPDIRS :=
|
||||
|
||||
ifeq ($(CONFIG_BUILD_PROTECTED),y)
|
||||
USERDEPDIRS += $(APPDIR)
|
||||
else
|
||||
ifneq ($(CONFIG_BUILD_KERNEL),y)
|
||||
else ifneq ($(CONFIG_BUILD_KERNEL),y)
|
||||
KERNDEPDIRS += $(APPDIR)
|
||||
else
|
||||
CLEANDIRS += $(APPDIR)
|
||||
endif
|
||||
endif
|
||||
|
||||
KERNDEPDIRS += sched drivers boards $(ARCH_SRC)
|
||||
KERNDEPDIRS += fs binfmt
|
||||
|
||||
Reference in New Issue
Block a user