[oe-commits] Eyal Reizer : ti-wifi-utils: install calibrator ini files to rootfs

git version control git at git.openembedded.org
Fri Jun 10 16:27:59 UTC 2011


Module: openembedded.git
Branch: 2011.03-maintenance
Commit: 8b4f53425b63a5ce8c9cbd2c4036ef0b06a37247
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=8b4f53425b63a5ce8c9cbd2c4036ef0b06a37247

Author: Eyal Reizer <eyalreizer at googlemail.com>
Date:   Mon Jun  6 13:57:05 2011 +0000

ti-wifi-utils: install calibrator ini files to rootfs

In order to perform wifi calibration the calibrator needs to be
provided with a reference NVS file that matches the wifi chip and the
radio module that is being used.

This patch install these ini files to the root file system along with
the calibrator itself.

Signed-off-by: Eyal Reizer <eyalr at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 recipes/ti/ti-wifi-utils_git.bb |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/recipes/ti/ti-wifi-utils_git.bb b/recipes/ti/ti-wifi-utils_git.bb
index 567fe29..96718de 100644
--- a/recipes/ti/ti-wifi-utils_git.bb
+++ b/recipes/ti/ti-wifi-utils_git.bb
@@ -3,7 +3,7 @@ LICENCE = "TI-BSD"
 
 DEPENDS = "libnl"
 
-PR ="r2"
+PR ="r3"
 PV ="0.0"
 PR_append = "+gitr${SRCPV}"
 
@@ -17,5 +17,15 @@ CFLAGS += " -DCONFIG_LIBNL20"
 
 do_install() {
 	install -d ${D}${bindir}
+	install -d ${D}${datadir}/ti/wifi-utils/ini_files/127x
+	install -d ${D}${datadir}/ti/wifi-utils/ini_files/128x
+
 	install -m 0755 calibrator ${D}${bindir}/	
+	install -m 0755 ${S}/ini_files/127x/* ${D}${datadir}/ti/wifi-utils/ini_files/127x
+	install -m 0755 ${S}/ini_files/128x/* ${D}${datadir}/ti/wifi-utils/ini_files/128x
 }
+
+FILES_${PN} += " \
+	${datadir}/ti/wifi-utils/ini_files/127x \
+	${datadir}/ti/wifi-utils/ini_files/128x \
+"





More information about the Openembedded-commits mailing list