Skip to content

Conversation

@kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Sep 18, 2024

Introduce a separate file for Zephyr compiler_attributes.h and move all Zephyr-specific definitions to this file. This is a prerequisite to build with CONFIG_SOF_ZEPHYR_STRICT_HEADERS=y.

Link: #9015

@kv2019i
Copy link
Collaborator Author

kv2019i commented Sep 18, 2024

Ok this has major issues, will mark as draft while I work on a fixed version.

Introduce a separate file for Zephyr compiler_attributes.h and
move all Zephyr-specific definitions to this file. This is
a prerequisite to build with CONFIG_SOF_ZEPHYR_STRICT_HEADERS=y.

Link: thesofproject#9015
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff, we should use all the Zephyr ones when building Zephyr.

@kv2019i kv2019i force-pushed the 202409-rtos-compiler-attributes branch from a8ed4ca to fa243e2 Compare September 18, 2024 15:10
@kv2019i kv2019i marked this pull request as ready for review September 18, 2024 15:11
@lgirdwood lgirdwood merged commit c2b9be1 into thesofproject:main Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants