forked from armbian/build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sunxi-6.12: Add the lost functionality to create __symbols__ nodes.
- Loading branch information
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
patch/kernel/archive/sunxi-6.12/patches.armbian/Enable-creation-of-__symbols__-node.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 94bc3b4ee0c3428981416c3dd13c5e4a1312e52f 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 8d56c0815f33..92b758943f85 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 \ | ||
-- | ||
2.35.3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters