[Buildroot] Patch for opencv3: python module was built for the host instead of target.
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Apr 1 08:50:42 UTC 2018
Hello,
On Tue, 6 Mar 2018 17:19:18 +0000, Shyrokov, Sasha wrote:
> From 9b211fb5ec49879d10d32d22ed3608ffca944e2d Mon Sep 17 00:00:00 2001
> From: Sasha Shyrokov <alexander-shyrokov at idexx.com>
> Date: Tue, 6 Mar 2018 10:58:10 -0500
> Subject: [PATCH 1/1] opencv3: python module was built for the host instead of target.
>
> distutils environment variables must be set.
> OPENCV3_CONF_ENV = $(PKG_PYTHON_DISTUTILS_ENV) All credit goes to Arnout:
> https://stackoverflow.com/questions/49059035/buildroot-opencv3-python-package-builds-for-the-wrong-target
>
> Signed-off-by: Sasha Shyrokov <alexander-shyrokov at idexx.com>
> ---
> package/opencv3/opencv3.mk | 1 +
> 1 file changed, 1 insertion(+)
Thanks, I've applied after extending the commit log to explain the
problem in more details, and apply the solution also to Python 2.x fo
consistency, even if it's only strictly needed for Python 3.x.
See
https://git.buildroot.org/buildroot/commit/?id=8ba80282c3bb580c6a45ea114e70acac98fe1690
Thanks for your contribution!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list