Commit 2ced0450 authored by Michael Holzheu's avatar Michael Holzheu Committed by Pavel Emelyanov

s390: Enable s390 build in Makefile

Reviewed-by: 's avatarAlice Frosi <alice@linux.vnet.ibm.com>
Signed-off-by: 's avatarMichael Holzheu <holzheu@linux.vnet.ibm.com>
Reviewed-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 01ee2970
...@@ -21,7 +21,7 @@ UNAME-M := $(shell uname -m) ...@@ -21,7 +21,7 @@ UNAME-M := $(shell uname -m)
# #
# Supported Architectures # Supported Architectures
ifneq ($(filter-out x86 arm aarch64 ppc64,$(ARCH)),) ifneq ($(filter-out x86 arm aarch64 ppc64 s390,$(ARCH)),)
$(error "The architecture $(ARCH) isn't supported") $(error "The architecture $(ARCH) isn't supported")
endif endif
...@@ -65,6 +65,13 @@ ifeq ($(ARCH),x86) ...@@ -65,6 +65,13 @@ ifeq ($(ARCH),x86)
DEFINES := -DCONFIG_X86_64 DEFINES := -DCONFIG_X86_64
endif endif
ifeq ($(ARCH),s390)
ARCH := s390
SRCARCH := s390
VDSO := y
DEFINES := -DCONFIG_S390
endif
LDARCH ?= $(SRCARCH) LDARCH ?= $(SRCARCH)
export LDARCH VDSO export LDARCH VDSO
export PROTOUFIX DEFINES export PROTOUFIX DEFINES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment