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

Eyal Reizer eyalreizer at googlemail.com
Sun Jun 5 15:32:34 UTC 2011


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

This patch install these ini files to the root file system so they can 
be used when performing the calibration.

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..d5e548b 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}${bindir}/ti-wifi-utils/ini_files/127x
+	install -d ${D}${bindir}/ti-wifi-utils/ini_files/128x
+
 	install -m 0755 calibrator ${D}${bindir}/	
+	install -m 0755 ${S}/ini_files/127x/* ${D}${bindir}/ti-wifi-utils/ini_files/127x
+	install -m 0755 ${S}/ini_files/128x/* ${D}${bindir}/ti-wifi-utils/ini_files/128x
 }
+
+FILES_${PN} +=" \
+	${bindir}/ti-wifi-utils/ini_files/127x \
+	${bindir}/ti-wifi-utils/ini_files/128x \
+	"
+
-- 
1.7.0.4





More information about the Openembedded-devel mailing list