From ed5f6093c0cf2b06b04e287a8cf0547440844733 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 16 Jan 2009 11:48:43 +0000 Subject: target/: convert to DOWNLOAD helper --- target/x86/grub/grub.mk | 4 ++-- target/x86/grub2/grub2.mk | 4 ++-- target/x86/syslinux/syslinux.mk | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'target/x86') diff --git a/target/x86/grub/grub.mk b/target/x86/grub/grub.mk index b7484cb43..dd6aa7a32 100644 --- a/target/x86/grub/grub.mk +++ b/target/x86/grub/grub.mk @@ -62,10 +62,10 @@ GRUB_CONFIG-$(BR2_TARGET_GRUB_via_rhine) += --enable-via-rhine GRUB_CONFIG-$(BR2_TARGET_GRUB_w89c840) += --enable-w89c840 $(DL_DIR)/$(GRUB_SOURCE): - $(WGET) -P $(DL_DIR) $(GRUB_SITE)/$(GRUB_SOURCE) + $(call DOWNLOAD,$(GRUB_SITE),$(GRUB_SOURCE)) $(DL_DIR)/$(GRUB_PATCH): - $(WGET) -P $(DL_DIR) $(GRUB_PATCH_SITE)/$(GRUB_PATCH) + $(call DOWNLOAD,$(GRUB_PATCH_SITE),$(GRUB_PATCH)) grub-source: $(DL_DIR)/$(GRUB_SOURCE) $(DL_DIR)/$(GRUB_PATCH) diff --git a/target/x86/grub2/grub2.mk b/target/x86/grub2/grub2.mk index 95db8ec42..cbf6df890 100644 --- a/target/x86/grub2/grub2.mk +++ b/target/x86/grub2/grub2.mk @@ -62,10 +62,10 @@ GRUB2_CONFIG-$(BR2_TARGET_GRUB2_via_rhine) += --enable-via-rhine GRUB2_CONFIG-$(BR2_TARGET_GRUB2_w89c840) += --enable-w89c840 $(DL_DIR)/$(GRUB2_SOURCE): - $(WGET) -P $(DL_DIR) $(GRUB2_SITE)/$(GRUB2_SOURCE) + $(call DOWNLOAD,$(GRUB2_SITE),$(GRUB2_SOURCE)) $(DL_DIR)/$(GRUB2_PATCH): - $(WGET) -P $(DL_DIR) $(GRUB2_PATCH_SITE)/$(GRUB2_PATCH) + $(call DOWNLOAD,$(GRUB2_PATCH_SITE),$(GRUB2_PATCH)) grub2-source: $(DL_DIR)/$(GRUB2_SOURCE) $(DL_DIR)/$(GRUB2_PATCH) diff --git a/target/x86/syslinux/syslinux.mk b/target/x86/syslinux/syslinux.mk index b7603caee..27930c7c0 100644 --- a/target/x86/syslinux/syslinux.mk +++ b/target/x86/syslinux/syslinux.mk @@ -32,7 +32,7 @@ SYSLINUX_BIN=$(SYSLINUX_DIR2)/mtools/syslinux $(DL_DIR)/$(SYSLINUX_SOURCE): - $(WGET) -P $(DL_DIR) $(SYSLINUX_SITE)/$(SYSLINUX_SOURCE) + $(call DOWNLOAD,$(SYSLINUX_SITE),$(SYSLINUX_SOURCE)) syslinux-source: $(DL_DIR)/$(SYSLINUX_SOURCE) -- cgit v1.2.3