diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-12-27 19:16:06 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-12-27 19:59:39 +0100 |
commit | 530693787b3fcea9603775982d36cfc85667885c (patch) | |
tree | a19ae7b917a05bc97317796938177192a8c1bc8c | |
parent | 2f20f413b71c54a1c3a3f2c29be2ceee0ecea8c4 (diff) |
package/freerdp: do not use Neon extensions when not available
FreeRDP mis-detects the CPU, and may enable Neon extensions when it
should not. Not all ARM processors have Neon extensions.
Heck, what's more, none non-ARM processor has Neon extensions!
The regexp to detect the CPU is borked: 'arm*' will also match 'arc'
as well as 'arm'.
Do not let FreeRDP try to decide if it can use Neon extensions, we have
a Kconfig option for that, that we can use to force FreeRDP to use it or
not.
Should fix:
http://autobuild.buildroot.org/results/d4a/d4a61e686cf11d993d02ece0c4e2835a926603c2/
http://autobuild.buildroot.org/results/234/2349d40ef8d658ab1cd7332eb1b42a75afcd423f/
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/freerdp/freerdp.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/freerdp/freerdp.mk b/package/freerdp/freerdp.mk index d2e51f8ec..c9396b5ec 100644 --- a/package/freerdp/freerdp.mk +++ b/package/freerdp/freerdp.mk @@ -63,4 +63,10 @@ else FREERDP_CONF_OPTS += -DWITH_XV=OFF endif +ifeq ($(BR2_ARM_CPU_HAS_NEON),y) +FREERDP_CONF_OPTS += -DWITH_NEON=ON +else +FREERDP_CONF_OPTS += -DWITH_NEON=OFF +endif + $(eval $(cmake-package)) |