build/patch/kernel/mvebu-default/compile-dtb-with-symbol-support.patch
Aditya Prayoga 26dcccb705 Added overlay support
U-Boot already support device tree overlay. However, it requires the
base dtb to be compiled with __symbol__ support.

This commit added patches to compile dtb with required parameter.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2019-10-13 20:47:18 +07:00

14 lines
509 B
Diff

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index aac94d96..d22bb79d 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -270,6 +270,9 @@ cmd_gzip = (cat $(filter-out FORCE,$^) | gzip -n -f -9 > $@) || \
# ---------------------------------------------------------------------------
DTC ?= $(objtree)/scripts/dtc/dtc
+# Enable overlay support
+DTC_FLAGS += -@
+
# Disable noisy checks by default
ifeq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),)
DTC_FLAGS += -Wno-unit_address_vs_reg \