From mboxrd@z Thu Jan 1 00:00:00 1970 From: guoren at kernel.org Date: Fri, 31 May 2019 14:39:02 +0800 Subject: [Buildroot] [PATCH V4 05/11] arch/csky: Add ABI variable for toolchain build In-Reply-To: <1559284748-32011-1-git-send-email-guoren@kernel.org> References: <1559284748-32011-1-git-send-email-guoren@kernel.org> Message-ID: <1559284748-32011-6-git-send-email-guoren@kernel.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net From: Guo Ren C-SKY toolchain build need it to seperate abiv1 & abiv2. Signed-off-by: Guo Ren --- package/Makefile.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package/Makefile.in b/package/Makefile.in index dc818a2..f05b9cc 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -70,6 +70,15 @@ ABI := $(ABI)hf endif endif +# For C-SKY abiv1 & abiv2 +ifeq ($(BR2_csky),y) +ifeq ($(BR2_ck610),y) +ABI = abiv1 +else +ABI = abiv2 +endif +endif + # For FSL PowerPC there's SPE ifeq ($(BR2_powerpc_SPE),y) ABI = spe -- 2.7.4