ath79/mikrotik: use routerbootpart partitions
[oweals/openwrt.git] / target / linux / layerscape / patches-5.4 / 303-core-0010-scripts-Makefile-Enable-creation-of-_symbols_-DT-nod.patch
1 From 71650b18b78f52e96512a7695a0d39762c1ee408 Mon Sep 17 00:00:00 2001
2 From: Alex Marginean <alexandru.marginean@nxp.com>
3 Date: Mon, 6 Jan 2020 16:35:08 +0200
4 Subject: [PATCH] scripts: Makefile: Enable creation of _symbols_ DT node for
5  overlays
6
7 DT compiler supports -@ flag which indicates that _symbols_ node should be
8 automatically created during compilation.  This node is required for
9 using DT overlays.  The generated DTB is backward compatible, the _symbols_
10 node can be safely ignored if overlays are not used.
11
12 Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
13 ---
14  scripts/Makefile.lib | 3 +++
15  1 file changed, 3 insertions(+)
16
17 --- a/scripts/Makefile.lib
18 +++ b/scripts/Makefile.lib
19 @@ -255,6 +255,9 @@ endif
20  
21  DTC_FLAGS += $(DTC_FLAGS_$(basetarget))
22  
23 +# Enable creation of _symbols_ node for DT overlays
24 +DTC_FLAGS += -@
25 +
26  # Generate an assembly file to wrap the output of the device tree compiler
27  quiet_cmd_dt_S_dtb= DTB     $@
28  cmd_dt_S_dtb=                                          \