arch/csky: move GCC_TARGET_CPU calculation to arch.mk.csky
authorGuo Ren <ren_guo@c-sky.com>
Fri, 31 May 2019 06:38:58 +0000 (14:38 +0800)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 31 May 2019 20:59:57 +0000 (22:59 +0200)
commitd26bd58502f024927755950c0ba3f880ca1b50a5
treec2afa75fa45b2e7e9a8c246c57ff7d4121b95af9
parentff9f778c66f466859acfbb65d43256262c49795c
arch/csky: move GCC_TARGET_CPU calculation to arch.mk.csky

Calculating GCC_TARGET_CPU requires combining multiple flags, which
isn't very nicely expressed in Config.in, so let's move this into
arch.mk.csky, similarly to what is done in arch.mk.riscv.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Thomas: rework commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
arch/Config.in.csky
arch/arch.mk.csky [new file with mode: 0644]