Skip to content

kconfig: Move Kconfig.modules to the root build directory #14976

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

Merged
merged 1 commit into from
Mar 28, 2019

Conversation

hakonfam
Copy link
Collaborator

Currently, the Kconfig.modules file is placed in the build directory
relative to the CMake "project". But technically, the file is not
project-specific, but global, or build-directory specific.

So we move it up one level to the CMAKE_BINARY_DIR instead. Currently,
there is only one project, so this change has no effect, but this
enables us to have multiple projects in the future, which again
enables multi-image builds.

This fixes #14974

Signed-off-by: Sebastian Bøe [email protected]
Signed-off-by: Håkon Øye Amundsen [email protected]

@zephyrbot
Copy link
Collaborator

zephyrbot commented Mar 28, 2019

All checks are passing now.

Review history of this comment for details about previous failed status.
Note that some checks might have not completed yet.

@carlescufi carlescufi requested a review from tejlmand March 28, 2019 10:13
carlescufi added a commit to zephyrproject-rtos/ci-tools that referenced this pull request Mar 28, 2019
@carlescufi
Copy link
Member

Requires zephyrproject-rtos/ci-tools#41 to pass CI

@codecov-io
Copy link

Codecov Report

Merging #14976 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #14976   +/-   ##
=======================================
  Coverage   52.93%   52.93%           
=======================================
  Files         309      309           
  Lines       45251    45251           
  Branches    10447    10447           
=======================================
  Hits        23953    23953           
  Misses      16533    16533           
  Partials     4765     4765

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cf91f8c...7962470. Read the comment docs.

Copy link
Collaborator

@tejlmand tejlmand left a comment

Choose a reason for hiding this comment

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

Looking good

@carlescufi carlescufi added the bug The issue is a bug, or the PR is fixing a bug label Mar 28, 2019
@carlescufi carlescufi added this to the v1.14.0 milestone Mar 28, 2019
nashif pushed a commit to zephyrproject-rtos/ci-tools that referenced this pull request Mar 28, 2019
Currently, the Kconfig.modules file is placed in the build directory
relative to the CMake "project". But technically, the file is not
project-specific, but global, or build-directory specific.

So we move it up one level to the CMAKE_BINARY_DIR instead. Currently,
there is only one project, so this change has no effect, but this
enables us to have multiple projects in the future, which again
enables multi-image builds.

Signed-off-by: Sebastian Bøe <[email protected]>
Signed-off-by: Håkon Øye Amundsen <[email protected]>
@nashif nashif force-pushed the move-kconfig-modules branch from 7962470 to c984c5d Compare March 28, 2019 13:04
@hakonfam
Copy link
Collaborator Author

recheck

@nashif nashif merged commit 7061c03 into zephyrproject-rtos:master Mar 28, 2019
ulfalizer pushed a commit to ulfalizer/zephyr that referenced this pull request May 13, 2019
Counterpart to Zephyr PR:
zephyrproject-rtos#14976

Part of the solution for:
zephyrproject-rtos#14974

Signed-off-by: Carles Cufi <[email protected]>
ulfalizer pushed a commit to ulfalizer/zephyr that referenced this pull request Oct 23, 2019
Counterpart to Zephyr PR:
zephyrproject-rtos#14976

Part of the solution for:
zephyrproject-rtos#14974

Signed-off-by: Carles Cufi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kconfig.modules needs to be at the top level build folder
7 participants