Skip to content

Conversation

@pfalcon
Copy link
Contributor

@pfalcon pfalcon commented Jun 7, 2019

This is variant of #15937 without the important "CMakeLists.txt: Call toolchain_cc_nostdinc() at the end" patch, submitted so @SebastianBoe can see the problem that patch fixes.

pfalcon added 3 commits June 7, 2019 14:05
This is consistent with how newlib headers are treated, and will
have effect of ninlibc headers to be further down in the include
order. This is important, because some POSIX subsys headers
override those of libc. Without this change, we can't streamline
POSIX build config using zephyr_interface_library_named() cmake
directive, because includes will be in wrong order.

Signed-off-by: Paul Sokolovsky <[email protected]>
Similar to how other sub-libraries are defined in Zephyr tree, e.g.
"fs", "lgvl", etc. This is supposed to help with the need to
explicitly add posix include path to each and every application using
POSIX subsys.

Fixes: zephyrproject-rtos#15627

Signed-off-by: Paul Sokolovsky <[email protected]>
This is no longer needed after using
zephyr_interface_library_named cmake directive in the POSIX subsys
source itself.

Signed-off-by: Paul Sokolovsky <[email protected]>
@pfalcon pfalcon added the DNM This PR should not be merged (Do Not Merge) label Jun 7, 2019
@pfalcon pfalcon requested a review from SebastianBoe June 7, 2019 11:07
@pfalcon pfalcon requested review from andrewboie and nashif as code owners June 7, 2019 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DNM This PR should not be merged (Do Not Merge)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants