Skip to contentSkip to conversation

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

PATCH Superseded Eyal Reizer 2 participants 2 messages Jun 5, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-wifi-utils: install calibrator ini files to rootfs

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.

---
 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..d5e548b 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}${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 \
+	"
+
Signature · 1 line
1.7.0.4
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 26 lines · Eyal Reizer

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.

---
 recipes/ti/ti-wifi-utils_git.bb |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
recipes/ti/ti-wifi-utils_git.bb +1 -1
index 8d10051..d5e548b 100644
@@ -3,7 +3,7 @@ LICENSE = "TI-BSD"
 
 DEPENDS = "libnl"
 
-PR ="r2"
+PR ="r3"
 PV ="0.0"
 PR_append = "+gitr${SRCPV}"
 

recipes/ti/ti-wifi-utils_git.bb CFLAGS += " -DCONFIG_LIBNL20" · line 21

Quoted 5 lines
recipes/ti/ti-wifi-utils_git.bb +2 -0
@@ -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

Ini files belong somewhere in /usr/share or maybe /etc, but not in /usr/bin.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFN68dlMkyGM64RGpERAlxuAJ9c1xagnhFBj1zwfDMKan1zsQcKPgCfTpeP eSyrjfcImfSInu3hdgkkoEk=
=n6ml
-----END PGP SIGNATURE-----