1 # SPDX-License-Identifier: GPL-2.0
3 # S/390 character devices
6 ifdef CONFIG_FUNCTION_TRACER
7 # Do not trace early setup code
8 CFLAGS_REMOVE_sclp_early_core.o
= $(CC_FLAGS_FTRACE
)
11 GCOV_PROFILE_sclp_early_core.o
:= n
12 KCOV_INSTRUMENT_sclp_early_core.o
:= n
13 UBSAN_SANITIZE_sclp_early_core.o
:= n
15 ifneq ($(CC_FLAGS_MARCH
),-march
=z900
)
16 CFLAGS_REMOVE_sclp_early_core.o
+= $(CC_FLAGS_MARCH
)
17 CFLAGS_sclp_early_core.o
+= -march
=z900
20 CFLAGS_sclp_early_core.o
+= -D__NO_FORTIFY
22 CFLAGS_REMOVE_sclp_early_core.o
+= $(CC_FLAGS_EXPOLINE
)
24 obj-y
+= ctrlchar.o keyboard.o defkeymap.o sclp.o sclp_rw.o sclp_quiesce.o \
25 sclp_cmd.o sclp_config.o sclp_cpi_sys.o sclp_ocf.o sclp_ctl.o \
26 sclp_early.o sclp_early_core.o sclp_sd.o
28 obj-
$(CONFIG_TN3270
) += raw3270.o
29 obj-
$(CONFIG_TN3270_CONSOLE
) += con3270.o
30 obj-
$(CONFIG_TN3270_TTY
) += tty3270.o
31 obj-
$(CONFIG_TN3270_FS
) += fs3270.o
33 obj-
$(CONFIG_TN3215
) += con3215.o
35 obj-
$(CONFIG_SCLP_TTY
) += sclp_tty.o
36 obj-
$(CONFIG_SCLP_CONSOLE
) += sclp_con.o
37 obj-
$(CONFIG_SCLP_VT220_TTY
) += sclp_vt220.o
38 obj-
$(CONFIG_SCLP_ASYNC
) += sclp_async.o
40 obj-
$(CONFIG_PCI
) += sclp_pci.o
42 obj-
$(CONFIG_VMLOGRDR
) += vmlogrdr.o
43 obj-
$(CONFIG_VMCP
) += vmcp.o
45 tape-
$(CONFIG_PROC_FS
) += tape_proc.o
46 tape-objs
:= tape_core.o tape_std.o tape_char.o
$(tape-y
)
47 obj-
$(CONFIG_S390_TAPE
) += tape.o tape_class.o
48 obj-
$(CONFIG_S390_TAPE_34XX
) += tape_34xx.o
49 obj-
$(CONFIG_S390_TAPE_3590
) += tape_3590.o
50 obj-
$(CONFIG_MONREADER
) += monreader.o
51 obj-
$(CONFIG_MONWRITER
) += monwriter.o
52 obj-
$(CONFIG_S390_VMUR
) += vmur.o
53 obj-
$(CONFIG_CRASH_DUMP
) += sclp_sdias.o zcore.o
55 hmcdrv-objs
:= hmcdrv_mod.o hmcdrv_dev.o hmcdrv_ftp.o hmcdrv_cache.o diag_ftp.o sclp_ftp.o
56 obj-
$(CONFIG_HMC_DRV
) += hmcdrv.o