Skip to content
Snippets Groups Projects
Commit 716f9085 authored by Maxime Ripard's avatar Maxime Ripard Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarPantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent f0ed68e2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment