Skip to content

Commit d6b73ee

Browse files
committed
lib: posix: remove all default POSIX feature enables
When enabling `POSIX_API`, don't enable any individual features by default. Users can enable the appropriate posix profile through the `POSIX_AEP_CHOICE` choice, or enable required features individually. Signed-off-by: Jordan Yates <[email protected]>
1 parent 77fb023 commit d6b73ee

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: doc/releases/migration-guide-4.2.rst

+7
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,13 @@ SPI
280280
Other subsystems
281281
****************
282282

283+
Posix
284+
=====
285+
286+
* :kconfig:option:`POSIX_API` no longer enables individual features by default. Users can
287+
enable features associated with a posix profile through the :kconfig:option:`POSIX_AEP_CHOICE`
288+
choice, or enable required features individually.
289+
283290
Modules
284291
*******
285292

Diff for: lib/posix/options/Kconfig.profile

-7
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ config POSIX_API
66
bool "POSIX APIs"
77
depends on !NATIVE_APPLICATION
88
select NATIVE_LIBC_INCOMPATIBLE
9-
select POSIX_BASE_DEFINITIONS # clock_gettime(), pthread_create(), sem_get(), etc
10-
select POSIX_AEP_REALTIME_MINIMAL # CLOCK_MONOTONIC, pthread_attr_setstack(), etc
11-
select POSIX_NETWORKING if NETWORKING # inet_ntoa(), socket(), etc
12-
imply EVENTFD # eventfd(), eventfd_read(), eventfd_write()
13-
imply POSIX_FD_MGMT # open(), close(), read(), write()
14-
imply POSIX_MESSAGE_PASSING # mq_open(), etc
15-
imply POSIX_MULTI_PROCESS # sleep(), getpid(), etc
169
help
1710
This option enables the required POSIX System Interfaces (base definitions), all of PSE51,
1811
and some features found in PSE52.

0 commit comments

Comments
 (0)