blob: 512221d6bea415c5a711e81c66eaf4761fde8caa (
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
27
28
29
30
31
|
DESCRIPTION = "IP set framework"
SECTION = "kernel/modules"
LICENSE = "GPLv2"
DEPENDS += "virtual/libc"
inherit module
PR="r0"
SRC_URI = " \
http://ipset.netfilter.org/ipset-${PV}.tar.bz2 \
file://Makefile.patch \
"
PACKAGES += "${PN}-modules"
FILES_${PN} = "${sbindir} ${libdir}"
FILES_${PN}-doc = "${mandir}"
FILES_${PN}-modules = "${base_libdir}/modules/${KERNEL_VERSION}/extra/ip_set*${KERNEL_OBJECT_SUFFIX} \
${base_libdir}/modules/${KERNEL_VERSION}/extra/ipt*${KERNEL_OBJECT_SUFFIX}"
EXTRA_OEMAKE = "KERNEL_DIR=${KERNEL_SOURCE} MANDIR=${mandir}"
do_compile () {
oe_runmake binaries
module_do_compile MAKE_TARGETS=modules
}
do_install_append () {
oe_runmake binaries_install PREFIX=${prefix} DESTDIR=${D}
}
|