xref: /linux/drivers/s390/char/Makefile (revision 0671cc1048744c9a6f1c896baa85966a5abc42a0)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# S/390 character devices
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
69090f3feSHeiko Carstensifdef CONFIG_FUNCTION_TRACER
79090f3feSHeiko Carstens# Do not trace early setup code
89090f3feSHeiko CarstensCFLAGS_REMOVE_sclp_early_core.o	= $(CC_FLAGS_FTRACE)
99090f3feSHeiko Carstensendif
109090f3feSHeiko Carstens
119090f3feSHeiko CarstensGCOV_PROFILE_sclp_early_core.o		:= n
129090f3feSHeiko CarstensKCOV_INSTRUMENT_sclp_early_core.o	:= n
139090f3feSHeiko CarstensUBSAN_SANITIZE_sclp_early_core.o	:= n
140a9b4091SVasily GorbikKASAN_SANITIZE_sclp_early_core.o	:= n
159090f3feSHeiko Carstens
16366d8216SHeiko CarstensCFLAGS_sclp_early_core.o		+= -D__NO_FORTIFY
17366d8216SHeiko Carstens
18f19fbd5eSMartin SchwidefskyCFLAGS_REMOVE_sclp_early_core.o	+= $(CC_FLAGS_EXPOLINE)
19f19fbd5eSMartin Schwidefsky
20ab14de6cSHeiko Carstensobj-y += ctrlchar.o keyboard.o defkeymap.o sclp.o sclp_rw.o sclp_quiesce.o \
21e657d8feSMichael Holzheu	 sclp_cmd.o sclp_config.o sclp_cpi_sys.o sclp_ocf.o sclp_ctl.o \
2266aec647SPeter Oberparleiter	 sclp_early.o sclp_early_core.o sclp_sd.o
231da177e4SLinus Torvalds
241da177e4SLinus Torvaldsobj-$(CONFIG_TN3270) += raw3270.o
251da177e4SLinus Torvaldsobj-$(CONFIG_TN3270_CONSOLE) += con3270.o
261da177e4SLinus Torvaldsobj-$(CONFIG_TN3270_TTY) += tty3270.o
271da177e4SLinus Torvaldsobj-$(CONFIG_TN3270_FS) += fs3270.o
281da177e4SLinus Torvalds
291da177e4SLinus Torvaldsobj-$(CONFIG_TN3215) += con3215.o
301da177e4SLinus Torvalds
311da177e4SLinus Torvaldsobj-$(CONFIG_SCLP_TTY) += sclp_tty.o
321da177e4SLinus Torvaldsobj-$(CONFIG_SCLP_CONSOLE) += sclp_con.o
331da177e4SLinus Torvaldsobj-$(CONFIG_SCLP_VT220_TTY) += sclp_vt220.o
341da177e4SLinus Torvalds
3568dd13d6SSebastian Ottobj-$(CONFIG_PCI) += sclp_pci.o
3668dd13d6SSebastian Ott
37*0671cc10SHarald Freudenbergerobj-$(subst m,y,$(CONFIG_ZCRYPT)) += sclp_ap.o
38*0671cc10SHarald Freudenberger
391da177e4SLinus Torvaldsobj-$(CONFIG_VMLOGRDR) += vmlogrdr.o
406b979de3SChristian Borntraegerobj-$(CONFIG_VMCP) += vmcp.o
411da177e4SLinus Torvalds
421da177e4SLinus Torvaldstape-$(CONFIG_PROC_FS) += tape_proc.o
431da177e4SLinus Torvaldstape-objs := tape_core.o tape_std.o tape_char.o $(tape-y)
441da177e4SLinus Torvaldsobj-$(CONFIG_S390_TAPE) += tape.o tape_class.o
451da177e4SLinus Torvaldsobj-$(CONFIG_S390_TAPE_34XX) += tape_34xx.o
46b6cba4eeSStefan Baderobj-$(CONFIG_S390_TAPE_3590) += tape_3590.o
471da177e4SLinus Torvaldsobj-$(CONFIG_MONREADER) += monreader.o
4831b58088SMelissa Howlandobj-$(CONFIG_MONWRITER) += monwriter.o
49810cb5b3SFrank Munzertobj-$(CONFIG_S390_VMUR) += vmur.o
50ffa52d02SMartin Schwidefskyobj-$(CONFIG_CRASH_DUMP) += sclp_sdias.o zcore.o
518f933b10SRalf Hoppe
528f933b10SRalf Hoppehmcdrv-objs := hmcdrv_mod.o hmcdrv_dev.o hmcdrv_ftp.o hmcdrv_cache.o diag_ftp.o sclp_ftp.o
538f933b10SRalf Hoppeobj-$(CONFIG_HMC_DRV) += hmcdrv.o
54