/[smecontribs]/rpms/xtables-addons-kmod/contribs10/xtables-addons-kmod.spec
ViewVC logotype

Diff of /rpms/xtables-addons-kmod/contribs10/xtables-addons-kmod.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by michel, Tue Jul 21 16:26:02 2020 UTC Revision 1.3 by michel, Mon Aug 17 17:30:30 2020 UTC
# Line 72  done Line 72  done
72    
73  %build  %build
74  for kernel_version  in %{?kernel_versions} ; do  for kernel_version  in %{?kernel_versions} ; do
         if ! grep -q 'XT_TARGET_TEE=m' %{_usrsrc}/kernels/${kernel_version%%___*}/.config; then  
                 echo ' >>>>> sed TEE'  
                 sed -i 's/build_TEE=/build_TEE=m/' _kmod_build_${kernel_version%%___*}/mconfig  
         fi  
         if ! grep -q 'XT_TARGET_CHECKSUM=m' %{_usrsrc}/kernels/${kernel_version%%___*}/.config; then  
                 echo ' >>>>> sed CHECKSUM'  
                 sed -i 's/build_CHECKSUM=/build_CHECKSUM=m/' _kmod_build_${kernel_version%%___*}/mconfig  
         fi  
75          export XA_ABSTOPSRCDIR=${PWD}/_kmod_build_${kernel_version%%___*}          export XA_ABSTOPSRCDIR=${PWD}/_kmod_build_${kernel_version%%___*}
76          make %{?_smp_mflags} V=1 -C "${kernel_version##*___}" M=${PWD}/_kmod_build_${kernel_version%%___*}/extensions modules          make %{?_smp_mflags} V=1 -C "${kernel_version##*___}" M=${PWD}/_kmod_build_${kernel_version%%___*}/extensions modules
77  done  done


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed