From: Peter Korsgaard Date: Mon, 27 Jun 2016 14:33:07 +0000 (+0200) Subject: beecrypt: arm assembly optimizations needs ARM instructions support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee525dc3892c1efd3d69af3401e4908d3217d286;p=buildroot.git beecrypt: arm assembly optimizations needs ARM instructions support Fixes: http://autobuild.buildroot.net/results/980/98034ebb086987fb8fc004672164f609f5a69543/ http://autobuild.buildroot.net/results/3bd/3bdba5cf7e901f8600e567b1b0eb0866d6dfc523/ So disable it for thumb(2)-only configurations (armv7m), similar to how we do it for m68k coldfire. Signed-off-by: Peter Korsgaard --- diff --git a/package/beecrypt/beecrypt.mk b/package/beecrypt/beecrypt.mk index 4fcdf439a3..bd29b3b2c8 100644 --- a/package/beecrypt/beecrypt.mk +++ b/package/beecrypt/beecrypt.mk @@ -22,6 +22,11 @@ ifeq ($(BR2_m68k_cf),y) BEECRYPT_CONF_OPTS += --enable-debug endif +# arm asm optimization doesn't work for thumb-only +ifeq ($(BR2_arm):$(BR2_ARM_CPU_HAS_ARM),y:) +BEECRYPT_CONF_OPTS += --enable-debug +endif + ifeq ($(BR2_PACKAGE_BEECRYPT_CPP),y) BEECRYPT_DEPENDENCIES += icu BEECRYPT_CONF_OPTS += --with-cplusplus