diff options
Diffstat (limited to 'recipes-enea/linx/linx-mod_2.6.6.bb')
| -rw-r--r-- | recipes-enea/linx/linx-mod_2.6.6.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-enea/linx/linx-mod_2.6.6.bb b/recipes-enea/linx/linx-mod_2.6.6.bb new file mode 100644 index 0000000..18adef9 --- /dev/null +++ b/recipes-enea/linx/linx-mod_2.6.6.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | SUMMARY = "LINX for Linux fast IPC" | ||
| 2 | DESCRIPTION = "LINX is a distributed communication protocol stack for transparent inter node and interprocess communication for a heterogeneous mix of systems." | ||
| 3 | HOMEPAGE = "http://linx.sourceforge.net/" | ||
| 4 | |||
| 5 | SECTION = "kernel/modules" | ||
| 6 | |||
| 7 | LICENSE = "GPLv2" | ||
| 8 | LIC_FILES_CHKSUM = "file://../../COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | ||
| 9 | |||
| 10 | DEPENDS = "linux-libc-headers linx" | ||
| 11 | RRECOMMENDS_${PN} = "linx kmod" | ||
| 12 | |||
| 13 | SRC_URI = "http://linux.enea.com/linx/linx-${PV}.tar.gz \ | ||
| 14 | file://support-for-3.12-kernels.patch \ | ||
| 15 | file://support-for-3.15-kernels.patch" | ||
| 16 | |||
| 17 | SRC_URI[md5sum] = "f6d7e103eee0807cacf73aa20cf95571" | ||
| 18 | SRC_URI[sha256sum] = "a8fa3fe221e883ecb6afaa001652c96080a474b95e8d37c3bcf3e0c2ae618799" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/linx-${PV}/net/linx" | ||
| 21 | |||
| 22 | inherit module | ||
| 23 | |||
| 24 | module_do_compile_prepend () { | ||
| 25 | |||
| 26 | HAS_LOADABLE_MODULES=$(cat ${STAGING_KERNEL_DIR}/.config | grep "CONFIG_MODULES=y") | ||
| 27 | |||
| 28 | if [[ ${#HAS_LOADABLE_MODULES} -eq 0 ]] ; then | ||
| 29 | echo "The specified Linux kernel has no support for pluggable modules (CONFIG_MODULES=y). Enable it before baking this." | ||
| 30 | exit 1 | ||
| 31 | fi | ||
| 32 | |||
| 33 | do_make_scripts | ||
| 34 | } | ||
