diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/sharp-binary-only/sharp-sdmmc-support.bb | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/sharp-binary-only/sharp-sdmmc-support.bb')
-rw-r--r-- | recipes/sharp-binary-only/sharp-sdmmc-support.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/recipes/sharp-binary-only/sharp-sdmmc-support.bb b/recipes/sharp-binary-only/sharp-sdmmc-support.bb new file mode 100644 index 0000000000..7fc60aa250 --- /dev/null +++ b/recipes/sharp-binary-only/sharp-sdmmc-support.bb @@ -0,0 +1,46 @@ +DESCRIPTION = "Driver for the SHARP Zaurus SD/MMC Slot for linux ${PV}" +SECTION = "kernel/modules" +PRIORITY = "optional" +LICENSE = "CLOSED" +RDEPENDS = "kernel (${PV})" +PR = "r23" +PACKAGE_ARCH = "${MACHINE}" + +COMPATIBLE_MACHINE = '(collie|poodle|tosa)' + +KERNEL2418 = "2.4.18-rmk7-pxa3-embedix" +KERNEL2420 = "2.4.20" + +PV_collie = "${KERNEL2418}" +PV_poodle = "${KERNEL2418}" +PV_tosa = "${KERNEL2418}" +PV_akita = "${KERNEL2420}" +PV_borzoi = "${KERNEL2420}" +PV_spitz = "${KERNEL2420}" + +SRC_URI = "http://openzaurus.sf.net/mirror/sd-modules-2.4.18-rmk7-pxa3-embedix-r4.tar.bz2 \ + file://sd \ + file://sdmgr \ + file://sdcontrol" + +S = "${WORKDIR}" + +inherit module-base update-rc.d + +INITSCRIPT_NAME = "sd" +INITSCRIPT_PARAMS = "start 39 S . stop 96 0 1 6 ." + +do_install() { + install -d ${D}${sysconfdir}/init.d \ + ${D}${sysconfdir}/default \ + ${D}${base_sbindir} \ + ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/block/ + + install -m 0755 ${WORKDIR}/sdmgr ${D}${base_sbindir}/ + install -m 0755 ${WORKDIR}/sdcontrol ${D}${sysconfdir} + install -m 0755 ${WORKDIR}/sd ${D}${sysconfdir}/init.d/ + install -m 0644 ${MACHINE}/sharp_mmcsd_m.o ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/block/ + echo "MODULE_FILE='${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/block/sharp_mmcsd_m.o'" > ${D}${sysconfdir}/default/sharp_sdmmc +} + +FILES_${PN} = "/" |