From a39ee60478652d399c6b3c2c9f026b047866f255 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Mon, 22 Apr 2019 11:01:01 +0100 Subject: [PATCH] kernel: Remove dependency on 'sources' Commit d47b283df471 ("kernel: Remove fetch target") removed the 'fetch' target to simplify the Makefile. This left dependencies on 'sources' lingering. Remove it. resolves #3333 Signed-off-by: Rolf Neugebauer --- kernel/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/Makefile b/kernel/Makefile index ab088e1bc..629e29e7b 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -98,7 +98,7 @@ ifeq ($(4),) KERNEL_VERSIONS+=$(1) endif -build_$(2)$(3)$(4): Dockerfile Makefile $(wildcard patches-$(2)/*) $(wildcard config-$(2)*) config-dbg | sources +build_$(2)$(3)$(4): Dockerfile Makefile $(wildcard patches-$(2)/*) $(wildcard config-$(2)*) config-dbg docker pull $(ORG)/$(IMAGE):$(1)$(3)$(4)-$(TAG)$(SUFFIX) || \ docker build \ --build-arg KERNEL_VERSION=$(1) \ @@ -108,7 +108,7 @@ build_$(2)$(3)$(4): Dockerfile Makefile $(wildcard patches-$(2)/*) $(wildcard co $(LABELS) \ --no-cache -t $(ORG)/$(IMAGE):$(1)$(3)$(4)-$(TAG)$(SUFFIX) . -forcebuild_$(2)$(3)$(4): Dockerfile Makefile $(wildcard patches-$(2)/*) $(wildcard config-$(2)*) config-dbg | sources +forcebuild_$(2)$(3)$(4): Dockerfile Makefile $(wildcard patches-$(2)/*) $(wildcard config-$(2)*) config-dbg docker build \ --build-arg KERNEL_VERSION=$(1) \ --build-arg KERNEL_SERIES=$(2) \ @@ -269,7 +269,7 @@ $(eval $(call kernel,4.19.35,4.19.x,$(EXTRA),$(DEBUG))) endif # Target for kernel config -kconfig: | sources +kconfig: docker build --no-cache -f Dockerfile.kconfig \ --build-arg KERNEL_VERSIONS="$(KERNEL_VERSIONS)" \ -t linuxkit/kconfig .