Makefile (3d5271f9883cba7b54762bc4fe027d4172f06db7) Makefile (347a8dc3b815f0c0fa62a1df075184ffe4cbdcf1)
1#
2# s390/Makefile
3#
4# This file is included by the global makefile so that you can add your own
5# architecture-specific flags and dependencies. Remember to do have actions
6# for "archclean" and "archdep" for cleaning up and making dependencies for
7# this architecture
8#
9# This file is subject to the terms and conditions of the GNU General Public
10# License. See the file "COPYING" in the main directory of this archive
11# for more details.
12#
13# Copyright (C) 1994 by Linus Torvalds
14#
15
1#
2# s390/Makefile
3#
4# This file is included by the global makefile so that you can add your own
5# architecture-specific flags and dependencies. Remember to do have actions
6# for "archclean" and "archdep" for cleaning up and making dependencies for
7# this architecture
8#
9# This file is subject to the terms and conditions of the GNU General Public
10# License. See the file "COPYING" in the main directory of this archive
11# for more details.
12#
13# Copyright (C) 1994 by Linus Torvalds
14#
15
16ifdef CONFIG_ARCH_S390_31
16ifndef CONFIG_64BIT
17LDFLAGS := -m elf_s390
18CFLAGS += -m31
19AFLAGS += -m31
20UTS_MACHINE := s390
21STACK_SIZE := 8192
22CHECKFLAGS += -D__s390__
17LDFLAGS := -m elf_s390
18CFLAGS += -m31
19AFLAGS += -m31
20UTS_MACHINE := s390
21STACK_SIZE := 8192
22CHECKFLAGS += -D__s390__
23endif
24
25ifdef CONFIG_ARCH_S390X
23else
26LDFLAGS := -m elf64_s390
27MODFLAGS += -fpic -D__PIC__
28CFLAGS += -m64
29AFLAGS += -m64
30UTS_MACHINE := s390x
31STACK_SIZE := 16384
32CHECKFLAGS += -D__s390__ -D__s390x__
33endif

--- 73 unchanged lines hidden ---
24LDFLAGS := -m elf64_s390
25MODFLAGS += -fpic -D__PIC__
26CFLAGS += -m64
27AFLAGS += -m64
28UTS_MACHINE := s390x
29STACK_SIZE := 16384
30CHECKFLAGS += -D__s390__ -D__s390x__
31endif

--- 73 unchanged lines hidden ---