summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2009-11-29 19:22:16 -0300
committerAaron Griffin <aaronmgriffin@gmail.com>2009-12-01 13:25:57 -0800
commitabd79d0bf93077bd4afd2361bdedc39097b3fde0 (patch)
tree80fe727489de870084d42db0a2d897beee739602 /configs
parentaa29509fc6c872c7a2650c73c0d67e099c17c9f8 (diff)
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>
Diffstat (limited to 'configs')
-rw-r--r--configs/install-iso/Makefile4
-rw-r--r--configs/syslinux-iso/Makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/configs/install-iso/Makefile b/configs/install-iso/Makefile
index 9687396..e8ffa48 100644
--- a/configs/install-iso/Makefile
+++ b/configs/install-iso/Makefile
@@ -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 $@
diff --git a/configs/syslinux-iso/Makefile b/configs/syslinux-iso/Makefile
index a30df1f..0cce23c 100644
--- a/configs/syslinux-iso/Makefile
+++ b/configs/syslinux-iso/Makefile
@@ -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 $@