Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/posix-*: Fix missing/unneeded dependencies #1393

Merged
merged 3 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/posix-fdio/Config.uk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
config LIBPOSIX_FDIO
bool "posix-fdio: File I/O and control"
select LIBUKATOMIC
select LIBUKFILE
select LIBPOSIX_FDTAB
select LIBPOSIX_FDTAB_LEGACY_SHIM
1 change: 1 addition & 0 deletions lib/posix-fdtab/Config.uk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
menuconfig LIBPOSIX_FDTAB
bool "posix-fdtab: File descriptor table"
select LIBUKATOMIC
select LIBUKFILE

if LIBPOSIX_FDTAB
Expand Down
1 change: 1 addition & 0 deletions lib/posix-pipe/Config.uk
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
menuconfig LIBPOSIX_PIPE
bool "posix-pipe: Support for pipes"
select LIBPOSIX_FDIO
select LIBUKATOMIC

if LIBPOSIX_PIPE
config LIBPOSIX_PIPE_SIZE_ORDER
Expand Down
1 change: 1 addition & 0 deletions lib/posix-poll/Config.uk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ config LIBPOSIX_POLL
bool "posix-poll: Support for file polling"
select LIBPOSIX_FDIO
select LIBPOSIX_FDTAB
select LIBUKATOMIC
select LIBUKTIMECONV
select LIBUKFILE_CHAINUPDATE
select LIBNOLIBC if !HAVE_LIBC
3 changes: 1 addition & 2 deletions lib/posix-timerfd/Config.uk
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
config LIBPOSIX_TIMERFD
bool "posix-timerfd: Support for timerfd files"
select LIBPOSIX_FDIO
select LIBUKLOCK
select LIBUKLOCK_MUTEX
select LIBUKATOMIC
select LIBUKTIMECONV
select LIBUKSCHED
1 change: 0 additions & 1 deletion lib/posix-timerfd/timerfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <uk/posix-fd.h>
#include <uk/posix-fdtab.h>
#include <uk/posix-timerfd.h>
#include <uk/mutex.h>
#include <uk/sched.h>
#include <uk/timeutil.h>
#include <uk/syscall.h>
Expand Down
2 changes: 2 additions & 0 deletions lib/ukfile/Config.uk
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
config LIBUKFILE
bool "ukfile: Common support for files"
select LIBUKATOMIC
select LIBUKLOCK
select LIBUKLOCK_MUTEX
select LIBUKLOCK_RWLOCK
select LIBUKSCHED
select LIBNOLIBC if !HAVE_LIBC

# Hidden, selected by core components when required
config LIBUKFILE_CHAINUPDATE
Expand Down