]> git.pld-linux.org Git - packages/kernel.git/commitdiff
include symbols in compiled device trees
authorJan Palus <atler@pld-linux.org>
Tue, 22 Jun 2021 17:11:09 +0000 (17:11 +0000)
committerJan Palus <atler@pld-linux.org>
Tue, 22 Jun 2021 17:16:46 +0000 (17:16 +0000)
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

index 724d5caf5d48f5988dd4896d967d71c9e7fffb30..5513a92cf243ce14319d3a142eb6d4d91d9a5aa1 100644 (file)
@@ -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} \
This page took 1.199719 seconds and 4 git commands to generate.