Update buidlroot to version 2016.08.1
This commit is contained in:
@@ -1,20 +1,13 @@
|
||||
################################################################################
|
||||
#
|
||||
# glibc/eglibc
|
||||
# glibc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GLIBC_VERSION = $(call qstrip,$(BR2_GLIBC_VERSION_STRING))
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT_EGLIBC),y)
|
||||
GLIBC_SITE = http://downloads.yoctoproject.org/releases/eglibc
|
||||
GLIBC_SOURCE = eglibc-$(GLIBC_VERSION).tar.bz2
|
||||
GLIBC_SRC_SUBDIR = libc
|
||||
else
|
||||
GLIBC_SITE = $(BR2_GNU_MIRROR)/libc
|
||||
GLIBC_SOURCE = glibc-$(GLIBC_VERSION).tar.xz
|
||||
GLIBC_SRC_SUBDIR = .
|
||||
endif
|
||||
|
||||
GLIBC_LICENSE = GPLv2+ (programs), LGPLv2.1+, BSD-3c, MIT (library)
|
||||
GLIBC_LICENSE_FILES = $(addprefix $(GLIBC_SRC_SUBDIR)/,COPYING COPYING.LIB LICENSES)
|
||||
@@ -22,7 +15,7 @@ GLIBC_LICENSE_FILES = $(addprefix $(GLIBC_SRC_SUBDIR)/,COPYING COPYING.LIB LICEN
|
||||
# glibc is part of the toolchain so disable the toolchain dependency
|
||||
GLIBC_ADD_TOOLCHAIN_DEPENDENCY = NO
|
||||
|
||||
# Before (e)glibc is configured, we must have the first stage
|
||||
# Before glibc is configured, we must have the first stage
|
||||
# cross-compiler and the kernel headers
|
||||
GLIBC_DEPENDENCIES = host-gcc-initial linux-headers host-gawk
|
||||
|
||||
@@ -71,7 +64,7 @@ endif
|
||||
# 2. We have to execute the configure script with bash and not sh.
|
||||
#
|
||||
# Note that as mentionned in
|
||||
# http://patches.openembedded.org/patch/38849/, eglibc/glibc must be
|
||||
# http://patches.openembedded.org/patch/38849/, glibc must be
|
||||
# built with -O2, so we pass our own CFLAGS and CXXFLAGS below.
|
||||
define GLIBC_CONFIGURE_CMDS
|
||||
mkdir -p $(@D)/build
|
||||
@@ -96,6 +89,7 @@ define GLIBC_CONFIGURE_CMDS
|
||||
--disable-profile \
|
||||
--without-gd \
|
||||
--enable-obsolete-rpc \
|
||||
--enable-kernel=$(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)) \
|
||||
--with-headers=$(STAGING_DIR)/usr/include)
|
||||
$(GLIBC_ADD_MISSING_STUB_H)
|
||||
endef
|
||||
@@ -117,7 +111,7 @@ endif
|
||||
|
||||
define GLIBC_INSTALL_TARGET_CMDS
|
||||
for libs in $(GLIBC_LIBS_LIB); do \
|
||||
$(call copy_toolchain_lib_root,$(STAGING_DIR)/,,lib,$$libs,/lib) ; \
|
||||
$(call copy_toolchain_lib_root,$$libs) ; \
|
||||
done
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user