ti-local-power-manager: reinstate dm6446 support
authorKoen Kooi <k-kooi@ti.com>
Sat, 6 Mar 2010 10:54:07 +0000 (11:54 +0100)
committerKoen Kooi <koen@openembedded.org>
Mon, 12 Apr 2010 17:43:22 +0000 (19:43 +0200)
recipes/ti/ti-local-power-manager.inc

index b4c493d..5207977 100644 (file)
@@ -27,6 +27,7 @@ LPMDSPPOWERSOC_omap3  = "omap3530"
 LPMDSPPOWERSOC_dm6446 = "dm6446"
 LPMDSPPOWERSOC       ?= "<UNDEFINED_LPMDSPPOWERSOC>"
 
+XDC_PLATFORM_dm6446   = "ti.platforms.evmDM6446"
 XDC_PLATFORM_omap3    = "ti.platforms.evm3530"
 XDC_PLATFORM         ?= "<UNDEFINED_XDC_PLATFORM>"
 
@@ -98,7 +99,7 @@ do_install () {
 
     # Install the Utilities
     install -d ${D}/${installdir}/ti-lpm-utils
-    install -m 0755 ${S}/packages/ti/bios/power/utils/bin/ti_platforms_evm3530/linux/release/* ${D}/${installdir}/ti-lpm-utils
+    install -m 0755 ${S}/packages/ti/bios/power/utils/bin/$(echo ${XDC_PLATFORM} | sed s:\\.:_:g)/linux/release/* ${D}/${installdir}/ti-lpm-utils
 
     # Install/Stage the Source Tree 
     install -d ${D}${LPM_INSTALL_DIR_RECIPE}