repo: https://github.com/buildroot/buildroot/tree/2021.05 commit: 69f79f2a2ee1417e19c1ead2c9226e11753c06cb Update for 2021.05 Change-Id: I77d6d14da04483c97cb172bf6732732012e538d9
27 lines
470 B
Plaintext
27 lines
470 B
Plaintext
#
|
|
# 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
|
|
else ifeq ($(BR2_ck860),y)
|
|
GCC_TARGET_CPU := ck860
|
|
endif
|
|
|
|
ifeq ($(BR2_CSKY_FPU),y)
|
|
GCC_TARGET_CPU := $(GCC_TARGET_CPU)f
|
|
endif
|
|
|
|
ifeq ($(BR2_CSKY_VDSP),y)
|
|
GCC_TARGET_CPU := $(GCC_TARGET_CPU)v
|
|
endif
|
|
|
|
endif
|