xref: /linux/drivers/s390/char/Makefile (revision 0526b56cbc3c489642bd6a5fe4b718dea7ef0ee8)
1# SPDX-License-Identifier: GPL-2.0
2#
3# S/390 character devices
4#
5
6ifdef 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
14KASAN_SANITIZE_sclp_early_core.o	:= n
15
16CFLAGS_sclp_early_core.o		+= -D__NO_FORTIFY
17
18CFLAGS_REMOVE_sclp_early_core.o	+= $(CC_FLAGS_EXPOLINE)
19
20obj-y += ctrlchar.o keyboard.o defkeymap.o sclp.o sclp_rw.o sclp_quiesce.o \
21	 sclp_cmd.o sclp_config.o sclp_cpi_sys.o sclp_ocf.o sclp_ctl.o \
22	 sclp_early.o sclp_early_core.o sclp_sd.o
23
24obj-$(CONFIG_TN3270) += raw3270.o con3270.o
25obj-$(CONFIG_TN3270_FS) += fs3270.o
26
27obj-$(CONFIG_TN3215) += con3215.o
28
29obj-$(CONFIG_SCLP_TTY) += sclp_tty.o
30obj-$(CONFIG_SCLP_CONSOLE) += sclp_con.o
31obj-$(CONFIG_SCLP_VT220_TTY) += sclp_vt220.o
32
33obj-$(CONFIG_PCI) += sclp_pci.o
34
35obj-$(subst m,y,$(CONFIG_ZCRYPT)) += sclp_ap.o
36
37obj-$(CONFIG_VMLOGRDR) += vmlogrdr.o
38obj-$(CONFIG_VMCP) += vmcp.o
39
40tape-$(CONFIG_PROC_FS) += tape_proc.o
41tape-objs := tape_core.o tape_std.o tape_char.o $(tape-y)
42obj-$(CONFIG_S390_TAPE) += tape.o tape_class.o
43obj-$(CONFIG_S390_TAPE_34XX) += tape_34xx.o
44obj-$(CONFIG_S390_TAPE_3590) += tape_3590.o
45obj-$(CONFIG_MONREADER) += monreader.o
46obj-$(CONFIG_MONWRITER) += monwriter.o
47obj-$(CONFIG_S390_VMUR) += vmur.o
48obj-$(CONFIG_CRASH_DUMP) += sclp_sdias.o zcore.o
49obj-$(CONFIG_S390_UV_UAPI) += uvdevice.o
50
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
53