netfilter.mk: extend nf_add macro to take a version dependency expression
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 15 Dec 2012 00:05:35 +0000 (00:05 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 15 Dec 2012 00:05:35 +0000 (00:05 +0000)
commit5ba98739146396935a76a52391e612024bf15cfa
tree05af4067d697d60fd20b4fa8b4ee7fb65a2a69c4
parent4901ac8225e0123d0a06b19b592ffef389b8806c
netfilter.mk: extend nf_add macro to take a version dependency expression

- nf_add now takes an optional 4th argument which specifies a kernel version dependency, e.g. "lt 3.7.0"
- remove CompareKernelPatchVer conditionals around nf_add invocations, use version depends instead
- fixes xt_LOG.ko packaging with Linux 3.6.0 and later

SVN-Revision: 34681
include/netfilter.mk