mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 01:06:27 +00:00
kernel: Remove fetch target
This target allowed to locally download the kernel source tar balls. We haven't used this foir a while and adding v5.x kernel support for it would add yet another conditional. Remove it to keep the Makefile simpler. Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
parent
d79e8d9d6c
commit
d47b283df4
@ -72,18 +72,13 @@ endif
|
|||||||
|
|
||||||
KERNEL_VERSIONS=
|
KERNEL_VERSIONS=
|
||||||
|
|
||||||
.PHONY: fetch build push
|
.PHONY: build push
|
||||||
# Targets:
|
# Targets:
|
||||||
# fetch: Downloads the kernel sources into ./sources
|
|
||||||
# build: Builds all kernels
|
# build: Builds all kernels
|
||||||
# push: Pushes and sign all tagged kernel images to hub
|
# push: Pushes and sign all tagged kernel images to hub
|
||||||
fetch:
|
|
||||||
build:
|
build:
|
||||||
push:
|
push:
|
||||||
|
|
||||||
sources:
|
|
||||||
mkdir -p $@
|
|
||||||
|
|
||||||
# A template for defining kernel build
|
# A template for defining kernel build
|
||||||
# Arguments:
|
# Arguments:
|
||||||
# $1: Full kernel version, e.g., 4.9.22
|
# $1: Full kernel version, e.g., 4.9.22
|
||||||
@ -100,8 +95,6 @@ sources:
|
|||||||
define kernel
|
define kernel
|
||||||
|
|
||||||
ifeq ($(4),)
|
ifeq ($(4),)
|
||||||
sources/linux-$(1).tar.xz: Makefile | sources
|
|
||||||
curl -fsSLo sources/linux-$(1).tar.xz https://www.kernel.org/pub/linux/kernel/v4.x/linux-$(1).tar.xz
|
|
||||||
KERNEL_VERSIONS+=$(1)
|
KERNEL_VERSIONS+=$(1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -149,7 +142,6 @@ forcebuild: forcebuild_$(2)$(3)$(4)
|
|||||||
push: push_$(2)$(3)$(4)
|
push: push_$(2)$(3)$(4)
|
||||||
forcepush: forcepush_$(2)$(3)$(4)
|
forcepush: forcepush_$(2)$(3)$(4)
|
||||||
show-tags: show-tag_$(2)$(3)$(4)
|
show-tags: show-tag_$(2)$(3)$(4)
|
||||||
fetch: sources/linux-$(1).tar.xz
|
|
||||||
|
|
||||||
# 'docker build' with the FROM image supplied as --build-arg
|
# 'docker build' with the FROM image supplied as --build-arg
|
||||||
# *and* with DOCKER_CONTENT_TRUST=1 currently does not work
|
# *and* with DOCKER_CONTENT_TRUST=1 currently does not work
|
||||||
|
Loading…
Reference in New Issue
Block a user