[packages/kernel] include symbols in compiled device trees
atler
atler at pld-linux.org
Tue Jun 22 19:17:54 CEST 2021
commit c250522c07ebe93df2b5d206dcbc909da86fc68c
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Jun 22 17:11:09 2021 +0000
include symbols in compiled device trees
enables use of overlays which heavily rely on labels (stripped without
symbols) at the cost of slightly bigger size of output files. PLD likely
won't ever be used on devices for which size could make any difference
while having possibility to use overlays is very much practical
pass in environment instead of make opt to preserve appended -Wno*
kernel.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/kernel.spec b/kernel.spec
index 724d5caf..5513a92c 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -955,6 +955,7 @@ cd -
%{__awk} %{?debug:-v dieOnError=1} -v infile=%{objdir}/%{defconfig} -f %{SOURCE8} %{objdir}/.config
# build kernel
+export DTC_FLAGS=-@
%{__make} \
TARGETOBJ=%{targetobj} \
%{?with_verbose:V=1} \
@@ -971,6 +972,7 @@ rm -rf $RPM_BUILD_ROOT
KERNELRELEASE=%{kernel_release}
%ifarch %{arm} aarch64
+export DTC_FLAGS=-@
%{__make} %{MakeOpts} %{!?with_verbose:-s} dtbs_install \
-C %{objdir} \
%{?with_verbose:V=1} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/c250522c07ebe93df2b5d206dcbc909da86fc68c
More information about the pld-cvs-commit
mailing list