mirror of https://github.com/armbian/build.git
30 lines
796 B
Diff
30 lines
796 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Patrick Yavitz <pyavitz@gmail.com>
|
|
Date: Mon, 23 Dec 2024 10:14:57 -0500
|
|
Subject: Enable creation of __symbols__ node
|
|
|
|
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
|
|
---
|
|
scripts/Makefile.dtbs | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/scripts/Makefile.dtbs b/scripts/Makefile.dtbs
|
|
index 111111111111..222222222222 100644
|
|
--- a/scripts/Makefile.dtbs
|
|
+++ b/scripts/Makefile.dtbs
|
|
@@ -102,6 +102,11 @@ else
|
|
DTC_FLAGS += -Wunique_unit_address_if_enabled
|
|
endif
|
|
|
|
+ifeq ($(CONFIG_OF_OVERLAY),y)
|
|
+# enable creation of __symbols__ node
|
|
+DTC_FLAGS += -@
|
|
+endif
|
|
+
|
|
ifneq ($(findstring 2,$(KBUILD_EXTRA_WARN)),)
|
|
DTC_FLAGS += -Wnode_name_chars_strict \
|
|
-Wproperty_name_chars_strict \
|
|
--
|
|
Armbian
|
|
|