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

Lack APPLICATION_BINARY_DIR and APPLICATION_SOURCE_DIR #3

Open
SawXu opened this issue Feb 23, 2023 · 0 comments
Open

Lack APPLICATION_BINARY_DIR and APPLICATION_SOURCE_DIR #3

SawXu opened this issue Feb 23, 2023 · 0 comments

Comments

@SawXu
Copy link

SawXu commented Feb 23, 2023

Thanks your porting at first. It help me a lot.

I found a little bug in it. I can't pass overlay config with relative path by -Doverlay_conf in CMake.

For example:

cmake -Bbuild -DBOARD=test -GNinja -DOVERLAY_CONFIG=overlay.conf

cmake will report error log.

CMake Error at cmake/kconfig.cmake:164 (message):
  File not found: /overlay.conf
Call Stack (most recent call first):
  cmake/top.cmake:24 (include)
  CMakeLists.txt:9 (include)

Then I found out the root issue. We lacked variable APPLICATION_BINARY_DIR and APPLICATION_SOURCE_DIR. They are defined in zephyr cmake zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake

I have create a PR to solve this issue: #2

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

No branches or pull requests

1 participant