Make system: Build the drivers/ directory even if file descriptors are disabled. There are still things that may be needed from the drivers/ director (such as SYSLOG logic or lower half drivers).

This commit is contained in:
Gregory Nutt
2016-06-20 16:33:20 -06:00
parent 505ca542e8
commit ec1e1a10fd
6 changed files with 41 additions and 15 deletions
+6 -3
View File
@@ -59,7 +59,10 @@ endif
#
# FSDIRS depend on file descriptor support; NONFSDIRS do not (except for parts
# of FSDIRS). We will exclude FSDIRS from the build if file descriptor
# support is disabled
# support is disabled. NOTE that drivers, in general, depends on file
# descriptor support but is always built because there are other components
# in the drivers directory that are needed even if file descriptors are not
# supported.
# CONTEXTDIRS include directories that have special, one-time pre-build
# requirements. Normally this includes things like auto-generation of
# configuration specific files or creation of configurable symbolic links
@@ -69,8 +72,8 @@ endif
# be cleaned to prevent garbage from collecting in them when changing
# configurations.
NONFSDIRS = sched configs $(ARCH_SRC) $(NUTTX_ADDONS)
FSDIRS = fs drivers binfmt
NONFSDIRS = sched drivers configs $(ARCH_SRC) $(NUTTX_ADDONS)
FSDIRS = fs binfmt
CONTEXTDIRS = $(APPDIR)
USERDIRS =
OTHERDIRS = lib