From: Baruch Siach Date: Sun, 8 Jan 2017 06:37:13 +0200 Subject: [Buildroot] [PATCH] libmad: disable ASO support for thumb-only ARM cores In-Reply-To: <20170107231126.2321-1-peter@korsgaard.com> References: <20170107231126.2321-1-peter@korsgaard.com> Message-ID: <20170108043713.4enoz63hnwtzt7sh@tarshish> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Peter, On Sun, Jan 08, 2017 at 12:11:26AM +0100, Peter Korsgaard wrote: > Fixes: > http://autobuild.buildroot.net/results/8d4/8d4ea8613487297f2c33f3b9cbd8903cfb96e4c6/ > > The ARM specific optimizations enabled by LIBMAD_ASO needs classic ARM > instructions support, so disable for thumb-only cores. > > Signed-off-by: Peter Korsgaard > --- > package/libmad/Config.in | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/libmad/Config.in b/package/libmad/Config.in > index 7d66976c1..2f7543f74 100644 > --- a/package/libmad/Config.in > +++ b/package/libmad/Config.in > @@ -37,7 +37,8 @@ config BR2_PACKAGE_LIBMAD_SSO > > config BR2_PACKAGE_LIBMAD_ASO > bool "Architecture-specific optimizations" > - default y Why is this change needed? Isn't the added dependency enough? > + # arm optimization needs classic arm instructions support > + depends on !(BR2_arm && !BR2_ARM_CPU_HAS_ARM) > help > Use certain architecture-specific optimizations. baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -