summaryrefslogtreecommitdiff
path: root/packages/fuse/fuse-module_2.6.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/fuse/fuse-module_2.6.5.bb')
-rw-r--r--packages/fuse/fuse-module_2.6.5.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/fuse/fuse-module_2.6.5.bb b/packages/fuse/fuse-module_2.6.5.bb
new file mode 100644
index 0000000000..6d516185be
--- /dev/null
+++ b/packages/fuse/fuse-module_2.6.5.bb
@@ -0,0 +1,29 @@
+require fuse.inc
+
+RRECOMMENDS = "fuse"
+PR = "r1"
+
+S = "${WORKDIR}/fuse-${PV}"
+FILES_${PN} = "/dev ${base_libdir}/modules ${sysconfdir}"
+EXTRA_OECONF = " --enable-kernel-module --with-kernel=${STAGING_KERNEL_DIR}"
+
+inherit module
+
+do_configure() {
+ cd ${S} ; oe_runconf
+}
+
+do_compile(){
+ LDFLAGS=""
+ cd ${S}/kernel
+ oe_runmake
+}
+
+fakeroot do_install() {
+ LDFLAGS=""
+ install -d ${D}${sysconfdir}/udev/rules.d/
+ install -m 644 util/udev.rules ${D}${sysconfdir}/udev/rules.d/
+ cd ${S}/kernel
+ oe_runmake install DESTDIR=${D}
+}
+