Merge pull request #6742 from Amulyam24/agent-build

runtime: remove overriding ARCH value by default for ppc64le
This commit is contained in:
Amulya Meka 2023-05-12 12:34:50 +05:30 committed by GitHub
commit 76f975e5e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 22 additions and 3 deletions

View File

@ -33,6 +33,12 @@ ifeq ($(SECCOMP),yes)
override EXTRA_RUSTFEATURES += seccomp
endif
include ../../utils.mk
ifeq ($(ARCH), ppc64le)
override ARCH = powerpc64le
endif
##VAR STANDARD_OCI_RUNTIME=yes|no define if agent enables standard oci runtime feature
STANDARD_OCI_RUNTIME := no
@ -45,8 +51,6 @@ ifneq ($(EXTRA_RUSTFEATURES),)
override EXTRA_RUSTFEATURES := --features "$(EXTRA_RUSTFEATURES)"
endif
include ../../utils.mk
TARGET_PATH = target/$(TRIPLE)/$(BUILD_TYPE)/$(TARGET)
##VAR DESTDIR=<path> is a directory prepended to each installed target file

View File

@ -17,6 +17,10 @@ CONTAINERD_RUNTIME_NAME = io.containerd.kata.v2
include ../../utils.mk
ifeq ($(ARCH), ppc64le)
override ARCH = powerpc64le
endif
ARCH_DIR = arch
ARCH_FILE_SUFFIX = -options.mk
ARCH_FILE = $(ARCH_DIR)/$(ARCH)$(ARCH_FILE_SUFFIX)

View File

@ -5,6 +5,10 @@
include ../../../utils.mk
ifeq ($(ARCH), ppc64le)
override ARCH = powerpc64le
endif
.DEFAULT_GOAL := default
default: build

View File

@ -8,6 +8,10 @@ LIBC ?= gnu
include ../../../utils.mk
ifeq ($(ARCH), ppc64le)
override ARCH = powerpc64le
endif
TARGET = runk
TARGET_PATH = target/$(TRIPLE)/$(BUILD_TYPE)/$(TARGET)
AGENT_SOURCE_PATH = ../../agent

View File

@ -5,6 +5,10 @@
include ../../../utils.mk
ifeq ($(ARCH), ppc64le)
override ARCH = powerpc64le
endif
.DEFAULT_GOAL := default
default: build

View File

@ -146,7 +146,6 @@ ifneq ($(LIBC),musl)
endif
ifeq ($(ARCH), ppc64le)
override ARCH = powerpc64le
override LIBC = gnu
$(warning "WARNING: powerpc64le-unknown-linux-musl target is unavailable")
endif