Skip to contentSkip to conversation

motion: disable autotools host optimization

PATCH New Ray Kinsella 3 participants 3 messages Feb 10, 2017 – Feb 13, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 motion: disable autotools host optimization

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.

---
 package/motion/motion.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/motion/motion.mk +1 -1
index d27def2..d76b547 100644
@@ -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
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 motion: disable autotools host optimization

Hello,

Quoted 9 lines · Ray Kinsella

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.

---
 package/motion/motion.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 motion: disable autotools host optimization

Most welcome.

Ray K

Quoted 17 lines · Thomas Petazzoni

Hello,

Quoted 9 lines · Ray Kinsella

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.

---
 package/motion/motion.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas