summaryrefslogtreecommitdiff
path: root/fbvncserver/fbvncserver-kmodule_0.9.4.oe
blob: 87ea183aa753208bd6280f8f4f3252bcd19ef84a (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
SECTION = "base"
BROKEN = "1"
DESCRIPTION = "framebuffer VNC server keyboard events module"

SRC_URI = "http://sdgsystems.com/download/fbvncserver-${PV}.tar.gz \
           file://libvncs0.6.patch;patch=1 \
	   file://paths.patch;patch=1 \
	   file://kernelinclude.patch;patch=1"
	  
S = "${WORKDIR}/fbvncserver-${PV}"

inherit module

#export INCLUDES = ${KERNEL_PATH}/include

do_compile () {
	oe_runmake KERNEL_PATH=${KERNEL_PATH} KERNEL_INCLUDES=-I${KERNEL_PATH}/include zaurus_kbdsim.o
	mv zaurus_kbdsim.o kbdsim.o
}

do_install () {
	install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/misc
	install -m 0755 kbdsim.o ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/misc/
}