]> Git Repo - buildroot-mgba.git/blob - arch/arch.mk.csky
arch/csky: move GCC_TARGET_CPU calculation to arch.mk.csky
[buildroot-mgba.git] / arch / arch.mk.csky
1 #
2 # Configure the GCC_TARGET_ARCH variable and append the
3 # appropriate C-SKY ISA extensions.
4 #
5
6 ifeq ($(BR2_csky),y)
7
8 ifeq ($(BR2_ck610),y)
9 GCC_TARGET_CPU := ck610
10 else ifeq ($(BR2_ck807),y)
11 GCC_TARGET_CPU := ck807
12 else ifeq ($(BR2_ck810),y)
13 GCC_TARGET_CPU := ck810
14 endif
15
16 ifeq ($(BR2_CSKY_DSP),y)
17 GCC_TARGET_CPU := $(GCC_TARGET_CPU)e
18 endif
19
20 ifeq ($(BR2_CSKY_FPU),y)
21 GCC_TARGET_CPU := $(GCC_TARGET_CPU)f
22 endif
23
24 endif
This page took 0.02432 seconds and 4 git commands to generate.