build/patch/kernel/archive/sunxi-6.1/patches.armbian/scripts-enable-kernel-dtbs-symbol-generation.patch

27 lines
807 B
Diff

From 5d5a45b17dbbffb62455896ff3f179a4c61203a5 Mon Sep 17 00:00:00 2001
From: The-going <48602507+The-going@users.noreply.github.com>
Date: Tue, 1 Feb 2022 21:51:46 +0300
Subject: [PATCH 111/158] scripts: enable kernel dtbs symbol generation
---
scripts/Makefile.lib | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 02b118ce7..6d394d3c8 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -355,7 +355,8 @@ DTC_FLAGS += -Wnode_name_chars_strict \
-Winterrupt_provider
endif
-DTC_FLAGS += $(DTC_FLAGS_$(basetarget))
+DTC_FLAGS += $(DTC_FLAGS_$(basetarget)) \
+ -@
# Set -@ if the target is a base DTB that overlay is applied onto
DTC_FLAGS += $(if $(filter $(patsubst $(obj)/%,%,$@), $(base-dtb-y)), -@)
--
2.35.3