xref: /linux/drivers/s390/char/Makefile (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
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
249603cb33SSven Schnelleobj-$(CONFIG_TN3270) += raw3270.o con3270.o
251da177e4SLinus Torvaldsobj-$(CONFIG_TN3270_FS) += fs3270.o
261da177e4SLinus Torvalds
271da177e4SLinus Torvaldsobj-$(CONFIG_TN3215) += con3215.o
281da177e4SLinus Torvalds
291da177e4SLinus Torvaldsobj-$(CONFIG_SCLP_TTY) += sclp_tty.o
301da177e4SLinus Torvaldsobj-$(CONFIG_SCLP_CONSOLE) += sclp_con.o
311da177e4SLinus Torvaldsobj-$(CONFIG_SCLP_VT220_TTY) += sclp_vt220.o
321da177e4SLinus Torvalds
3368dd13d6SSebastian Ottobj-$(CONFIG_PCI) += sclp_pci.o
3468dd13d6SSebastian Ott
35*12376084SHolger Denglerobj-$(subst m,y,$(CONFIG_AP)) += sclp_ap.o
360671cc10SHarald Freudenberger
371da177e4SLinus Torvaldsobj-$(CONFIG_VMLOGRDR) += vmlogrdr.o
386b979de3SChristian Borntraegerobj-$(CONFIG_VMCP) += vmcp.o
391da177e4SLinus Torvalds
401da177e4SLinus Torvaldstape-$(CONFIG_PROC_FS) += tape_proc.o
411da177e4SLinus Torvaldstape-objs := tape_core.o tape_std.o tape_char.o $(tape-y)
421da177e4SLinus Torvaldsobj-$(CONFIG_S390_TAPE) += tape.o tape_class.o
431da177e4SLinus Torvaldsobj-$(CONFIG_S390_TAPE_34XX) += tape_34xx.o
44b6cba4eeSStefan Baderobj-$(CONFIG_S390_TAPE_3590) += tape_3590.o
451da177e4SLinus Torvaldsobj-$(CONFIG_MONREADER) += monreader.o
4631b58088SMelissa Howlandobj-$(CONFIG_MONWRITER) += monwriter.o
47810cb5b3SFrank Munzertobj-$(CONFIG_S390_VMUR) += vmur.o
48ffa52d02SMartin Schwidefskyobj-$(CONFIG_CRASH_DUMP) += sclp_sdias.o zcore.o
494689752cSSteffen Eidenobj-$(CONFIG_S390_UV_UAPI) += uvdevice.o
508f933b10SRalf Hoppe
518f933b10SRalf Hoppehmcdrv-objs := hmcdrv_mod.o hmcdrv_dev.o hmcdrv_ftp.o hmcdrv_cache.o diag_ftp.o sclp_ftp.o
528f933b10SRalf Hoppeobj-$(CONFIG_HMC_DRV) += hmcdrv.o
53