1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Makefile for arch/parisc/kernel 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 632164845SMasahiro Yamadaextra-y := vmlinux.lds 71da177e4SLinus Torvalds 832164845SMasahiro Yamadaobj-y := head.o cache.o pacache.o setup.o pdt.o traps.o time.o irq.o \ 9*390a2086SHelge Deller syscall.o entry.o sys_parisc.o firmware.o \ 108cc28269SHelge Deller ptrace.o hardware.o inventory.o drivers.o alternative.o \ 111da177e4SLinus Torvalds signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \ 12620a53d5SSven Schnelle process.o processor.o pdc_cons.o pdc_chassis.o unwind.o \ 13d6ab9fc7SHelge Deller patch.o toc.o toc_asm.o 141da177e4SLinus Torvalds 15d75f054aSHelge Dellerifdef CONFIG_FUNCTION_TRACER 16d75f054aSHelge Deller# Do not profile debug and lowlevel utilities 176ca63662SSven SchnelleCFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE) 186ca63662SSven SchnelleCFLAGS_REMOVE_cache.o = $(CC_FLAGS_FTRACE) 196ca63662SSven SchnelleCFLAGS_REMOVE_perf.o = $(CC_FLAGS_FTRACE) 206ca63662SSven SchnelleCFLAGS_REMOVE_unwind.o = $(CC_FLAGS_FTRACE) 216ca63662SSven SchnelleCFLAGS_REMOVE_patch.o = $(CC_FLAGS_FTRACE) 22d75f054aSHelge Dellerendif 23d75f054aSHelge Deller 24f8a473bfSHelge DellerCFLAGS_REMOVE_sys_parisc.o = -Wmissing-prototypes -Wmissing-declarations 25f8a473bfSHelge DellerCFLAGS_REMOVE_sys_parisc32.o = -Wmissing-prototypes -Wmissing-declarations 26f8a473bfSHelge Deller 271da177e4SLinus Torvaldsobj-$(CONFIG_SMP) += smp.o 281da177e4SLinus Torvaldsobj-$(CONFIG_PA11) += pci-dma.o 291da177e4SLinus Torvaldsobj-$(CONFIG_PCI) += pci.o 301da177e4SLinus Torvaldsobj-$(CONFIG_MODULES) += module.o 31c7cd8824SHelge Dellerobj-$(CONFIG_64BIT) += sys_parisc32.o signal32.o 32548f1176SHelge Dellerobj-$(CONFIG_STACKTRACE)+= stacktrace.o 33527973c8SHelge Dellerobj-$(CONFIG_AUDIT) += audit.o 34527973c8SHelge Dellerobj64-$(CONFIG_AUDIT) += compat_audit.o 351da177e4SLinus Torvalds# only supported for PCX-W/U in 64-bit mode at the moment 36527973c8SHelge Dellerobj-$(CONFIG_64BIT) += perf.o perf_asm.o $(obj64-y) 3762773112SHelge Dellerobj-$(CONFIG_GENERIC_ARCH_TOPOLOGY) += topology.o 38d75f054aSHelge Dellerobj-$(CONFIG_FUNCTION_TRACER) += ftrace.o 39d75f054aSHelge Dellerobj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o 4062217bebSHelge Dellerobj-$(CONFIG_JUMP_LABEL) += jump_label.o 41eacbfce1SSven Schnelleobj-$(CONFIG_KGDB) += kgdb.o 428858ac8eSSven Schnelleobj-$(CONFIG_KPROBES) += kprobes.o 43e16260c2SSven Schnelleobj-$(CONFIG_KEXEC_CORE) += kexec.o relocate_kernel.o 441191cf49SSven Schnelleobj-$(CONFIG_KEXEC_FILE) += kexec_file.o 45df24e178SHelge Deller 46df24e178SHelge Deller# vdso 47df24e178SHelge Dellerobj-y += vdso.o 48df24e178SHelge Dellerobj-$(CONFIG_64BIT) += vdso64/ 49df24e178SHelge Dellerobj-y += vdso32/ 50