[PATCH 3/4] chipsec: distutils' build arguments

Ricardo Neri <[email protected]> Wed, 15 Mar 2017 12:42:02 -0700
Newsgroups dev.linux.lists.oe-chipsec
Message-ID <[email protected]>
--===============4939428427180451282==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Utilize DISTUTILS_BUILD_ARGS variable to give the name of the setup.py
build library to use. This is mostly a cosmetic change: it looks odd
that the library name is linux-x86_64-2.7 when building for 32-bit.

Cc: Megha Dey <[email protected]>
Signed-off-by: Ricardo Neri <[email protected]>
---
 meta-luv/recipes-core/chipsec/chipsec_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-luv/recipes-core/chipsec/chipsec_git.bb b/meta-luv/recipe=
s-core/chipsec/chipsec_git.bb
index 1a209e7..4778a03 100644
--- a/meta-luv/recipes-core/chipsec/chipsec_git.bb
+++ b/meta-luv/recipes-core/chipsec/chipsec_git.bb
@@ -54,6 +54,8 @@ export CHIPSEC_ARCH =3D "${@get_target_arch(d)}"
 DISTUTILS_INSTALL_ARGS =3D "--root=3D${D}${PYTHON_SITEPACKAGES_DIR} \
     --install-data=3D${D}/${datadir}"
 =

+DISTUTILS_BUILD_ARGS =3D "--build-lib=3D${TARGET_ARCH}"
+
 fix_mod_path() {
     sed -i -e "s:^INSTALL_MOD_PATH_PREFIX =3D .*:INSTALL_MOD_PATH_PREFIX =
=3D \"${PYTHON_SITEPACKAGES_DIR}\":" ${S}/chipsec_main.py
     sed -i -e "s:PYTHONPATH:${PYTHON_SITEPACKAGES_DIR}/chipsec:" ${WORKDIR=
}/chipsec
-- =

2.9.3


--===============4939428427180451282==--