mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
kernel: Remove dependency on 'sources'
Commit d47b283df4
("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 <rn@rneugeba.io>
This commit is contained in:
parent
7214e48715
commit
a39ee60478
@ -98,7 +98,7 @@ ifeq ($(4),)
|
|||||||
KERNEL_VERSIONS+=$(1)
|
KERNEL_VERSIONS+=$(1)
|
||||||
endif
|
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 pull $(ORG)/$(IMAGE):$(1)$(3)$(4)-$(TAG)$(SUFFIX) || \
|
||||||
docker build \
|
docker build \
|
||||||
--build-arg KERNEL_VERSION=$(1) \
|
--build-arg KERNEL_VERSION=$(1) \
|
||||||
@ -108,7 +108,7 @@ build_$(2)$(3)$(4): Dockerfile Makefile $(wildcard patches-$(2)/*) $(wildcard co
|
|||||||
$(LABELS) \
|
$(LABELS) \
|
||||||
--no-cache -t $(ORG)/$(IMAGE):$(1)$(3)$(4)-$(TAG)$(SUFFIX) .
|
--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 \
|
docker build \
|
||||||
--build-arg KERNEL_VERSION=$(1) \
|
--build-arg KERNEL_VERSION=$(1) \
|
||||||
--build-arg KERNEL_SERIES=$(2) \
|
--build-arg KERNEL_SERIES=$(2) \
|
||||||
@ -269,7 +269,7 @@ $(eval $(call kernel,4.19.35,4.19.x,$(EXTRA),$(DEBUG)))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Target for kernel config
|
# Target for kernel config
|
||||||
kconfig: | sources
|
kconfig:
|
||||||
docker build --no-cache -f Dockerfile.kconfig \
|
docker build --no-cache -f Dockerfile.kconfig \
|
||||||
--build-arg KERNEL_VERSIONS="$(KERNEL_VERSIONS)" \
|
--build-arg KERNEL_VERSIONS="$(KERNEL_VERSIONS)" \
|
||||||
-t linuxkit/kconfig .
|
-t linuxkit/kconfig .
|
||||||
|
Loading…
Reference in New Issue
Block a user