All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: sabeeh-khan@ti.com
Cc: meta-ti@lists.yoctoproject.org
Subject: Re: [meta-ti] [RFC][master/scarthgap][PATCH 1/4] cc33conf: add new cc33conf tool for cc33xx devices
Date: Mon, 24 Jun 2024 16:21:05 -0400	[thread overview]
Message-ID: <20240624202105.GI18231@denix.org> (raw)
In-Reply-To: <3311702c-1cc8-4542-8661-72af6262443a@ti.com>

On Thu, Jun 20, 2024 at 03:40:22PM -0500, Sabeeh Khan via lists.yoctoproject.org wrote:
> 
> On 6/20/2024 3:20 PM, Denys Dmytriyenko wrote:
> >On Wed, Jun 19, 2024 at 10:21:59PM -0500, Sabeeh Khan via lists.yoctoproject.org wrote:
> >>cc33conf is a tool provided by TI to configure
> >>cc33xx WLAN devices. It can be used to change
> >>the RF parameters and other features of the target.
> >>Documentation for this tool is provided within the following link:
> >>https://www.ti.com/tool/CC33XX-SOFTWARE
> >>
> >>Signed-off-by: Sabeeh Khan<sabeeh-khan@ti.com>
> >>---
> >>  .../cc33conf/cc33conf_git.bb                  | 29 +++++++++++++++++++
> >>  1 file changed, 29 insertions(+)
> >>  create mode 100644 meta-ti-extras/recipes-connectivity/cc33conf/cc33conf_git.bb
> >>
> >>diff --git a/meta-ti-extras/recipes-connectivity/cc33conf/cc33conf_git.bb b/meta-ti-extras/recipes-connectivity/cc33conf/cc33conf_git.bb
> >>new file mode 100644
> >>index 00000000..1e4faa77
> >>--- /dev/null
> >>+++ b/meta-ti-extras/recipes-connectivity/cc33conf/cc33conf_git.bb
> >>@@ -0,0 +1,29 @@
> >>+DESCRIPTION = "Configuration utility for TI CC33xx wireless devices"
> >>+LICENSE = "BSD-3-Clause"
> >>+LIC_FILES_CHKSUM ="file://COPYING;md5=d5fc448a36efe573623542dcb989afc4"
> >>+
> >>+SRCREV = "a2f84140b8d67cfc94472cf92676a409d1e47d86"
> >>+SRC_URI = "git://git.ti.com/git/cc33xx-wlan/cc33xx-utils.git;branch=master;protocol=https"
> >>+
> >>+PV = "1.7.0.120"
> >>+
> >>+S = "${WORKDIR}/git/cc33conf"
> >>+
> >>+EXTRA_OEMAKE = "CC="${CC}""
> >>+
> >>+do_install() {
> >>+	install -d ${D}${sbindir}
> >>+	install -d ${D}${sbindir}/cc33conf/
> >>+
> >>+	install -m 0755 cc33xxconf ${D}${sbindir}/cc33conf/
> >>+	install -m 0755 dictionary.txt ${D}${sbindir}/cc33conf/
> >>+	install -m 0755 default.conf ${D}${sbindir}/cc33conf/
> >>+	install -m 0755 README ${D}${sbindir}/cc33conf/
> >>+	install -m 0755 cc33xx-conf.conf ${D}${sbindir}/cc33conf/
> >>+	install -m 0755 cc33xx-conf.ini ${D}${sbindir}/cc33conf/
> >>+	install -m 0755 conf.h ${D}${sbindir}/cc33conf/
> >Should all these files really go into sbindir?
> 
> This recipe and tool is based off of wlconf. Since wlconf was
> already accepted,
> 
> I figured installing to a similar location would be practical.
> 
> However, I am open to other locations if you have suggestions.
> 
> The tool does use all of these files.

Well, wlconf does indeed set a bad precedent...

Are those files being used relative to the binary and hence should reside 
there?

The standard is to have conf files in /etc, binaries in /usr/bin or /bin, 
docs/READMEs in /usr/share/doc and .h headers in /usr/include.

And bitbake.conf sets all the corresponding variables accordingly, such as 
sysconfdir, bindir, datadir, docdir, includedir, etc:
https://git.openembedded.org/openembedded-core/tree/meta/conf/bitbake.conf

So, if the tool is capable of locating its files in the proper system-wide 
locations, the recipe should definitely install them in the right location.

-- 
Denys


  reply	other threads:[~2024-06-24 20:21 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-20  3:21 [RFC][master/scarthgap][PATCH 0/4] add FW and utilities for cc33xx wireless driver Sabeeh Khan
2024-06-20  3:21 ` [RFC][master/scarthgap][PATCH 1/4] cc33conf: add new cc33conf tool for cc33xx devices Sabeeh Khan
2024-06-20 20:20   ` [meta-ti] " Denys Dmytriyenko
2024-06-20 20:40     ` Khan, Sabeeh
2024-06-24 20:21       ` Denys Dmytriyenko [this message]
2024-06-24 21:19         ` Khan, Sabeeh
2024-06-20  3:22 ` [RFC][master/scarthgap][PATCH 2/4] cc33calibrator: add new cc33calibrator " Sabeeh Khan
2024-06-20 20:22   ` [meta-ti] " Denys Dmytriyenko
2024-06-20  3:22 ` [RFC][master/scarthgap][PATCH 3/4] cc33xx-fw: install cc33xx firmware Sabeeh Khan
2024-06-20 16:33   ` [meta-ti] " Ryan Eatmon
2024-06-20 16:52     ` Khan, Sabeeh
2024-06-20 18:35   ` Denys Dmytriyenko
2024-06-20 18:39     ` Khan, Sabeeh
2024-06-20  3:22 ` [RFC][master/scarthgap][PATCH 4/4] cc33xx-target-scripts: add cc33xx scripts to control TI cc33xx WLAN device Sabeeh Khan
2024-06-20 20:27   ` [meta-ti] " Denys Dmytriyenko
2024-06-20 20:37     ` Khan, Sabeeh
2024-06-21  1:17       ` Denys Dmytriyenko
2024-06-21  1:24         ` Khan, Sabeeh
2024-06-20  3:26 ` [RFC][master/scarthgap][PATCH 0/4] add FW and utilities for cc33xx wireless driver Sabeeh Khan
2024-06-20  5:59 ` [EXTERNAL] [meta-ti] " Chirag Shilwant
2024-06-20 13:31   ` Khan, Sabeeh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240624202105.GI18231@denix.org \
    --to=denis@denix.org \
    --cc=meta-ti@lists.yoctoproject.org \
    --cc=sabeeh-khan@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.