From d47b283df471f740104de8f50b1163671d48c6b8 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Sat, 9 Mar 2019 19:27:30 +0000 Subject: [PATCH] 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 --- kernel/Makefile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/kernel/Makefile b/kernel/Makefile index d5dec878a..def917ec7 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -72,18 +72,13 @@ endif KERNEL_VERSIONS= -.PHONY: fetch build push +.PHONY: build push # Targets: -# fetch: Downloads the kernel sources into ./sources # build: Builds all kernels # push: Pushes and sign all tagged kernel images to hub -fetch: build: push: -sources: - mkdir -p $@ - # A template for defining kernel build # Arguments: # $1: Full kernel version, e.g., 4.9.22 @@ -100,8 +95,6 @@ sources: define kernel 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) endif @@ -149,7 +142,6 @@ forcebuild: forcebuild_$(2)$(3)$(4) push: push_$(2)$(3)$(4) forcepush: forcepush_$(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 # *and* with DOCKER_CONTENT_TRUST=1 currently does not work