summaryrefslogtreecommitdiffstats
path: root/recipes-enea/linx/linx-mod_2.6.6.bb
blob: 837fc3a3e6c06ebe160f866446b1992134ba558f (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
32
SUMMARY = "LINX for Linux fast IPC"
DESCRIPTION = "LINX is a distributed communication protocol stack for transparent inter node and interprocess communication for a heterogeneous mix of systems."
HOMEPAGE = "http://linx.sourceforge.net/"

SECTION = "kernel/modules"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://../../COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"

DEPENDS = "linux-libc-headers linx"
RRECOMMENDS_${PN} = "linx kmod"

SRC_URI = "http://linux.enea.com/linx/linx-${PV}.tar.gz \
	   file://support-for-3.12-kernels.patch \
	   file://support-for-3.15-kernels.patch"

SRC_URI[md5sum] = "f6d7e103eee0807cacf73aa20cf95571"
SRC_URI[sha256sum] = "a8fa3fe221e883ecb6afaa001652c96080a474b95e8d37c3bcf3e0c2ae618799"

S = "${WORKDIR}/linx-${PV}/net/linx"

inherit module

module_do_compile_prepend () {

        if [ -z $(cat ${STAGING_KERNEL_BUILDDIR}/.config | grep "CONFIG_MODULES=y") ] ; then
            echo "The specified Linux kernel has no support for pluggable modules (CONFIG_MODULES=y). Enable it before baking this."
            exit 1
        fi

        do_make_scripts
}