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

build: namespace generated headers with zephyr/ #63973

Merged
merged 4 commits into from
May 28, 2024

Commits on May 24, 2024

  1. build: namespace the generated headers with zephyr/

    Namespaced the generated headers with `zephyr` to prevent
    potential conflict with other headers.
    
    Introduce a temporary Kconfig `LEGACY_GENERATED_INCLUDE_PATH`
    that is enabled by default. This allows the developers to
    continue the use of the old include paths for the time being
    until it is deprecated and eventually removed. The Kconfig will
    generate a build-time warning message, similar to the
    `CONFIG_TIMER_RANDOM_GENERATOR`.
    
    Updated the includes path of in-tree sources accordingly.
    
    Most of the changes here are scripted, check the PR for more
    info.
    
    Signed-off-by: Yong Cong Sin <[email protected]>
    ycsin committed May 24, 2024
    Configuration menu
    Copy the full SHA
    a353041 View commit details
    Browse the repository at this point in the history
  2. doc: releases: add notes for namespaced generated headers

    Add migration notes for generated headers being namespaced
    to the `zephyr/` folder.
    
    Signed-off-by: Yong Cong Sin <[email protected]>
    ycsin committed May 24, 2024
    Configuration menu
    Copy the full SHA
    dd45748 View commit details
    Browse the repository at this point in the history
  3. build: namespace autoconf.h with zephyr/

    Namespace the generated `autoconf.h` file with `zephyr/`.
    
    Signed-off-by: Yong Cong Sin <[email protected]>
    ycsin committed May 24, 2024
    Configuration menu
    Copy the full SHA
    f2584dc View commit details
    Browse the repository at this point in the history
  4. build: namespace syscall sources to zephyr/

    Namespace the `syscall_dispatch.c` & `syscall_export_llext.c`
    to `zephyr/` as well
    
    Signed-off-by: Yong Cong Sin <[email protected]>
    ycsin committed May 24, 2024
    Configuration menu
    Copy the full SHA
    395cd41 View commit details
    Browse the repository at this point in the history