summaryrefslogtreecommitdiff
path: root/packages/fuse/fuse-module_2.5.3.bb
blob: 8c9474e07cb22b5b0d40f600b02fd1cdbed592dc (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
require fuse.inc

FILE_PR = "r0"

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

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}
}