]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - scripts/Makefile.lib
of: search scripts/dtc/include-prefixes path for both CPP and DTC
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 25 Jul 2017 02:23:36 +0000 (11:23 +0900)
committerRob Herring <robh@kernel.org>
Mon, 21 Aug 2017 17:20:14 +0000 (12:20 -0500)
commit50f9ddaf64e1338eaaef6697ad5b8ae210da0d60
tree50c9be81f7f6d0b0d661a89e07742c03b343c521
parent5ffa2aed389c8f204e57ef361a78340a4bfcffc9
of: search scripts/dtc/include-prefixes path for both CPP and DTC

Since commit d5d332d3f7e8 ("devicetree: Move include prefixes from
arch to separate directory"), cross-arch DT reference works well,
but only for CPP style #include directives.

It makes as much sense to share DT between different architectures
by using DTC's /include/ directives.

So, scripts/dtc/include-prefixes should be passed to both CPP and DTC.
I refactored Makefile.lib a bit to not repeat the same path.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
scripts/Makefile.lib