mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
kernel: Adjust perf and bcc builds
Build both only recent LTS and latest stable kernel Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
parent
f3f9c56d60
commit
faa0450b14
@ -145,9 +145,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 x86 and latest LTS and stable kernels
|
||||
# Only build perf only on x86 and recent LTS and latest stable kernels
|
||||
ifeq ($(ARCH),x86_64)
|
||||
ifeq ($(2), $(filter $(2),5.6.x 5.4.x))
|
||||
ifeq ($(2), $(filter $(2),5.11.x 5.10.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 \
|
||||
@ -183,9 +183,9 @@ forcepush: forcepush_perf_$(2)$(3)$(4)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Only build BCC on x86 and only on latest LTS and latest stable kernels.
|
||||
# Only build bcc only on x86 and recent LTS and latest stable kernels
|
||||
ifeq ($(ARCH),x86_64)
|
||||
ifeq ($(2), $(filter $(2),5.6.x 5.4.x))
|
||||
ifeq ($(2), $(filter $(2),5.11.x 5.10.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