diff --git a/patch/kernel/archive/sunxi-6.12/patches.armbian/Enable-creation-of-__symbols__-node.patch b/patch/kernel/archive/sunxi-6.12/patches.armbian/Enable-creation-of-__symbols__-node.patch new file mode 100644 index 000000000000..ccc4db1c08fa --- /dev/null +++ b/patch/kernel/archive/sunxi-6.12/patches.armbian/Enable-creation-of-__symbols__-node.patch @@ -0,0 +1,29 @@ +From 94bc3b4ee0c3428981416c3dd13c5e4a1312e52f Mon Sep 17 00:00:00 2001 +From: Patrick Yavitz +Date: Mon, 23 Dec 2024 10:14:57 -0500 +Subject: Enable creation of __symbols__ node + +Signed-off-by: Patrick Yavitz +--- + 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 + diff --git a/patch/kernel/archive/sunxi-6.12/series.armbian b/patch/kernel/archive/sunxi-6.12/series.armbian index 465cac58aee5..511eb980502e 100644 --- a/patch/kernel/archive/sunxi-6.12/series.armbian +++ b/patch/kernel/archive/sunxi-6.12/series.armbian @@ -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 diff --git a/patch/kernel/archive/sunxi-6.12/series.conf b/patch/kernel/archive/sunxi-6.12/series.conf index 0bc450e0ff22..eac5868470e4 100644 --- a/patch/kernel/archive/sunxi-6.12/series.conf +++ b/patch/kernel/archive/sunxi-6.12/series.conf @@ -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