1 DESCRIPTION = "A simple and easy to use Linux kernel (2.4+) module which allows you to mount remote filesystems using plain shell (ssh/rsh) connection. \
2 It supports some nice features like number of different caches for access speedup, target system optimisations, etc."
3 SECTION = "kernel/userland"
5 MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
7 RDEPENDS = "shfs-modules (${PV})"
8 DEPENDS = "virtual/kernel"
10 SRC_URI = "${SOURCEFORGE_MIRROR}/shfs/shfs-${PV}.tar.gz"
11 S = "${WORKDIR}/shfs-${PV}/shfsmount"
13 KERNEL_VERSION = "${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-abiversion')}"
14 KV = "${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-abiversion')[:3]}"
16 CFLAGS_append=' -DVERSION=\\"${KERNEL_VERSION}\\" -DSHFS_VERSION=\\"${PV}\\" -I../shfs/Linux-${KV}'
19 oe_runmake LINKER="${CC}"
23 install -d ${D}/${bindir}
24 install -m 0755 shfsmount shfsumount ${D}/${bindir}