diff options
author | Guo Ren <ren_guo@c-sky.com> | 2019-02-19 12:32:41 +0800 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2019-04-22 13:44:57 +0800 |
commit | 3dfc242f11d792535db774613c6fd1df565c2137 (patch) | |
tree | 1723b0239d2ca95e2b019efe53051a416d6a1733 /arch/csky/Makefile | |
parent | 085b7755808aa11f78ab9377257e1dad2e6fa4bb (diff) | |
download | linux-3dfc242f11d792535db774613c6fd1df565c2137.tar.gz linux-3dfc242f11d792535db774613c6fd1df565c2137.tar.bz2 linux-3dfc242f11d792535db774613c6fd1df565c2137.zip |
csky: Fixup vdsp&fpu issues in kernel
This fixup is continue to commit 35ff802af1c4 (csky: fixup remove
vdsp implement for kernel.) and in that patch I didn't finish the
job. We must forbid gcc to generate any vdsp & fpu instructions
and remove vdsp asm in memmove.S.
eg: For GCC it's -mcpu=ck860 and For AS it's -Wa,-mcpu=ck860fv
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Diffstat (limited to 'arch/csky/Makefile')
-rw-r--r-- | arch/csky/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/Makefile b/arch/csky/Makefile index 3607a6e8f66c..6b87f6c22ad6 100644 --- a/arch/csky/Makefile +++ b/arch/csky/Makefile @@ -36,7 +36,7 @@ endif ifneq ($(CSKYABI),) MCPU_STR = $(CPUTYPE)$(FPUEXT)$(VDSPEXT)$(TEEEXT) -KBUILD_CFLAGS += -mcpu=$(MCPU_STR) +KBUILD_CFLAGS += -mcpu=$(CPUTYPE) -Wa,-mcpu=$(MCPU_STR) KBUILD_CFLAGS += -DCSKYCPU_DEF_NAME=\"$(MCPU_STR)\" KBUILD_CFLAGS += -msoft-float -mdiv KBUILD_CFLAGS += -fno-tree-vectorize |