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

K32W: Fix header paths breaking --check builds #7620

Merged
merged 1 commit into from
Jun 16, 2021

Conversation

mspang
Copy link
Contributor

@mspang mspang commented Jun 14, 2021

Problem

Some header paths are specified incorrectly. This is only an error
when generating the build with the --check option:

ERROR at //third_party/k32w_sdk/k32w_sdk.gni:218:3: Source file not found.
  source_set(sdk_target_name) {
  ^----------------------------
The target:
  //examples/lock-app/k32w:sdk
has a source file:
  //examples/platform/k32w/OpenThreadConfig.h
which was not found.

Change overview

Fix the paths and enable --check.

Testing

Tested by:

(cd ./examples/lock-app/k32w; gn gen --check out/debug --args='k32w_sdk_root="/home/spang/sdk/k32w_sdk"'; ninja -C out/debug)

@woody-apple
Copy link
Contributor

@mspang Looks like a real build failure

@mspang mspang force-pushed the for-chip/fix-k32-includes branch from 502f767 to 7d6027c Compare June 15, 2021 18:32
Some header paths are specified incorrectly. This is only an error
when generating the build with the --check option:

ERROR at //third_party/k32w_sdk/k32w_sdk.gni:218:3: Source file not found.
  source_set(sdk_target_name) {
  ^----------------------------
The target:
  //examples/lock-app/k32w:sdk
has a source file:
  //examples/platform/k32w/OpenThreadConfig.h
which was not found.

Fix the paths and enable --check.

Tested by:

(cd ./examples/lock-app/k32w; gn gen --check out/debug --args='k32w_sdk_root="/home/spang/sdk/k32w_sdk"'; ninja -C out/debug)
@mspang mspang force-pushed the for-chip/fix-k32-includes branch from 7d6027c to e644508 Compare June 15, 2021 23:03
@boring-cyborg boring-cyborg bot added the config label Jun 15, 2021
@mspang mspang merged commit 18a5a40 into project-chip:master Jun 16, 2021
@mspang mspang deleted the for-chip/fix-k32-includes branch June 16, 2021 03:34
nikita-s-wrk pushed a commit to nikita-s-wrk/connectedhomeip that referenced this pull request Sep 23, 2021
Some header paths are specified incorrectly. This is only an error
when generating the build with the --check option:

ERROR at //third_party/k32w_sdk/k32w_sdk.gni:218:3: Source file not found.
  source_set(sdk_target_name) {
  ^----------------------------
The target:
  //examples/lock-app/k32w:sdk
has a source file:
  //examples/platform/k32w/OpenThreadConfig.h
which was not found.

Fix the paths and enable --check.

Tested by:

(cd ./examples/lock-app/k32w; gn gen --check out/debug --args='k32w_sdk_root="/home/spang/sdk/k32w_sdk"'; ninja -C out/debug)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants