diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-06-20 23:49:23 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-06-20 23:49:23 +0000 |
commit | 14ace0ca9421f763feed4b72ddb7482aef20663d (patch) | |
tree | 17a8770e2bb54bb36526420c617aa3219100d554 /toolchain/sed/Makefile | |
parent | 36551bb1f65bd6f59d241fabd5424a49e27fbbe5 (diff) |
add toolchain/download target
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4029 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/sed/Makefile')
-rw-r--r-- | toolchain/sed/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/toolchain/sed/Makefile b/toolchain/sed/Makefile index e14aadd8f..bbf85028a 100644 --- a/toolchain/sed/Makefile +++ b/toolchain/sed/Makefile @@ -13,14 +13,16 @@ SED_DIR1:=$(TOOL_BUILD_DIR)/sed-$(SED_VER) SED_DIR2:=$(BUILD_DIR)/sed-$(SED_VER) SED_BINARY:=sed/sed SED_TARGET_BINARY:=bin/sed +SED_MD5SUM:=928f0e06422f414091917401f1a834d0 ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true) SED_CPPFLAGS=-D_FILE_OFFSET_BITS=64 endif HOST_SED_TARGET=$(shell ./sedcheck.sh) +DOWNLOAD_TARGET=$(shell ./sedcheck.sh) $(DL_DIR)/$(SED_SOURCE): mkdir -p $(DL_DIR) - $(SCRIPT_DIR)/download.pl $(DL_DIR) $(SED_SOURCE) x $(SED_SITE) + $(SCRIPT_DIR)/download.pl $(DL_DIR) $(SED_SOURCE) $(SED_MD5SUM) $(SED_SITE) ############################################################# # @@ -65,7 +67,9 @@ use-sed-host-binary: FORCE rm -f $(STAGING_DIR)/$(SED_TARGET_BINARY); \ ln -s $$SED $(STAGING_DIR)/$(SED_TARGET_BINARY) -source: +download-sed-binary: sed-$(SED_VER).tar.gz + +source: $(DOWNLOAD_TARGET) prepare: compile: install: $(HOST_SED_TARGET) |