Makefile (a02633e9b13dcb9b1a656b08f81bc8ba2d4d2294) | Makefile (e0aa099c18e83ce6983270da36349e3d52179335) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# 3# s390/Makefile 4# 5# This file is included by the global makefile so that you can add your own 6# architecture-specific flags and dependencies. Remember to do have actions 7# for "archclean" and "archdep" for cleaning up and making dependencies for 8# this architecture --- 33 unchanged lines hidden (view full) --- 42cflags-$(CONFIG_MARCH_Z10_TUNE) += -mtune=z10 43cflags-$(CONFIG_MARCH_Z196_TUNE) += -mtune=z196 44cflags-$(CONFIG_MARCH_ZEC12_TUNE) += -mtune=zEC12 45cflags-$(CONFIG_MARCH_Z13_TUNE) += -mtune=z13 46cflags-$(CONFIG_MARCH_Z14_TUNE) += -mtune=z14 47 48cflags-y += -Wa,-I$(srctree)/arch/$(ARCH)/include 49 | 1# SPDX-License-Identifier: GPL-2.0 2# 3# s390/Makefile 4# 5# This file is included by the global makefile so that you can add your own 6# architecture-specific flags and dependencies. Remember to do have actions 7# for "archclean" and "archdep" for cleaning up and making dependencies for 8# this architecture --- 33 unchanged lines hidden (view full) --- 42cflags-$(CONFIG_MARCH_Z10_TUNE) += -mtune=z10 43cflags-$(CONFIG_MARCH_Z196_TUNE) += -mtune=z196 44cflags-$(CONFIG_MARCH_ZEC12_TUNE) += -mtune=zEC12 45cflags-$(CONFIG_MARCH_Z13_TUNE) += -mtune=z13 46cflags-$(CONFIG_MARCH_Z14_TUNE) += -mtune=z14 47 48cflags-y += -Wa,-I$(srctree)/arch/$(ARCH)/include 49 |
50#KBUILD_IMAGE is necessary for make rpm 51KBUILD_IMAGE :=arch/s390/boot/image 52 | |
53# 54# Prevent tail-call optimizations, to get clearer backtraces: 55# 56cflags-$(CONFIG_FRAME_POINTER) += -fno-optimize-sibling-calls 57 58# old style option for packed stacks 59ifeq ($(call cc-option-yn,-mkernel-backchain),y) 60cflags-$(CONFIG_PACK_STACK) += -mkernel-backchain -D__PACK_STACK --- 60 unchanged lines hidden (view full) --- 121drivers-$(CONFIG_OPROFILE) += arch/s390/oprofile/ 122 123boot := arch/s390/boot 124syscalls := arch/s390/kernel/syscalls 125tools := arch/s390/tools 126 127all: image bzImage 128 | 50# 51# Prevent tail-call optimizations, to get clearer backtraces: 52# 53cflags-$(CONFIG_FRAME_POINTER) += -fno-optimize-sibling-calls 54 55# old style option for packed stacks 56ifeq ($(call cc-option-yn,-mkernel-backchain),y) 57cflags-$(CONFIG_PACK_STACK) += -mkernel-backchain -D__PACK_STACK --- 60 unchanged lines hidden (view full) --- 118drivers-$(CONFIG_OPROFILE) += arch/s390/oprofile/ 119 120boot := arch/s390/boot 121syscalls := arch/s390/kernel/syscalls 122tools := arch/s390/tools 123 124all: image bzImage 125 |
126#KBUILD_IMAGE is necessary for packaging targets like rpm-pkg, deb-pkg... 127KBUILD_IMAGE := $(boot)/bzImage 128 |
|
129install: vmlinux 130 $(Q)$(MAKE) $(build)=$(boot) $@ 131 132image bzImage: vmlinux 133 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 134 135zfcpdump: 136 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ --- 25 unchanged lines hidden --- | 129install: vmlinux 130 $(Q)$(MAKE) $(build)=$(boot) $@ 131 132image bzImage: vmlinux 133 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 134 135zfcpdump: 136 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ --- 25 unchanged lines hidden --- |