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

[µTVM] Zephyr: Fix missing board-specific config file in build dir #8230

Merged
merged 1 commit into from
Jun 11, 2021

Commits on Jun 11, 2021

  1. [µTVM] Zephyr: Fix missing board-specific config file in build dir

    Currently board-specific config files (boards/*.conf) are not
    copied from Zephyr project dir to the destination build dir, so
    as a consequence the per board configs are not used when building
    the runtime libraries, like libcommon. Hence, for instance, it's
    currently not possible to set CONFIG_FPU per board since it only
    takes effect when it's set in the generic 'prj.con' config file.
    
    This commit fixes it by copying to the build dir (to each lib
    dir) the proper .conf for the selected target board. For example,
    if target 'qemu_x86' is selected 'qemu_x86.conf' is copied to
    the boards/ dir inside the lib dirs, so Zephyr build system can
    find it and combine it with configs found in the generic 'prj.conf'.
    
    Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
    gromero committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    4c37f54 View commit details
    Browse the repository at this point in the history