Skip to content
Commit 077b3e9a authored by Yann Gautier's avatar Yann Gautier
Browse files

MAKE_DTB: dependencies on device tree source files



Fixes the dependencies issue for DTB image build.

Use -MT $(DTBS) -MMD -MF $(DTSDEP) to generate the precompilation
dependencies on DTS file(s).
"-MT $(DTBS)" builds a dependency for the target DTS file.
"-MMD" includes header file dependencies but not on system header files.
"-MF $(DTSDEP)" generates a Makefile script to define the dependencies
 which is included afterward.

This change renames existing variable DEP into DTBDEP.

Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
Signed-off-by: Etienne Carriere's avatarEtienne Carriere <etienne.carriere@st.com>
parent 07a2fd6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment