Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[external build systems] scripts/configure: allow out-of-tree project…
… root (#29627) The configure script, intended for external build systems such as openwrt, so far only allowed projects contained within the connectedhomeip source tree. This is the case for CHIP examples, but is NOT viable for actual applications, where connectedhomeip is usually a submodule of the main project. This PR changes `scripts/configure` in a backwards compatible way as follows: - absolute paths specified with `--project` are now supported - relative paths specified with `--project` are still relative to CHIP_ROOT, but are also allowed to point outside (using ../../... type path). Tested with actual build of p44mbrd (https://github.com/plan44/p44mbrd) as openwrt package (https://github.com/plan44/plan44-feed/tree/main/p44mbrd)
- Loading branch information