klibc (inkernel): merge s390/s390x #4
PATCH 18/43 klibc (inkernel): merge s390/s390x #4
Changes needed for the inkernel klibc merge of s390/s390x.
Signed-off-by Heiko Carstens <[email protected]>
---
commit 378abd8f4d39024ea6c87eb5b54155238f647f0d
tree d2f336f8ab090090b07dfb6829b70ead42ea70b8
parent fc8c0c09f9dd5139dd8d797eaf9fe33962b6cd2c
author Heiko Carstens <[email protected]> Sun, 28 May 2006 11:41:42 +0200 committer H. Peter Anvin <[email protected]> Sun, 18 Jun 2006 19:05:07 -0700
Makefile | 3 ++- arch/s390/Makefile | 4 ++++ 2 files changed, 6 insertions(+), 1 deletions(-)
Makefile +2 -1
@@ -180,6 +180,7 @@ UTS_MACHINE := $(ARCH) # Architecture used to compile user-space code KLIBCARCH ?= $(ARCH) +KLIBCARCHDIR ?= $(KLIBCARCH) # klibc definitions export KLIBCINC := usr/include
@@ -326,7 +327,7 @@ export VERSION PATCHLEVEL SUBLEVEL KERNE export KLIBCARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD export CC CPP AR RANLIB NM STRIP OBJCOPY OBJDUMP MAKE AWK GENKSYMS export PERL UTS_MACHINE HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK -export CHECKFLAGS +export CHECKFLAGS KLIBCARCHDIR export CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS export CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
arch/s390/Makefile +4 -0
@@ -20,6 +20,7 @@ AFLAGS += -m31 UTS_MACHINE := s390 STACK_SIZE := 8192 CHECKFLAGS += -D__s390__ +KLIBCARCH := s390 else LDFLAGS := -m elf64_s390 MODFLAGS += -fpic -D__PIC__
@@ -28,8 +29,11 @@ AFLAGS += -m64 UTS_MACHINE := s390x STACK_SIZE := 16384 CHECKFLAGS += -D__s390__ -D__s390x__ +KLIBCARCH := s390x endif +KLIBCARCHDIR := s390 + 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)