Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
08213f83
Commit
08213f83
authored
9 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
poll() and select() should not be built if poll() is disabled
parent
acd3b47d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
arch
+1
-1
1 addition, 1 deletion
arch
drivers/Kconfig
+3
-0
3 additions, 0 deletions
drivers/Kconfig
fs/vfs/Make.defs
+7
-1
7 additions, 1 deletion
fs/vfs/Make.defs
with
11 additions
and
2 deletions
arch
@
5c2e5760
Subproject commit
63bee79ab5f692cde88209ec72e00ae14de7204d
Subproject commit
5c2e57602f96c5df32d1251df89332869c02c5c2
This diff is collapsed.
Click to expand it.
drivers/Kconfig
+
3
−
0
View file @
08213f83
...
...
@@ -11,6 +11,9 @@ config DISABLE_POLL
supported. If you do not use poll() or select(), then you can
select DISABLE_POLL to reduce the code footprint by a small amount.
This selection disables the poll() interface as well as interfaces
the derive from poll() such as select().
config DEV_NULL
bool "Enable /dev/null"
default y
...
...
This diff is collapsed.
Click to expand it.
fs/vfs/Make.defs
+
7
−
1
View file @
08213f83
...
...
@@ -41,7 +41,7 @@ ifneq ($(CONFIG_NSOCKET_DESCRIPTORS),0)
# Socket descriptor support
CSRCS += fs_close.c fs_read.c fs_write.c fs_ioctl.c
fs_poll.c fs_select.c
CSRCS += fs_close.c fs_read.c fs_write.c fs_ioctl.c
# Support for network access using streams
...
...
@@ -49,6 +49,12 @@ ifneq ($(CONFIG_NFILE_STREAMS),0)
CSRCS += fs_fdopen.c
endif
# Support for poll() and select() (which derives from poll()
ifneq ($(CONFIG_DISABLE_POLL),y)
CSRCS += fs_poll.c fs_select.c
endif
# Support for sendfile()
ifeq ($(CONFIG_NET_SENDFILE),y)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment