Skip to content

Commit

Permalink
sunxi-6.12: Add the lost functionality to create __symbols__ nodes.
Browse files Browse the repository at this point in the history
  • Loading branch information
pyavitz authored and rpardini committed Dec 30, 2024
1 parent d0ec958 commit 8d4c6d1
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
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

1 change: 1 addition & 0 deletions patch/kernel/archive/sunxi-6.12/series.armbian
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
patches.armbian/arm64-dts-sun50i-a64-force-mmc0-bus-width.patch
patches.armbian/drv-of-Device-Tree-Overlay-ConfigFS-interface.patch
patches.armbian/scripts-add-overlay-compilation-support.patch
patches.armbian/Enable-creation-of-__symbols__-node.patch
patches.armbian/Makefile-CONFIG_SHELL-fix-for-builddeb-packaging.patch
patches.armbian/arm-dts-overlay-Add-Overlays-for-sunxi.patch
patches.armbian/arm64-dts-allwinner-overlay-Add-Overlays-for-sunxi64.patch
Expand Down
1 change: 1 addition & 0 deletions patch/kernel/archive/sunxi-6.12/series.conf
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@
patches.armbian/arm64-dts-sun50i-a64-force-mmc0-bus-width.patch
patches.armbian/drv-of-Device-Tree-Overlay-ConfigFS-interface.patch
patches.armbian/scripts-add-overlay-compilation-support.patch
patches.armbian/Enable-creation-of-__symbols__-node.patch
patches.armbian/Makefile-CONFIG_SHELL-fix-for-builddeb-packaging.patch
patches.armbian/arm-dts-overlay-Add-Overlays-for-sunxi.patch
patches.armbian/arm64-dts-allwinner-overlay-Add-Overlays-for-sunxi64.patch
Expand Down

0 comments on commit 8d4c6d1

Please sign in to comment.