]> git.sur5r.net Git - u-boot/commit
scripts: Makefile.lib: Sanitize DTB names
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 5 Jul 2016 08:26:35 +0000 (10:26 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 20 Aug 2016 15:34:59 +0000 (11:34 -0400)
commit716f90852650406d616be69c01a4f10b49742006
treecc7a727f3e1ddf432a2320bde2cbfd30bcd17447
parentf0ed68e21f219c1bee52b73183660e5e88b06e0f
scripts: Makefile.lib: Sanitize DTB names

Having dashes as a separator in the DTB name is a quite common practice.

However, the current code to generate objects from DTBs assumes the
separator is an underscore, leading to a compilation error when building a
device tree with dashes.

Replace all the dashes in the DTB name to generate the symbols name, which
should solve this issue.

Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
scripts/Makefile.lib