All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ti-wifi-utils: install calibrator ini files to rootfs
@ 2011-06-05 15:32 Eyal Reizer
  2011-06-05 18:13 ` Koen Kooi
  0 siblings, 1 reply; 4+ messages in thread
From: Eyal Reizer @ 2011-06-05 15:32 UTC (permalink / raw)
  To: openembedded-devel

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@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




^ permalink raw reply related	[flat|nested] 4+ messages in thread
* Re: [PATCH] ti-wifi-utils: install calibrator ini files to rootfs
@ 2011-06-05 19:33 Reizer, Eyal
  2011-06-05 20:51 ` Koen Kooi
  0 siblings, 1 reply; 4+ messages in thread
From: Reizer, Eyal @ 2011-06-05 19:33 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Ok, I will change it to /usr/share/ti-wifi-utils...

Best regards,
Eyal

Koen Kooi <koen@dominion.thruhere.net> wrote:


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

On 05-06-11 17:32, Eyal Reizer wrote:
> 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@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

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-----


_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-05 20:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-05 15:32 [PATCH] ti-wifi-utils: install calibrator ini files to rootfs Eyal Reizer
2011-06-05 18:13 ` Koen Kooi
  -- strict thread matches above, loose matches on Subject: below --
2011-06-05 19:33 Reizer, Eyal
2011-06-05 20:51 ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.