[Buildroot] [PATCH V3 04/10] arch/csky: Add ABI variable for toolchain build

guoren at kernel.org guoren at kernel.org
Wed May 29 07:18:42 UTC 2019


From: Guo Ren <ren_guo at c-sky.com>

C-SKY toolchain build need it to seperate abiv1 & abiv2.

Signed-off-by: Guo Ren <ren_guo at c-sky.com>
---
 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



More information about the buildroot mailing list