2019-05-31 08:38:58 +02:00
|
|
|
#
|
|
|
|
# Configure the GCC_TARGET_ARCH variable and append the
|
|
|
|
# appropriate C-SKY ISA extensions.
|
|
|
|
#
|
|
|
|
|
|
|
|
ifeq ($(BR2_csky),y)
|
|
|
|
|
|
|
|
ifeq ($(BR2_ck610),y)
|
|
|
|
GCC_TARGET_CPU := ck610
|
|
|
|
else ifeq ($(BR2_ck807),y)
|
|
|
|
GCC_TARGET_CPU := ck807
|
|
|
|
else ifeq ($(BR2_ck810),y)
|
|
|
|
GCC_TARGET_CPU := ck810
|
2019-05-31 08:39:00 +02:00
|
|
|
else ifeq ($(BR2_ck860),y)
|
|
|
|
GCC_TARGET_CPU := ck860
|
2019-05-31 08:38:58 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_CSKY_FPU),y)
|
|
|
|
GCC_TARGET_CPU := $(GCC_TARGET_CPU)f
|
|
|
|
endif
|
|
|
|
|
2019-05-31 08:38:59 +02:00
|
|
|
ifeq ($(BR2_CSKY_VDSP),y)
|
|
|
|
GCC_TARGET_CPU := $(GCC_TARGET_CPU)v
|
|
|
|
endif
|
|
|
|
|
2019-05-31 08:38:58 +02:00
|
|
|
endif
|