diff options
author | Koen Kooi <k-kooi@ti.com> | 2010-01-15 17:07:23 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-04-12 19:43:11 +0200 |
commit | cb4ac9c4c14b4fbd283c1a66125a7793e8ce28b2 (patch) | |
tree | 8ea906c1559dd8b3f69e251247c4222d934f5fd7 /recipes/ti/ti-local-power-manager.inc | |
parent | 078f98eecfb365a266193bf6297b80febccb492e (diff) | |
download | openembedded-cb4ac9c4c14b4fbd283c1a66125a7793e8ce28b2.tar.gz |
ti-local-power-manager: fixes
Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/ti/ti-local-power-manager.inc')
-rw-r--r-- | recipes/ti/ti-local-power-manager.inc | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/recipes/ti/ti-local-power-manager.inc b/recipes/ti/ti-local-power-manager.inc index ada50ee473..7c5a8fc983 100644 --- a/recipes/ti/ti-local-power-manager.inc +++ b/recipes/ti/ti-local-power-manager.inc @@ -1,16 +1,21 @@ -DESCRIPTION = "LPM module for TI OMAP3 processors" +DESCRIPTION = "TI Local Power Manager (LPM)" +HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/lpm" -DEPENDS = "ti-linuxutils ti-dsplink-module" +require ti-paths.inc +require ti-staging.inc -# Set the source directory -S = "${WORKDIR}/local_power_manager_linux_${PV}" +PROVIDES = "ti-lpm-module" -require ti-paths.inc +inherit module #This is a kernel module, don't set PR directly MACHINE_KERNEL_PR_append = "a" -inherit module +S = "${WORKDIR}/local_power_manager_linux_${PV}" + +SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/lpm/${PV}/exports/local_power_manager_linux_${PV}.tar.gz;name=lpmtarball" + +DEPENDS = "ti-dsplink-module" do_compile () { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS @@ -23,19 +28,19 @@ do_compile () { } do_install () { - # LPM/CMEM/SDMA drivers - kernel modules +# TODO install the apps and the scripts + install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp - install -m 0755 ${S}/packages/ti/bios/power/modules/${LPMDSPPOWERSOC}/lpm/*.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp + install -m 0755 ${S}/packages/ti/bios/power/modules/${LPMDSPPOWERSOC}/lpm/*.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp } -# stage tree - other packages may need this do_stage() { install -d ${LPM_INSTALL_DIR} cp -pPrf ${S}/* ${LPM_INSTALL_DIR} } -RDEPENDS_${PN} += " ti-dsplink-module" - -FILES_${PN} = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/*lpm*ko" +PACKAGES += " ti-lpm-module" +FILES_ti-lpm-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/*lpm*ko" +RDEPENDS_ti-lpm-module += " ti-dsplink-module" -INHIBIT_PACKAGE_STRIP = "1" +# TODO add " ti-lpm-apps/scripts" package as appropriate |