commit dc3a911dc2bf84e636c57dfadc43d6a7b40b6115
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Jul 3 17:44:34 2017 +0200
Clean-up merge xt addons
xtables-addons-kmod.spec | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/xtables-addons-kmod.spec b/xtables-addons-kmod.spec
index 8e56dc5..f818ee8 100644
--- a/xtables-addons-kmod.spec
+++ b/xtables-addons-kmod.spec
@@ -46,12 +46,6 @@ done
%build
for kernel_version in %{?kernel_versions} ; do
- if ! grep -q 'XT_TARGET_TEE=m'
%{_usrsrc}/kernels/${kernel_version%%___*}/.config; then
- 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
- sed -i 's/build_CHECKSUM=/build_CHECKSUM=m/'
_kmod_build_${kernel_version%%___*}/mconfig
- fi
export XA_ABSTOPSRCDIR=${PWD}/_kmod_build_${kernel_version%%___*}
make %{?_smp_mflags} V=1 -C "${kernel_version##*___}"
M=${PWD}/_kmod_build_${kernel_version%%___*}/extensions modules
done