scripts: Makefile: Enable creation of _symbols_ DT node for overlays

DT compiler supports -@ flag which indicates that _symbols_ node should be
automatically created during compilation.  This node is required for
using DT overlays.  The generated DTB is backward compatible, the _symbols_
node can be safely ignored if overlays are not used.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
This commit is contained in:
Alex Marginean 2020-01-06 16:35:08 +02:00 committed by Claudiu Manoil
parent 779c69e4ae
commit 432071b7a1
1 changed files with 3 additions and 0 deletions

View File

@ -269,6 +269,9 @@ endif
DTC_FLAGS += $(DTC_FLAGS_$(basetarget))
# Enable creation of _symbols_ node for DT overlays
DTC_FLAGS += -@
# Generate an assembly file to wrap the output of the device tree compiler
quiet_cmd_dt_S_dtb= DTB $@
cmd_dt_S_dtb= \