X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=arch%2Fs390%2FMakefile;h=b1e558496469c1f9074658fd6ae253b4a7fed4ff;hb=7f52a3afc4c02db75b3953fcbbb980abc86873a2;hp=7bb16fb97d4fbdb235ca54da0c0eba58f0192111;hpb=d42510a0f58c2583c37c8e9b7548e3a68545863a;p=sagit-ice-cold%2Fkernel_xiaomi_msm8998.git diff --git a/arch/s390/Makefile b/arch/s390/Makefile index 7bb16fb97d4f..b1e558496469 100644 --- a/arch/s390/Makefile +++ b/arch/s390/Makefile @@ -33,6 +33,15 @@ endif cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5) cflags-$(CONFIG_MARCH_Z900) += $(call cc-option,-march=z900) cflags-$(CONFIG_MARCH_Z990) += $(call cc-option,-march=z990) +cflags-$(CONFIG_MARCH_Z9_109) += $(call cc-option,-march=z9-109) + +#KBUILD_IMAGE is necessary for make rpm +KBUILD_IMAGE :=arch/s390/boot/image + +# +# Prevent tail-call optimizations, to get clearer backtraces: +# +cflags-$(CONFIG_FRAME_POINTER) += -fno-optimize-sibling-calls # old style option for packed stacks ifeq ($(call cc-option-yn,-mkernel-backchain),y) @@ -73,18 +82,18 @@ AFLAGS += $(aflags-y) OBJCOPYFLAGS := -O binary LDFLAGS_vmlinux := -e start -head-y := arch/$(ARCH)/kernel/head.o arch/$(ARCH)/kernel/init_task.o +head-y := arch/s390/kernel/head.o arch/s390/kernel/init_task.o -core-y += arch/$(ARCH)/mm/ arch/$(ARCH)/kernel/ arch/$(ARCH)/crypto/ \ - arch/$(ARCH)/appldata/ -libs-y += arch/$(ARCH)/lib/ +core-y += arch/s390/mm/ arch/s390/kernel/ arch/s390/crypto/ \ + arch/s390/appldata/ arch/s390/hypfs/ +libs-y += arch/s390/lib/ drivers-y += drivers/s390/ -drivers-$(CONFIG_MATHEMU) += arch/$(ARCH)/math-emu/ +drivers-$(CONFIG_MATHEMU) += arch/s390/math-emu/ # must be linked after kernel drivers-$(CONFIG_OPROFILE) += arch/s390/oprofile/ -boot := arch/$(ARCH)/boot +boot := arch/s390/boot all: image