mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
Delegated make targets should be phony targets
Make won't evaluate actual dependencies of targets called with `$(MAKE) -C` if the target file already exists. Marking the top-level targets `.PHONY` will enable incremental builds. Signed-off-by: Robb Kistler <robb.kistler@docker.com>
This commit is contained in:
parent
d445716406
commit
2fa112b1b7
6
Makefile
6
Makefile
@ -6,21 +6,27 @@ all:
|
||||
aufs:
|
||||
$(MAKE) AUFS=true all
|
||||
|
||||
.PHONY: alpine/initrd.img
|
||||
alpine/initrd.img:
|
||||
$(MAKE) -C alpine initrd.img
|
||||
|
||||
.PHONY: alpine/initrd-test.img
|
||||
alpine/initrd-test.img:
|
||||
$(MAKE) -C alpine initrd-test.img
|
||||
|
||||
.PHONY: kernel/x86_64/vmlinuz64
|
||||
kernel/x86_64/vmlinuz64:
|
||||
$(MAKE) -C kernel
|
||||
|
||||
.PHONY: alpine/mobylinux-bios.iso
|
||||
alpine/mobylinux-bios.iso:
|
||||
$(MAKE) -C alpine mobylinux-bios.iso
|
||||
|
||||
.PHONY: alpine/mobylinux-efi.iso
|
||||
alpine/mobylinux-efi.iso:
|
||||
$(MAKE) -C alpine mobylinux-efi.iso
|
||||
|
||||
.PHONY: alpine/gce.img.tar.gz
|
||||
alpine/gce.img.tar.gz:
|
||||
$(MAKE) -C alpine gce.img.tar.gz
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user