[oe] [PATCHv2] ti-wifi-utils: install calibrator ini files to rootfs

Eyal Reizer eyalreizer at googlemail.com
Mon Jun 6 05:57:05 UTC 2011


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>
---
 recipes/ti/ti-wifi-utils_git.bb |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/recipes/ti/ti-wifi-utils_git.bb b/recipes/ti/ti-wifi-utils_git.bb
index 8d10051..f193f27 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,16 @@ 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 \
+	"
+
-- 
1.7.0.4





More information about the Openembedded-devel mailing list