Openembedded Devel Discussions
 help / color / mirror / Atom feed
* How do i get py-smbus include in image
@ 2010-12-14  3:47 Ed Nelson
  0 siblings, 0 replies; only message in thread
From: Ed Nelson @ 2010-12-14  3:47 UTC (permalink / raw)
  To: openembedded-devel

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-14  3:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-14  3:47 How do i get py-smbus include in image Ed Nelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox