diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2016-11-16 18:57:39 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-11-18 01:47:00 +0300 |
commit | 04b910c48901656f07980a32bef416884d4eccb7 (patch) | |
tree | f0642aafaccd84f4420538c9a80bb6778af01eb3 /meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass | |
parent | f1275cc09fdedee42728bb8e819a585efec7d98f (diff) | |
download | openbmc-04b910c48901656f07980a32bef416884d4eccb7.tar.xz |
Create bbclass for python in autotools recipes
Add the base requirements for building and installing python scripts
within a package using autotools.
Change-Id: Ia6f6a819a80bc346153ff5c53cefad41d973d953
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass')
-rw-r--r-- | meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass b/meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass new file mode 100644 index 000000000..408d15ca5 --- /dev/null +++ b/meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass @@ -0,0 +1,8 @@ +inherit pythonnative + +export BUILD_SYS +export HOST_SYS +export STAGING_INCDIR +export STAGING_LIBDIR + +FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}" |