]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/s390/Makefile
[PATCH] s390: cleanup Kconfig
[linux-2.6-omap-h63xx.git] / arch / s390 / Makefile
index 73a09a6ee6c8227f96192a3ef821575d3514c471..6c6b197898d0b61c0529636c318f24a57b41756e 100644 (file)
 # Copyright (C) 1994 by Linus Torvalds
 #
 
-ifdef CONFIG_ARCH_S390_31
+ifndef CONFIG_64BIT
 LDFLAGS                := -m elf_s390
 CFLAGS         += -m31
 AFLAGS         += -m31
 UTS_MACHINE    := s390
 STACK_SIZE     := 8192
 CHECKFLAGS     += -D__s390__
-endif
-
-ifdef CONFIG_ARCH_S390X
+else
 LDFLAGS                := -m elf64_s390
 MODFLAGS       += -fpic -D__PIC__
 CFLAGS         += -m64