commit | 3c0c03b9eb3f63f7058fb8363b552f8ccb55a113 | [log] [tgz] |
---|---|---|
author | Carlo Caione <ccaione@baylibre.com> | Wed Feb 02 14:41:38 2022 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Mon Feb 21 22:02:04 2022 -0500 |
tree | cfb5e7ac872db33d5132986f80bdaefc6c6a476a | |
parent | 36164c29c165af5165360b336d74f0818557f7c0 [diff] |
cmake: dts: Add dt_comp_path() cmake function Add a new cmake extension function: dt_comp_path(<var> COMPATIBLE <compatible> [INDEX <idx>]) to get a list of paths for the nodes with the given <compatible>. This is useful when we have to cycle through several nodes with the same compatible. Signed-off-by: Carlo Caione <ccaione@baylibre.com>