summaryrefslogtreecommitdiff
path: root/shfs/shfs-modules_0.35.oe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-10-05 21:29:26 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-10-05 21:29:26 +0000
commitdacf5d3be159ba651ffbeef8cf5d8858459c5f0c (patch)
tree0f89467cc28210a49280d543377fc3c2596679b4 /shfs/shfs-modules_0.35.oe
parenta5fa5eeedaff9b71148c74bcb581eb3d40dab8d1 (diff)
fix module permissions in shfs-modules
BKrev: 41631236xmhfG5UfN036os_RSITnvQ
Diffstat (limited to 'shfs/shfs-modules_0.35.oe')
-rw-r--r--shfs/shfs-modules_0.35.oe28
1 files changed, 28 insertions, 0 deletions
diff --git a/shfs/shfs-modules_0.35.oe b/shfs/shfs-modules_0.35.oe
index e69de29bb2..5cc0f4aed0 100644
--- a/shfs/shfs-modules_0.35.oe
+++ b/shfs/shfs-modules_0.35.oe
@@ -0,0 +1,28 @@
+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. \
+It supports some nice features like number of different caches for access speedup, target system optimisations, etc."
+SECTION = "base"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/shfs/shfs-${PV}.tar.gz"
+S = "${WORKDIR}/shfs-${PV}/shfs/Linux-2.4"
+
+#FIXME depend S on kernel version
+
+inherit module
+
+do_compile() {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake KERNEL_SOURCES=${KERNEL_SOURCE} KERNEL=${KERNEL_VERSION} LINKER=${LD} LDFLAGS=-r
+}
+
+do_stage() {
+ install -m 0644 shfs_fs.h shfs.h ${STAGING_INCDIR}/
+}
+
+do_install() {
+ install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/fs/shfs/
+ install -m 0644 shfs.o ${D}/lib/modules/${KERNEL_VERSION}/kernel/fs/shfs/shfs.o
+}