scripts/Makefile.lib: Rework upstream_dtsi_include to get subdirectories
authorTom Rini <trini@konsulko.com>
Wed, 28 May 2025 23:27:04 +0000 (17:27 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 6 Jun 2025 19:54:10 +0000 (13:54 -0600)
commitc9b452acd95312e3ca2a44c6b969399f191764bb
tree58c150246bca317f664be5d7bb196d75fe2af1ee
parent2f3766949bbea7aa5a472157561d387fd94205d2
scripts/Makefile.lib: Rework upstream_dtsi_include to get subdirectories

A problem with the logic in upstream_dtsi_include currently is that it
does not list directories such as dts/upstream/src/arm/nxp/imx and so
will not findi "imx6ul-pinfunc.h" for example as it is normally and
correctly included without vendor sub-paths. Expand the current wildcard
glob to catch these directories too.

Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
scripts/Makefile.lib