diff mbox

motion: disable autotools host optimization

Message ID 1486723019-97464-1-git-send-email-ray.kinsella@intel.com
State Accepted
Headers show

Commit Message

Kinsella, Ray Feb. 10, 2017, 10:36 a.m. UTC
The motion autotools script helpfully detects the host
Microprocessors intr set and optimizes for it.
Disabling this feature causes autotools to use the
target parameters passed by BR instead.

Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
---
 package/motion/motion.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Petazzoni Feb. 11, 2017, 2:18 p.m. UTC | #1
Hello,

On Fri, 10 Feb 2017 10:36:59 +0000, Ray Kinsella wrote:
> The motion autotools script helpfully detects the host
> Microprocessors intr set and optimizes for it.
> Disabling this feature causes autotools to use the
> target parameters passed by BR instead.
> 
> Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
> ---
>  package/motion/motion.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
Kinsella, Ray Feb. 13, 2017, 10:10 a.m. UTC | #2
Most welcome.

Ray K

On 11/02/2017 14:18, Thomas Petazzoni wrote:
> Hello,
>
> On Fri, 10 Feb 2017 10:36:59 +0000, Ray Kinsella wrote:
>> The motion autotools script helpfully detects the host
>> Microprocessors intr set and optimizes for it.
>> Disabling this feature causes autotools to use the
>> target parameters passed by BR instead.
>>
>> Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
>> ---
>>  package/motion/motion.mk | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Applied to master, thanks.
>
> Thomas
>
diff mbox

Patch

diff --git a/package/motion/motion.mk b/package/motion/motion.mk
index d27def2..d76b547 100644
--- a/package/motion/motion.mk
+++ b/package/motion/motion.mk
@@ -14,7 +14,7 @@  MOTION_AUTORECONF = YES
 
 # motion does not use any specific function of jpeg-turbo, so just relies on
 # jpeg selection
-MOTION_CONF_OPTS += --without-jpeg-turbo
+MOTION_CONF_OPTS += --without-jpeg-turbo --without-optimizecpu
 
 ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y)
 MOTION_DEPENDENCIES += ffmpeg