uclibc: remove support for external source toolchains
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
b642f7eefb
commit
8a5c3653ac
@ -12,31 +12,19 @@ ifndef UCLIBC_CONFIG_FILE
|
|||||||
UCLIBC_CONFIG_FILE=$(call qstrip,$(BR2_UCLIBC_CONFIG))
|
UCLIBC_CONFIG_FILE=$(call qstrip,$(BR2_UCLIBC_CONFIG))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
UCLIBC_VER:=$(call qstrip,$(BR2_UCLIBC_VERSION_STRING))
|
UCLIBC_VERSION:=$(call qstrip,$(BR2_UCLIBC_VERSION_STRING))
|
||||||
|
|
||||||
UCLIBC_OFFICIAL_VERSION:=$(UCLIBC_VER)$(VENDOR_SUFFIX)$(VENDOR_UCLIBC_RELEASE)
|
|
||||||
|
|
||||||
ifeq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
|
ifeq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
|
||||||
UCLIBC_SITE:=http://www.uclibc.org/downloads/snapshots
|
UCLIBC_SITE:=http://www.uclibc.org/downloads/snapshots
|
||||||
UCLIBC_DIR:=$(TOOLCHAIN_DIR)/uClibc
|
|
||||||
else ifeq ($(findstring avr32,$(UCLIBC_VERSION)),avr32)
|
else ifeq ($(findstring avr32,$(UCLIBC_VERSION)),avr32)
|
||||||
UCLIBC_SITE:=ftp://www.at91.com/pub/buildroot/
|
UCLIBC_SITE:=ftp://www.at91.com/pub/buildroot/
|
||||||
UCLIBC_DIR:=$(TOOLCHAIN_DIR)/uClibc-$(UCLIBC_OFFICIAL_VERSION)
|
|
||||||
else
|
else
|
||||||
UCLIBC_SITE:=http://www.uclibc.org/downloads
|
UCLIBC_SITE:=http://www.uclibc.org/downloads
|
||||||
UCLIBC_DIR:=$(TOOLCHAIN_DIR)/uClibc-$(UCLIBC_OFFICIAL_VERSION)
|
|
||||||
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SOURCE),y)
|
|
||||||
UCLIBC_SITE:=$(VENDOR_SITE)
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
UCLIBC_DIR:=$(TOOLCHAIN_DIR)/uClibc-$(UCLIBC_VERSION)
|
||||||
UCLIBC_PATCH_DIR:=toolchain/uClibc/
|
UCLIBC_PATCH_DIR:=toolchain/uClibc/
|
||||||
else
|
UCLIBC_SOURCE:=uClibc-$(UCLIBC_VERSION).tar.bz2
|
||||||
UCLIBC_PATCH_DIR:=toolchain/uClibc/ext_source/$(VENDOR_PATCH_DIR)/$(UCLIBC_OFFICIAL_VERSION)
|
|
||||||
endif
|
|
||||||
|
|
||||||
UCLIBC_SOURCE:=uClibc-$(UCLIBC_OFFICIAL_VERSION).tar.bz2
|
|
||||||
|
|
||||||
UCLIBC_CAT:=$(BZCAT)
|
UCLIBC_CAT:=$(BZCAT)
|
||||||
|
|
||||||
@ -106,8 +94,8 @@ uclibc-patched: $(UCLIBC_DIR)/.patched
|
|||||||
$(UCLIBC_DIR)/.patched: $(UCLIBC_DIR)/.unpacked
|
$(UCLIBC_DIR)/.patched: $(UCLIBC_DIR)/.unpacked
|
||||||
ifneq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
|
ifneq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
|
||||||
toolchain/patch-kernel.sh $(UCLIBC_DIR) $(UCLIBC_PATCH_DIR) \
|
toolchain/patch-kernel.sh $(UCLIBC_DIR) $(UCLIBC_PATCH_DIR) \
|
||||||
uClibc-$(UCLIBC_OFFICIAL_VERSION)-\*.patch \
|
uClibc-$(UCLIBC_VERSION)-\*.patch \
|
||||||
uClibc-$(UCLIBC_OFFICIAL_VERSION)-\*.patch.$(ARCH)
|
uClibc-$(UCLIBC_VERSION)-\*.patch.$(ARCH)
|
||||||
else
|
else
|
||||||
toolchain/patch-kernel.sh $(UCLIBC_DIR) $(UCLIBC_PATCH_DIR) \
|
toolchain/patch-kernel.sh $(UCLIBC_DIR) $(UCLIBC_PATCH_DIR) \
|
||||||
uClibc.\*.patch uClibc.\*.patch.$(ARCH)
|
uClibc.\*.patch uClibc.\*.patch.$(ARCH)
|
||||||
|
Loading…
Reference in New Issue
Block a user