aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/Makefile
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-10-28 22:04:53 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-10-28 22:04:53 +0000
commite8fe824c616313f0c69a37775e458ac82bee79d7 (patch)
treea014a1945f8c03dfa02be6fd148e80fb3e9aa638 /toolchain/uClibc/Makefile
parentea15cd64a87fd5f0c9f00b7a64fdb75b6ca94e77 (diff)
downloadupstream-e8fe824c616313f0c69a37775e458ac82bee79d7.tar.gz
upstream-e8fe824c616313f0c69a37775e458ac82bee79d7.tar.bz2
upstream-e8fe824c616313f0c69a37775e458ac82bee79d7.zip
Fix locations for the uClibc snapshot version (#4065)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13067 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/Makefile')
-rw-r--r--toolchain/uClibc/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index ccce335f39..4284353b7a 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -13,8 +13,10 @@ PKG_EXTRAVERSION:=$(call qstrip,$(CONFIG_UCLIBC_EXTRA_VERSION))
PKG_VERSION_SNAPSHOT:=$(call qstrip,$(CONFIG_UCLIBC_VERSION_SNAPSHOT))
ifeq ($(PKG_VERSION_SNAPSHOT),y)
PKG_SOURCE_URL:=http://www.uclibc.org/downloads/snapshots
+PKG_SOURCE:=uClibc-snapshot.tar.bz2
else
PKG_SOURCE_URL:=http://www.uclibc.org/downloads
+PKG_SOURCE:=uClibc-$(PKG_VERSION)$(PKG_EXTRAVERSION).tar.bz2
endif
PATCH_DIR:=./patches/$(PKG_VERSION)$(PKG_EXTRAVERSION)
CONFIG_DIR:=./config/$(PKG_VERSION)$(PKG_EXTRAVERSION)
@@ -37,12 +39,21 @@ PKG_MD5SUM:=61dc55f43b17a38a074f347e74095b20
endif
endif
-PKG_SOURCE:=uClibc-$(PKG_VERSION)$(PKG_EXTRAVERSION).tar.bz2
+ifeq ($(PKG_VERSION_SNAPSHOT),y)
+PATCH_DIR:=
+CONFIG_DIR:=./config
+PKG_MD5SUM:=
+endif
+
PKG_CAT:=bzcat
STAGING_DIR_HOST:=$(TOOLCHAIN_DIR)
BUILD_DIR_HOST:=$(BUILD_DIR_TOOLCHAIN)
+ifeq ($(PKG_VERSION_SNAPSHOT),y)
+PKG_BUILD_DIR:=$(BUILD_DIR_HOST)/uClibc-$(PKG_EXTRAVERSION)
+else
PKG_BUILD_DIR:=$(BUILD_DIR_HOST)/uClibc-$(PKG_VERSION)$(PKG_EXTRAVERSION)
+endif
override CONFIG_AUTOREBUILD=
include $(INCLUDE_DIR)/host-build.mk