summaryrefslogtreecommitdiff
path: root/recipes/fuse/fuse-module_2.5.3.bb
blob: 0e28207d1d8bcc6691c4cfcac08066f43dd2579d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
require fuse.inc

PR = "r0"

SRC_URI += "file://preserve_CC_with_2_4_kernel.patch"

S = "${WORKDIR}/fuse-${PV}"

FILES_${PN} = "${base_libdir}/modules"

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=""
	cd ${S}/kernel
	oe_runmake install DESTDIR=${D}
}


SRC_URI[md5sum] = "9c7e8b6606b9f158ae20b8521ba2867c"
SRC_URI[sha256sum] = "19f9e27a35e65b61c25b999c44d0c35ba858ad586379226849d097d638579057"