aboutsummaryrefslogtreecommitdiffstats
path: root/shfs
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
committerChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
commit06f7d17e81de21a95e35b03453242bc62b05a6aa (patch)
treebc9c53bce2c6a2fdce3caf5bb45bc3f8634b56be /shfs
parent4b022a36ced4930af6bcdeb7d75a5ed10c4ac9cd (diff)
downloadopenembedded-06f7d17e81de21a95e35b03453242bc62b05a6aa.tar.gz
First pass of .oe cleanups.
BKrev: 40529f4crFtRY5_1DubNmWhDeHSmPw
Diffstat (limited to 'shfs')
-rw-r--r--shfs/shfs-modules_0.32.oe23
-rw-r--r--shfs/shfs-utils_0.32.oe16
2 files changed, 31 insertions, 8 deletions
diff --git a/shfs/shfs-modules_0.32.oe b/shfs/shfs-modules_0.32.oe
index e69de29bb2..54b4aba8d0 100644
--- a/shfs/shfs-modules_0.32.oe
+++ b/shfs/shfs-modules_0.32.oe
@@ -0,0 +1,23 @@
+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 Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+
+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_install() {
+ install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/fs/shfs/
+ install -m 0755 shfs.o ${D}/lib/modules/${KERNEL_VERSION}/kernel/fs/shfs/shfs.o
+}
diff --git a/shfs/shfs-utils_0.32.oe b/shfs/shfs-utils_0.32.oe
index 357f34405d..6b4d0f37ef 100644
--- a/shfs/shfs-utils_0.32.oe
+++ b/shfs/shfs-utils_0.32.oe
@@ -1,14 +1,14 @@
-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. \
+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 Lauer <mickey@Vanille.de>"
-LICENSE="GPL"
-RDEPENDS="shfs-modules (${PV})"
-DEPENDS="virtual/kernel"
+SECTION = "base"
+PRIORITY = "optional"
+MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+RDEPENDS = "shfs-modules (${PV})"
+DEPENDS = "virtual/kernel"
SRC_URI="${SOURCEFORGE_MIRROR}/shfs/shfs-${PV}.tar.gz"
-S="${WORKDIR}/shfs-${PV}/shfsmount"
+S = "${WORKDIR}/shfs-${PV}/shfsmount"
KERNEL_VERSION="`cat ${STAGING_DIR}/target/kernel/kernel-version`"
CFLAGS_append=' -DVERSION=\\"${KERNEL_VERSION}\\"'