From 3c1f00b21a11a861ffee0ef801dc57b50b0639c1 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 4 Feb 2007 16:34:56 +0000 Subject: - avoid spurious rebuilds. Thanks to janlana, closes #1191 - provide a syslinux-source target while at it --- target/x86/syslinux/syslinux.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'target/x86/syslinux') diff --git a/target/x86/syslinux/syslinux.mk b/target/x86/syslinux/syslinux.mk index 8d6d1e168..a1f5d7f8e 100644 --- a/target/x86/syslinux/syslinux.mk +++ b/target/x86/syslinux/syslinux.mk @@ -34,14 +34,16 @@ SYSLINUX_BIN=$(SYSLINUX_DIR2)/mtools/syslinux $(DL_DIR)/$(SYSLINUX_SOURCE): $(WGET) -P $(DL_DIR) $(SYSLINUX_SITE)/$(SYSLINUX_SOURCE) +syslinux-source: $(DL_DIR)/$(SYSLINUX_SOURCE) + $(SYSLINUX_DIR)/Makefile: $(DL_DIR)/$(SYSLINUX_SOURCE) $(SYSLINUX_PATCH) $(SYSLINUX_CAT) $(DL_DIR)/$(SYSLINUX_SOURCE) | tar -C $(BUILD_DIR) -xvf - toolchain/patch-kernel.sh $(SYSLINUX_DIR) target/x86/syslinux/ \*.patch - touch -c $(SYSLINUX_DIR)/Makefile + touch -c $@ $(SYSLINUX_DIR)/isolinux.bin: $(SYSLINUX_DIR)/Makefile $(MAKE) -C $(SYSLINUX_DIR) - touch -c $(SYSLINUX_DIR)/isolinux.bin + touch -c $@ syslinux: $(SYSLINUX_DIR)/isolinux.bin -- cgit v1.2.3