]> git.sur5r.net Git - u-boot/commit
scripts/Makefile.lib: Only apply u-boot.dtsi files in the target directory
authorTom Rini <trini@konsulko.com>
Wed, 24 May 2017 15:04:03 +0000 (11:04 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jun 2017 18:13:10 +0000 (14:13 -0400)
commit0f7faf03bf207ea0bcf91692be76a7103ddd4e2c
treee7a095f85cf5e368c4ed79aedbf63ed8aa083281
parent7a53a1a8115beb53b47a758c1a6e527420d8a43e
scripts/Makefile.lib: Only apply u-boot.dtsi files in the target directory

We only want to apply files such as 'omap5-u-boot.dtsi', which resides
in arch/arm/dts/ to other files in arch/arm/dts/ and not say
test/overlay/.  Rework the make logic to check for -u-boot.dtsi files in
the same directory as their target dts.

Cc: Simon Glass <sjg@chromium.org>
Reported-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tested-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/Makefile.lib