Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Ed Nelson <enelson1000@comcast.net>
To: openembedded-devel@lists.openembedded.org
Subject: How do i get py-smbus include in image
Date: Mon, 13 Dec 2010 19:47:13 -0800	[thread overview]
Message-ID: <4D06E8C1.8090108@comcast.net> (raw)

I am trying to use py-smbus and see that it is included in i2c-tool but 
by default it is not built. It also looks like from the readme file 
under py-smbus that lm-sensors need to be built 1st.

I assume I would add both i2c-tools and lm-sensor to my image recipe as 
follows but is there anything else I need to do to get py-smbus built.

========

#Angstrom base-image with python

require base-image.bb

DEPENDS += "python \
                         python-pyserial \
                         mtd-utils \
                         i2c-tools \
                         lm-sensors \
        "

IMAGE_INSTALL += "python \
                                    python-pyserial \
                                    mtd-utils \
                                    i2c-tools \
                                    lm-sensors \
                                    nano \
              "

export IMAGE_BASENAME = "base-python-image"

========================

Thanks
Ed




                 reply	other threads:[~2010-12-14  3:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4D06E8C1.8090108@comcast.net \
    --to=enelson1000@comcast.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox