blob: a24ab4fc991e58e8b3155b483440a18864df40d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
require iptables.inc
PR = "${INC_PR}.0"
EXTRA_OEMAKE = "'COPT_FLAGS=${CFLAGS}' \
'KERNEL_DIR=${STAGING_INCDIR}' \
'LDFLAGS=${LDFLAGS}' \
${@base_contains('DISTRO_FEATURES', 'ipv6', 'DO_IPV6=1', 'DO_IPV6=0', d)} \
\
'PREFIX=${prefix}' \
'LIBDIR=${libdir}' \
'BINDIR=${sbindir}' \
'MANDIR=${mandir}' \
'INCDIR=${includedir}'"
CFLAGS[unexport] = "1"
SRC_URI += "\
file://getsockopt-failed.patch \
file://iptables-use-s6_addr32.patch \
file://cross-iptables.diff \
"
do_install () {
oe_runmake 'DESTDIR=${D}' install
}
SRC_URI[iptables-1.3.8.md5sum] = "0a9209f928002e5eee9cdff8fef4d4b3"
SRC_URI[iptables-1.3.8.sha256sum] = "c5c8a091ed9a1fa2dab86b4d87719064b50c202e8503046f50f299a361e6211c"
|