From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH] crypto: arm: workaround for building with old binutils Date: Sat, 11 Apr 2015 10:55:35 +0200 Message-ID: <2148670.W34n3asXfA@wuerfel> References: <3461827.FYLMCAIQyv@wuerfel> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Herbert Xu , "linux-kernel@vger.kernel.org" , Russell King , "linux-crypto@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "David S. Miller" To: Ard Biesheuvel Return-path: Received: from mout.kundenserver.de ([212.227.126.131]:56595 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932425AbbDKI4C (ORCPT ); Sat, 11 Apr 2015 04:56:02 -0400 In-Reply-To: Sender: linux-crypto-owner@vger.kernel.org List-ID: On Saturday 11 April 2015 09:41:08 Ard Biesheuvel wrote: > Could you perhaps put the rules that build these modules inside a > > ifneq ($(armv8-ce-flags),-DARMV8_CE_DISABLED) > ... > endif > How about something like this: ifeq ($(call as-option,-Wa$(comma)-mfpu=crypto-neon-fp-armv8),) $(warning ARMv8 Crypto Extensions need binutils 2.23 or higher) else ... endif That would basically be a reimplementation of the missing "as-option-yn" macro though, so we could also add that instead and do ifeq ($(call as-option-yn,-Wa$(comma)-mfpu=crypto-neon-fp-armv8),y) $(warning ARMv8 Crypto Extensions need binutils 2.23 or higher) else ... endif Arnd