mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
Separate flat, protected, and kernel mode library selected into separate files. The conditional logic as exceed my able to comprehend and maintain the selections.
This commit is contained in:
@@ -117,7 +117,15 @@ endif
|
||||
|
||||
# Library build selections
|
||||
|
||||
ifeq ($(CONFIG_BUILD_PROTECTED),y)
|
||||
include ProtectedLibs.mk
|
||||
else
|
||||
ifeq ($(CONFIG_BUILD_KERNEL),y)
|
||||
include KernelLibs.mk
|
||||
else
|
||||
include FlatLibs.mk
|
||||
endif
|
||||
endif
|
||||
|
||||
# LINKLIBS derives from NUTTXLIBS and is simply the same list with the
|
||||
# subdirectory removed
|
||||
|
||||
Reference in New Issue
Block a user