Skip to contentSkip to conversation

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

PATCH New Eyal Reizer 1 participant 1 message Jun 6, 2011

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---
 recipes/ti/ti-wifi-utils_git.bb |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
recipes/ti/ti-wifi-utils_git.bb +12 -1
index 8d10051..f193f27 100644
@@ -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 \
+	"
+
Signature · 1 line
1.7.0.4