Skip to content
Commit 13d71152 authored by Simon Glass's avatar Simon Glass
Browse files

Makefile: Depend only on required of-platdata files



When OF_PLATDATA_INST is enabled, we need dt-uclass.c and dt-device.c for
the build to work. When OF_PLATDATA_INST is not enabled, we only need
dt-plat.c

Update the Makefile rules to indicate this.

At present all files are generated and compiled regardless of which are
actually needed.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 6519da47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment