mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 18:11:35 +00:00
kernel: Only build bcc/perf on x86 and latest stable and LTS
This was previously build for 5.4 and 4.19. Latest LTS is 5.4 and latest stable is 5.6. Also skip s390x build for perf Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
parent
0dd1283dec
commit
ea750c8b7b
@ -149,9 +149,9 @@ show-tags: show-tag_$(2)$(3)$(4)
|
||||
# with DCT as part of the dependency on build_$(2)$(3)$(4) and then build
|
||||
# with DOCKER_CONTENT_TRUST explicitly set to 0
|
||||
|
||||
# Only build perf on latest LTS and stable kernels. Skip arm64.
|
||||
ifeq ($(2), $(filter $(2),5.4.x 4.19.x))
|
||||
ifneq ($(ARCH),aarch64)
|
||||
# Only build perf on x86 and latest LTS and stable kernels
|
||||
ifeq ($(ARCH),x86_64)
|
||||
ifeq ($(2), $(filter $(2),5.6.x 5.4.x))
|
||||
build_perf_$(2)$(3)$(4): build_$(2)$(3)$(4)
|
||||
docker pull $(ORG)/$(IMAGE_PERF):$(1)$(3)$(4)-$(TAG)$(SUFFIX) || \
|
||||
DOCKER_CONTENT_TRUST=0 docker build -f Dockerfile.perf \
|
||||
@ -189,7 +189,7 @@ endif
|
||||
|
||||
# Only build BCC on x86 and only on latest LTS and latest stable kernels.
|
||||
ifeq ($(ARCH),x86_64)
|
||||
ifeq ($(2), $(filter $(2),5.4.x 4.19.x))
|
||||
ifeq ($(2), $(filter $(2),5.6.x 5.4.x))
|
||||
build_bcc_$(2)$(3)$(4): build_$(2)$(3)$(4)
|
||||
docker pull $(ORG)/$(IMAGE_BCC):$(1)$(3)$(4)-$(TAG)$(SUFFIX) || \
|
||||
DOCKER_CONTENT_TRUST=0 docker build -f Dockerfile.bcc \
|
||||
|
Loading…
Reference in New Issue
Block a user