summaryrefslogtreecommitdiff
path: root/sharp-binary-only/sharp-sdmmc-support_2.4.18-rmk7-pxa3-embedix.oe
blob: 0ff0b649427ad706ecd0b0c4299e9297d4bbec79 (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
DESCRIPTION = "Driver for the SHARP Zaurus SD/MMC Slot for linux ${PV}"
SECTION = "base"
PRIORITY = "optional"
LICENSE = "CLOSED"
PR = "r3"

SRC_URI = "file://sd \
	   file://sdmgr \
	   file://sdcontrol \
	   file://sharp_mmcsd_m.o"
S = "${WORKDIR}"

inherit update-rc.d

INITSCRIPT_NAME = "sd"
INITSCRIPT_PARAMS = "start 04 2 3 4 5 . stop 96 0 1 6 ."

do_install() {
	install -d ${D}/etc/init.d ${D}/${sbindir}
	install -d ${D}/lib/modules/${PV}/kernel/drivers/block/
	install -m 0755 ${WORKDIR}/sdmgr ${D}/${sbindir}
	install -m 0755 ${WORKDIR}/sdcontrol ${D}/${sysconfdir}
	install -m 0755 ${WORKDIR}/sd ${D}/etc/init.d/
	install -m 0644 ${WORKDIR}/sharp_mmcsd_m.o ${D}/lib/modules/${PV}/kernel/drivers/block/
}

FILES_${PN} = "/"