From 9f0e3ff8a09a9352a9772195f06d454b827a6aab Mon Sep 17 00:00:00 2001 From: Guo Ren Date: Fri, 31 May 2019 14:39:02 +0800 Subject: [PATCH] package/Makefile: add C-SKY ABI variable value In preparation for adding support for the C-SKY architecture in the internal toolchain backend, we need to make sure that GNU_TARGET_NAME will contain the appropriate ABI, i.e abiv1 or abiv2 depending on the selected C-SKY core. Signed-off-by: Guo Ren Signed-off-by: Thomas Petazzoni --- package/Makefile.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package/Makefile.in b/package/Makefile.in index dc818a2c18..f05b9cc3aa 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.30.2