armbian_build/patch/kernel/archive/sunxi-6.0/patches.armbian/scripts-enable-kernel-dtbs-symbol-generation.patch
2022-12-03 22:22:31 +03:00

27 lines
807 B
Diff

From 8ba08106e3322988f84cde88819af35f371d860b 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 121/170] 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 6b9488eb5..aecfee58b 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -331,7 +331,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