diff options
Diffstat (limited to 'arch/s390/Makefile')
-rw-r--r-- | arch/s390/Makefile | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/s390/Makefile b/arch/s390/Makefile index 3cd8dd25c9d..98db30481d9 100644 --- a/arch/s390/Makefile +++ b/arch/s390/Makefile | |||
@@ -19,6 +19,7 @@ CFLAGS += -m31 | |||
19 | AFLAGS += -m31 | 19 | AFLAGS += -m31 |
20 | UTS_MACHINE := s390 | 20 | UTS_MACHINE := s390 |
21 | STACK_SIZE := 8192 | 21 | STACK_SIZE := 8192 |
22 | CHECKFLAGS += -D__s390__ | ||
22 | endif | 23 | endif |
23 | 24 | ||
24 | ifdef CONFIG_ARCH_S390X | 25 | ifdef CONFIG_ARCH_S390X |
@@ -28,6 +29,7 @@ CFLAGS += -m64 | |||
28 | AFLAGS += -m64 | 29 | AFLAGS += -m64 |
29 | UTS_MACHINE := s390x | 30 | UTS_MACHINE := s390x |
30 | STACK_SIZE := 16384 | 31 | STACK_SIZE := 16384 |
32 | CHECKFLAGS += -D__s390__ -D__s390x__ | ||
31 | endif | 33 | endif |
32 | 34 | ||
33 | cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5) | 35 | cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5) |
@@ -100,16 +102,6 @@ image: vmlinux | |||
100 | archclean: | 102 | archclean: |
101 | $(Q)$(MAKE) $(clean)=$(boot) | 103 | $(Q)$(MAKE) $(clean)=$(boot) |
102 | 104 | ||
103 | prepare: include/asm-$(ARCH)/offsets.h | ||
104 | |||
105 | arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h \ | ||
106 | include/config/MARKER | ||
107 | |||
108 | include/asm-$(ARCH)/offsets.h: arch/$(ARCH)/kernel/asm-offsets.s | ||
109 | $(call filechk,gen-asm-offsets) | ||
110 | |||
111 | CLEAN_FILES += include/asm-$(ARCH)/offsets.h | ||
112 | |||
113 | # Don't use tabs in echo arguments | 105 | # Don't use tabs in echo arguments |
114 | define archhelp | 106 | define archhelp |
115 | echo '* image - Kernel image for IPL ($(boot)/image)' | 107 | echo '* image - Kernel image for IPL ($(boot)/image)' |