Avoid rebuild of initcpio images when there are no changes to .conf
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> [Aaron: Merged with syslinux-iso] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
aa29509fc6
commit
abd79d0bf9
@ -53,10 +53,10 @@ boot-files: root-image
|
||||
|
||||
# Rules for initcpio images
|
||||
initcpio: $(WORKDIR)/iso/boot/archiso_ide.img $(WORKDIR)/iso/boot/archiso_pata.img
|
||||
$(WORKDIR)/iso/boot/archiso_ide.img: initcpio-ide root-image
|
||||
$(WORKDIR)/iso/boot/archiso_ide.img: initcpio-ide $(WORKDIR)/root-image/.arch-chroot
|
||||
mkdir -p $(WORKDIR)/iso/boot
|
||||
mkinitcpio -c ./initcpio-ide -b $(WORKDIR)/root-image -k $(kver) -g $@
|
||||
$(WORKDIR)/iso/boot/archiso_pata.img: initcpio-pata root-image
|
||||
$(WORKDIR)/iso/boot/archiso_pata.img: initcpio-pata $(WORKDIR)/root-image/.arch-chroot
|
||||
mkdir -p $(WORKDIR)/iso/boot
|
||||
mkinitcpio -c ./initcpio-pata -b $(WORKDIR)/root-image -k $(kver) -g $@
|
||||
|
||||
|
@ -39,7 +39,7 @@ boot-files: root-image
|
||||
|
||||
# Rules for initcpio images
|
||||
initcpio: $(WORKDIR)/iso/boot/archiso.img
|
||||
$(WORKDIR)/iso/boot/archiso.img: mkinitcpio.conf root-image
|
||||
$(WORKDIR)/iso/boot/archiso.img: mkinitcpio.conf $(WORKDIR)/root-image/.arch-chroot
|
||||
mkdir -p $(WORKDIR)/iso/boot
|
||||
mkinitcpio -c ./mkinitcpio.conf -b $(WORKDIR)/root-image -k $(kver) -g $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user