blob: 05ac6ba15a53285f41e01ab415b776366ddb5e54 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# S/390 character devices
4#
5
Heiko Carstens9090f3f2017-01-24 15:45:13 +01006ifdef CONFIG_FUNCTION_TRACER
7# Do not trace early setup code
8CFLAGS_REMOVE_sclp_early_core.o = $(CC_FLAGS_FTRACE)
9endif
10
11GCOV_PROFILE_sclp_early_core.o := n
12KCOV_INSTRUMENT_sclp_early_core.o := n
13UBSAN_SANITIZE_sclp_early_core.o := n
14
15ifneq ($(CC_FLAGS_MARCH),-march=z900)
16CFLAGS_REMOVE_sclp_early_core.o += $(CC_FLAGS_MARCH)
17CFLAGS_sclp_early_core.o += -march=z900
18endif
19
Heiko Carstensab14de62007-02-05 21:18:37 +010020obj-y += ctrlchar.o keyboard.o defkeymap.o sclp.o sclp_rw.o sclp_quiesce.o \
Michael Holzheue657d8f2013-11-13 10:38:27 +010021 sclp_cmd.o sclp_config.o sclp_cpi_sys.o sclp_ocf.o sclp_ctl.o \
Heiko Carstens9090f3f2017-01-24 15:45:13 +010022 sclp_early.o sclp_early_core.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070023
24obj-$(CONFIG_TN3270) += raw3270.o
25obj-$(CONFIG_TN3270_CONSOLE) += con3270.o
26obj-$(CONFIG_TN3270_TTY) += tty3270.o
27obj-$(CONFIG_TN3270_FS) += fs3270.o
28
29obj-$(CONFIG_TN3215) += con3215.o
30
Linus Torvalds1da177e2005-04-16 15:20:36 -070031obj-$(CONFIG_SCLP_TTY) += sclp_tty.o
32obj-$(CONFIG_SCLP_CONSOLE) += sclp_con.o
33obj-$(CONFIG_SCLP_VT220_TTY) += sclp_vt220.o
Hans-Joachim Pichtc114728a2009-09-11 10:28:47 +020034obj-$(CONFIG_SCLP_ASYNC) += sclp_async.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070035
Sebastian Ott68dd13d2015-11-27 11:15:36 +010036obj-$(CONFIG_PCI) += sclp_pci.o
37
Linus Torvalds1da177e2005-04-16 15:20:36 -070038obj-$(CONFIG_VMLOGRDR) += vmlogrdr.o
Christian Borntraeger6b979de2005-06-25 14:55:32 -070039obj-$(CONFIG_VMCP) += vmcp.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070040
Linus Torvalds1da177e2005-04-16 15:20:36 -070041tape-$(CONFIG_PROC_FS) += tape_proc.o
42tape-objs := tape_core.o tape_std.o tape_char.o $(tape-y)
43obj-$(CONFIG_S390_TAPE) += tape.o tape_class.o
44obj-$(CONFIG_S390_TAPE_34XX) += tape_34xx.o
Stefan Baderb6cba4e2006-03-24 03:15:29 -080045obj-$(CONFIG_S390_TAPE_3590) += tape_3590.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070046obj-$(CONFIG_MONREADER) += monreader.o
Melissa Howland31b58082006-09-20 15:59:34 +020047obj-$(CONFIG_MONWRITER) += monwriter.o
Frank Munzert810cb5b2007-07-17 13:36:06 +020048obj-$(CONFIG_S390_VMUR) += vmur.o
Martin Schwidefskyffa52d02015-10-28 09:47:58 +010049obj-$(CONFIG_CRASH_DUMP) += sclp_sdias.o zcore.o
Ralf Hoppe8f933b12013-04-08 09:52:57 +020050
51hmcdrv-objs := hmcdrv_mod.o hmcdrv_dev.o hmcdrv_ftp.o hmcdrv_cache.o diag_ftp.o sclp_ftp.o
52obj-$(CONFIG_HMC_DRV) += hmcdrv.o