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

git version control git at git.openembedded.org
Tue Jun 7 20:18:31 UTC 2011


Module: openembedded.git
Branch: master
Commit: 00ae0e2a48c0569cc6a12b48a51cecc758a0ac50
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=00ae0e2a48c0569cc6a12b48a51cecc758a0ac50

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 8d10051..9855775 100644
--- a/recipes/ti/ti-wifi-utils_git.bb
+++ b/recipes/ti/ti-wifi-utils_git.bb
@@ -3,7 +3,7 @@ LICENSE = "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