From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4939428427180451282==" MIME-Version: 1.0 From: Ricardo Neri Subject: [PATCH 3/4] chipsec: distutils' build arguments Date: Wed, 15 Mar 2017 12:42:02 -0700 Message-ID: <20170315194203.118564-4-ricardo.neri-calderon@linux.intel.com> In-Reply-To: <20170315194203.118564-1-ricardo.neri-calderon@linux.intel.com> List-Id: To: chipsec@lists.01.org --===============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 Signed-off-by: Ricardo Neri --- 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==--