zephyr: deprecate zephyr.h and use kernel.h header

The zephyr header zephyr.h should be only used with
CONFIG_LEGACY_INCLUDE_PATH, which is deprecate by both
Zephyr and SOF.

The latest zephyr main will complain if zephyr.h is
used but CONFIG_LEGACY_INCLUDE_PATH disabled.

This patch deprecates zephyr.h and uses kernel.h instead,
so that we don't break with latest zephyr.

Signed-off-by: Chao Song <chao.song@linux.intel.com>
2 files changed
tree: eeb31a6e883f9c30867e397d100868b8856bb91c
  1. .github/
  2. app/
  3. doc/
  4. installer/
  5. keys/
  6. scripts/
  7. smex/
  8. src/
  9. submanifests/
  10. test/
  11. third_party/
  12. tools/
  13. zephyr/
  14. .gitignore
  15. .gitmodules
  16. .travis.yml
  17. CMakeLists.txt
  18. CODEOWNERS
  19. Kconfig
  20. Kconfig.sof
  21. Kconfig.xtos-build
  22. Kconfig.xtos-dbg
  23. Kconfig.zephyr-log
  24. LICENCE
  25. README.md
  26. west.yml
README.md

Sound Open Firmware

Status

GitHub Actions Build Status Gitter chat

Documentation

See docs

Running the tests

See unit testing documentation

Deployment

TODO: Add additional notes about how to deploy this on a live system

Contributing

See Contributing to the Project

License

This project is licensed under the BSD Clause 3 - see the LICENCE file for details