diff options
-rw-r--r-- | arch/s390/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/arch/s390/Makefile b/arch/s390/Makefile index 874e6d6e9c5f..878e67973151 100644 --- a/arch/s390/Makefile +++ b/arch/s390/Makefile | |||
@@ -35,13 +35,16 @@ endif | |||
35 | 35 | ||
36 | export LD_BFD | 36 | export LD_BFD |
37 | 37 | ||
38 | cflags-$(CONFIG_MARCH_G5) += -march=g5 | 38 | mflags-$(CONFIG_MARCH_G5) := -march=g5 |
39 | cflags-$(CONFIG_MARCH_Z900) += -march=z900 | 39 | mflags-$(CONFIG_MARCH_Z900) := -march=z900 |
40 | cflags-$(CONFIG_MARCH_Z990) += -march=z990 | 40 | mflags-$(CONFIG_MARCH_Z990) := -march=z990 |
41 | cflags-$(CONFIG_MARCH_Z9_109) += -march=z9-109 | 41 | mflags-$(CONFIG_MARCH_Z9_109) := -march=z9-109 |
42 | cflags-$(CONFIG_MARCH_Z10) += -march=z10 | 42 | mflags-$(CONFIG_MARCH_Z10) := -march=z10 |
43 | cflags-$(CONFIG_MARCH_Z196) += -march=z196 | 43 | mflags-$(CONFIG_MARCH_Z196) := -march=z196 |
44 | cflags-$(CONFIG_MARCH_ZEC12) += -march=zEC12 | 44 | mflags-$(CONFIG_MARCH_ZEC12) := -march=zEC12 |
45 | |||
46 | aflags-y += $(mflags-y) | ||
47 | cflags-y += $(mflags-y) | ||
45 | 48 | ||
46 | cflags-$(CONFIG_MARCH_G5_TUNE) += -mtune=g5 | 49 | cflags-$(CONFIG_MARCH_G5_TUNE) += -mtune=g5 |
47 | cflags-$(CONFIG_MARCH_Z900_TUNE) += -mtune=z900 | 50 | cflags-$(CONFIG_MARCH_Z900_TUNE) += -mtune=z900 |