Compare commits
36 Commits
2013.08_rc
...
2013.08_rc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e4a0a3477 | ||
|
|
27df440b62 | ||
|
|
51a087fde3 | ||
|
|
aab3a0ba79 | ||
|
|
13ce6ddf59 | ||
|
|
7e9264956b | ||
|
|
04fe6b1344 | ||
|
|
313dd5d5f2 | ||
|
|
a831a0e065 | ||
|
|
10f1903f4f | ||
|
|
339868d244 | ||
|
|
244038576b | ||
|
|
e5088380d3 | ||
|
|
027ef3f2b2 | ||
|
|
ca47afb41e | ||
|
|
3e1f853211 | ||
|
|
86116e4f25 | ||
|
|
5628776c4a | ||
|
|
f09636710b | ||
|
|
796621c56a | ||
|
|
1e4068a330 | ||
|
|
be1a44df5a | ||
|
|
0be2fe9a8c | ||
|
|
282456212f | ||
|
|
0b363ba5f3 | ||
|
|
5871b79199 | ||
|
|
f627ebeb79 | ||
|
|
fde2605765 | ||
|
|
467b8d1f69 | ||
|
|
8484ed9c07 | ||
|
|
cd2cac813e | ||
|
|
24c5dbcef2 | ||
|
|
8e2696eab6 | ||
|
|
a737dfccd5 | ||
|
|
f01809d2b7 | ||
|
|
4ed05f0ff6 |
19
CHANGES
19
CHANGES
@@ -1,3 +1,22 @@
|
||||
2013.08-rc3, Released August 29th, 2013:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
External toolchain lib32/lib64 handling, ABI name for EABIhf,
|
||||
misc fixes for generatelocales, apply-patches and module
|
||||
stripping.
|
||||
|
||||
Top level menu names reordered and renamed for clarity.
|
||||
|
||||
Updated/fixed packages: acl, attr, bash, dbus, directfb,
|
||||
dvb-apps, kexec, kmod, libbsd, linux-fusion, mesa3d, minidlna,
|
||||
openssh, openssl, pulseaudio, python-setuptools, qt5,
|
||||
qt5webkit, redis, strongswan, sunxi-mali
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#6464: dbus-daemon-launch-helper needs setuid
|
||||
|
||||
2013.08-rc2, Released August 16th 2013:
|
||||
|
||||
Documentation improvements.
|
||||
|
||||
@@ -450,14 +450,14 @@ source "toolchain/Config.in"
|
||||
|
||||
source "system/Config.in"
|
||||
|
||||
source "package/Config.in"
|
||||
source "linux/Config.in"
|
||||
|
||||
source "package/Config.in.host"
|
||||
source "package/Config.in"
|
||||
|
||||
source "fs/Config.in"
|
||||
|
||||
source "boot/Config.in"
|
||||
|
||||
source "linux/Config.in"
|
||||
source "package/Config.in.host"
|
||||
|
||||
source "Config.in.legacy"
|
||||
|
||||
24
Makefile
24
Makefile
@@ -24,7 +24,7 @@
|
||||
#--------------------------------------------------------------
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION:=2013.08-rc2
|
||||
export BR2_VERSION:=2013.08-rc3
|
||||
|
||||
# Check for minimal make version (note: this check will break at make 10.x)
|
||||
MIN_MAKE_VERSION=3.81
|
||||
@@ -422,10 +422,20 @@ world: toolchain $(TARGETS_ALL)
|
||||
$(BUILD_DIR) $(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR):
|
||||
@mkdir -p $@
|
||||
|
||||
# We make a symlink lib32->lib or lib64->lib as appropriate
|
||||
# MIPS64/n32 requires lib32 even though it's a 64-bit arch.
|
||||
ifeq ($(BR2_ARCH_IS_64)$(BR2_MIPS_NABI32),y)
|
||||
LIB_SYMLINK = lib64
|
||||
else
|
||||
LIB_SYMLINK = lib32
|
||||
endif
|
||||
|
||||
$(STAGING_DIR):
|
||||
@mkdir -p $(STAGING_DIR)/bin
|
||||
@mkdir -p $(STAGING_DIR)/lib
|
||||
@ln -snf lib $(STAGING_DIR)/$(LIB_SYMLINK)
|
||||
@mkdir -p $(STAGING_DIR)/usr/lib
|
||||
@ln -snf lib $(STAGING_DIR)/usr/$(LIB_SYMLINK)
|
||||
@mkdir -p $(STAGING_DIR)/usr/include
|
||||
@mkdir -p $(STAGING_DIR)/usr/bin
|
||||
@ln -snf $(STAGING_DIR) $(BASE_DIR)/staging
|
||||
@@ -441,6 +451,9 @@ $(BUILD_DIR)/.root:
|
||||
--exclude .hg --exclude=CVS --exclude '*~' \
|
||||
$(TARGET_SKELETON)/ $(TARGET_DIR)/
|
||||
cp support/misc/target-dir-warning.txt $(TARGET_DIR_WARNING_FILE)
|
||||
@ln -s lib $(TARGET_DIR)/$(LIB_SYMLINK)
|
||||
@mkdir -p $(TARGET_DIR)/usr
|
||||
@ln -s lib $(TARGET_DIR)/usr/$(LIB_SYMLINK)
|
||||
touch $@
|
||||
|
||||
$(TARGET_DIR): $(BUILD_DIR)/.root
|
||||
@@ -476,8 +489,9 @@ ifeq ($(BR2_PACKAGE_PYTHON_PYC_ONLY),y)
|
||||
find $(TARGET_DIR)/usr/lib/ -name '*.py' -print0 | xargs -0 rm -f
|
||||
endif
|
||||
$(STRIP_FIND_CMD) | xargs $(STRIPCMD) 2>/dev/null || true
|
||||
find $(TARGET_DIR)/lib/modules -type f -name '*.ko' | \
|
||||
xargs -r $(KSTRIPCMD) || true
|
||||
if test -d $(TARGET_DIR)/lib/modules; then \
|
||||
find $(TARGET_DIR)/lib/modules -type f -name '*.ko' | \
|
||||
xargs -r $(KSTRIPCMD); fi
|
||||
|
||||
# See http://sourceware.org/gdb/wiki/FAQ, "GDB does not see any threads
|
||||
# besides the one in which crash occurred; or SIGTRAP kills my program when
|
||||
@@ -543,8 +557,8 @@ ifneq ($(GENERATE_LOCALE),)
|
||||
target-generatelocales: host-localedef
|
||||
$(Q)mkdir -p $(TARGET_DIR)/usr/lib/locale/
|
||||
$(Q)for locale in $(GENERATE_LOCALE) ; do \
|
||||
inputfile=`echo $${locale} | cut -f1 -d'.'` ; \
|
||||
charmap=`echo $${locale} | cut -f2 -d'.'` ; \
|
||||
inputfile=`echo $${locale} | cut -f1 -d'.' -s` ; \
|
||||
charmap=`echo $${locale} | cut -f2 -d'.' -s` ; \
|
||||
if test -z "$${charmap}" ; then \
|
||||
charmap="UTF-8" ; \
|
||||
fi ; \
|
||||
|
||||
@@ -16,9 +16,9 @@ BR2_KERNEL_HEADERS_3_8=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.8.8"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.10.7"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/freescale/mpc8315erdb/linux-3.8.config"
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/freescale/mpc8315erdb/linux-3.10.config"
|
||||
BR2_LINUX_KERNEL_UIMAGE=y
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="mpc8315erdb"
|
||||
@@ -31,4 +31,4 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="MPC8315ERDB_NAND"
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2013.04"
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2013.07"
|
||||
|
||||
@@ -15,9 +15,9 @@ BR2_KERNEL_HEADERS_3_8=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.8.8"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.10.7"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/freescale/p1010rdb/linux-3.8.config"
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/freescale/p1010rdb/linux-3.10.config"
|
||||
BR2_LINUX_KERNEL_UIMAGE=y
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="p1010rdb"
|
||||
@@ -30,4 +30,4 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="P1010RDB_NOR"
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2013.04"
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2013.07"
|
||||
|
||||
@@ -15,12 +15,12 @@ or
|
||||
|
||||
<p>
|
||||
|
||||
The latest release candidate is <b>2013.08-rc2</b>, which can be
|
||||
The latest release candidate is <b>2013.08-rc3</b>, which can be
|
||||
downloaded here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2013.08-rc2.tar.gz">buildroot-2013.08-rc2.tar.gz</a>
|
||||
<a href="/downloads/buildroot-2013.08-rc3.tar.gz">buildroot-2013.08-rc3.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2013.08-rc2.tar.bz2">buildroot-2013.08-rc2.tar.bz2</a>.
|
||||
<a href="/downloads/buildroot-2013.08-rc3.tar.bz2">buildroot-2013.08-rc3.tar.bz2</a>.
|
||||
<p>
|
||||
|
||||
This and earlier releases can always be downloaded from
|
||||
|
||||
@@ -5,6 +5,19 @@
|
||||
<p>
|
||||
|
||||
<ul>
|
||||
<li><b>29 August 2013 -- 2013.08-rc3 released</b>
|
||||
|
||||
<p>Another week, another release candidate with more cleanups and
|
||||
build fixes. See the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2013.08_rc3">CHANGES</a>
|
||||
file for details.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2013.08-rc3.tar.bz2">2013.08-rc3
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>16 August 2013 -- 2013.08-rc2 released</b>
|
||||
|
||||
<p>We have a new release candidate! Lots of changes all over the
|
||||
|
||||
@@ -21,7 +21,7 @@ choice
|
||||
prompt "Kernel version"
|
||||
|
||||
config BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
bool "3.10.7"
|
||||
bool "3.10.10"
|
||||
|
||||
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
bool "Same as toolchain kernel headers"
|
||||
@@ -75,7 +75,7 @@ config BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "3.10.7" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "3.10.10" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
menu "Package Selection for the target"
|
||||
menu "Target packages"
|
||||
|
||||
source "package/busybox/Config.in"
|
||||
|
||||
|
||||
@@ -46,11 +46,9 @@ ABI=gnueabi
|
||||
else
|
||||
ABI=eabi
|
||||
endif
|
||||
else ifeq ($(BR2_ARM_EABIHF),y)
|
||||
ifeq ($(LIBC),uclibc)
|
||||
ABI=gnueabihf
|
||||
else
|
||||
ABI=eabihf
|
||||
|
||||
ifeq ($(BR2_ARM_EABIHF),y)
|
||||
ABI:=$(ABI)hf
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
29
package/acl/acl-01-support-static-installation.patch
Normal file
29
package/acl/acl-01-support-static-installation.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
Support installation of .a file when doing static linking
|
||||
|
||||
When doing static linking (i.e ENABLE_SHARED != yes), the acl build
|
||||
logic wasn't installing any library at all, not even the .a file which
|
||||
is needed for static linking. This patch fixes that.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/include/buildmacros
|
||||
===================================================================
|
||||
--- a/include/buildmacros
|
||||
+++ b/include/buildmacros
|
||||
@@ -97,7 +97,15 @@
|
||||
|
||||
INSTALL_LTLIB_STATIC = \
|
||||
cd $(TOPDIR)/$(LIBNAME)/.libs; \
|
||||
- ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR);
|
||||
+ ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \
|
||||
+ ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).la $(PKG_DEVLIB_DIR); \
|
||||
+ ../$(INSTALL) -m 644 $(LIBNAME).la $(PKG_DEVLIB_DIR)/$(LIBNAME).la ; \
|
||||
+ ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
|
||||
+ ../$(INSTALL) -T so_base $(LIBNAME).la $(PKG_LIB_DIR); \
|
||||
+ if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \
|
||||
+ ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \
|
||||
+ ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \
|
||||
+ fi
|
||||
|
||||
INSTALL_MAN = \
|
||||
@for d in $(MAN_PAGES); do \
|
||||
29
package/attr/attr-01-support-static-installation.patch
Normal file
29
package/attr/attr-01-support-static-installation.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
Support installation of .a file when doing static linking
|
||||
|
||||
When doing static linking (i.e ENABLE_SHARED != yes), the attr build
|
||||
logic wasn't installing any library at all, not even the .a file which
|
||||
is needed for static linking. This patch fixes that.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/include/buildmacros
|
||||
===================================================================
|
||||
--- a/include/buildmacros
|
||||
+++ b/include/buildmacros
|
||||
@@ -97,7 +97,15 @@
|
||||
|
||||
INSTALL_LTLIB_STATIC = \
|
||||
cd $(TOPDIR)/$(LIBNAME)/.libs; \
|
||||
- ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR);
|
||||
+ ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \
|
||||
+ ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).la $(PKG_DEVLIB_DIR); \
|
||||
+ ../$(INSTALL) -m 644 $(LIBNAME).la $(PKG_DEVLIB_DIR)/$(LIBNAME).la ; \
|
||||
+ ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
|
||||
+ ../$(INSTALL) -T so_base $(LIBNAME).la $(PKG_LIB_DIR); \
|
||||
+ if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \
|
||||
+ ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \
|
||||
+ ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \
|
||||
+ fi
|
||||
|
||||
INSTALL_MAN = \
|
||||
@for d in $(MAN_PAGES); do \
|
||||
@@ -16,6 +16,10 @@ BASH_CONF_ENV += \
|
||||
bash_cv_func_sigsetjmp=present \
|
||||
bash_cv_printf_a_format=yes
|
||||
|
||||
# Parallel build sometimes fails because some of the generator tools
|
||||
# are built twice (i.e. while executing).
|
||||
BASH_MAKE = $(MAKE1)
|
||||
|
||||
# The static build needs some trickery
|
||||
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
||||
BASH_CONF_OPT += --enable-static-link --without-bash-malloc
|
||||
|
||||
@@ -10,6 +10,10 @@ DBUS_LICENSE = AFLv2.1 GPLv2+
|
||||
DBUS_LICENSE_FILES = COPYING
|
||||
DBUS_INSTALL_STAGING = YES
|
||||
|
||||
define DBUS_PERMISSIONS
|
||||
/usr/libexec/dbus-daemon-launch-helper f 4755 0 0 - - - - -
|
||||
endef
|
||||
|
||||
DBUS_DEPENDENCIES = host-pkgconf
|
||||
|
||||
DBUS_CONF_ENV = ac_cv_have_abstract_sockets=yes
|
||||
|
||||
35
package/directfb/directfb-use-gcc-link.patch
Normal file
35
package/directfb/directfb-use-gcc-link.patch
Normal file
@@ -0,0 +1,35 @@
|
||||
Add patch to use 'gcc' instead of 'ld' for linking
|
||||
|
||||
The patch has been sent upstream but it has not been merged yet
|
||||
|
||||
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
|
||||
|
||||
From 176ce06b40897a357fe76a558af517197325f188 Mon Sep 17 00:00:00 2001
|
||||
From: Markos Chandras <markos.chandras@imgtec.com>
|
||||
Date: Wed, 28 Aug 2013 10:56:32 +0100
|
||||
Subject: [PATCH] rules/libobject.make: Use gcc for linking
|
||||
|
||||
Invoking 'ld' directly may miss some necessary linker flags which
|
||||
are usually passed by gcc. Therefore, use gcc for linking.
|
||||
|
||||
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
|
||||
---
|
||||
rules/libobject.make | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/rules/libobject.make b/rules/libobject.make
|
||||
index bc670da..2cba658 100644
|
||||
--- a/rules/libobject.make
|
||||
+++ b/rules/libobject.make
|
||||
@@ -3,7 +3,7 @@
|
||||
if test -d $<.tmp; then rmdir $<.tmp; fi
|
||||
mkdir $<.tmp
|
||||
(cd $<.tmp && $(AR) x ../../$<)
|
||||
- $(LD) -o $@ -r $<.tmp/*.o
|
||||
+ $(CC) -nostdlib -o $@ -r $<.tmp/*.o
|
||||
rm -f $<.tmp/*.o && rmdir $<.tmp
|
||||
|
||||
.PHONY: $(LTLIBRARIES:%.la=.libs/%.a)
|
||||
--
|
||||
1.8.3.2
|
||||
|
||||
@@ -11,6 +11,8 @@ DIRECTFB_SOURCE = DirectFB-$(DIRECTFB_VERSION).tar.gz
|
||||
DIRECTFB_LICENSE = LGPLv2.1+
|
||||
DIRECTFB_LICENSE_FILES = COPYING
|
||||
DIRECTFB_INSTALL_STAGING = YES
|
||||
DIRECTFB_AUTORECONF = YES
|
||||
|
||||
DIRECTFB_CONF_OPT = \
|
||||
--localstatedir=/var \
|
||||
--disable-explicit-deps \
|
||||
|
||||
30
package/dvb-apps/dvb-apps-0001-Fix-generate-keynames.patch
Normal file
30
package/dvb-apps/dvb-apps-0001-Fix-generate-keynames.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
Fix generate-keynames.sh script for cross-compilation
|
||||
|
||||
generate-keynames.sh reads /usr/include/linux to find the keyname
|
||||
symbols. However, when cross-compiling, the include path points
|
||||
somewhere else. Allow the user to pass CROSS_ROOT to point to the
|
||||
root of the cross-compilation environment.
|
||||
|
||||
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
|
||||
---
|
||||
diff -rup dvb-apps-83c746462ccb.orig/util/av7110_loadkeys/generate-keynames.sh dvb-apps-83c746462ccb/util/av7110_loadkeys/generate-keynames.sh
|
||||
--- dvb-apps-83c746462ccb.orig/util/av7110_loadkeys/generate-keynames.sh 2012-12-06 10:38:07.000000000 +0100
|
||||
+++ dvb-apps-83c746462ccb/util/av7110_loadkeys/generate-keynames.sh 2013-08-29 21:47:09.717991439 +0200
|
||||
@@ -18,7 +18,7 @@ echo "};" >> $1
|
||||
echo >> $1
|
||||
echo >> $1
|
||||
echo "static struct input_key_name key_name [] = {" >> $1
|
||||
-for x in $(cat /usr/include/linux/input.h input_fake.h | \
|
||||
+for x in $(cat ${CROSS_ROOT}/usr/include/linux/input.h input_fake.h | \
|
||||
egrep "#define[ \t]+KEY_" | grep -v KEY_MAX | \
|
||||
cut -f 1 | cut -f 2 -d " " | sort -u) ; do
|
||||
echo " { \"$(echo $x | cut -b 5-)\", $x }," >> $1
|
||||
@@ -26,7 +26,7 @@ done
|
||||
echo "};" >> $1
|
||||
echo >> $1
|
||||
echo "static struct input_key_name btn_name [] = {" >> $1
|
||||
-for x in $(cat /usr/include/linux/input.h input_fake.h | \
|
||||
+for x in $(cat ${CROSS_ROOT}/usr/include/linux/input.h input_fake.h | \
|
||||
egrep "#define[ \t]+BTN_" | \
|
||||
cut -f 1 | cut -f 2 -d " " | sort -u) ; do
|
||||
echo " { \"$(echo $x | cut -b 5-)\", $x }," >> $1
|
||||
@@ -34,7 +34,8 @@ endif
|
||||
DVB_APPS_INSTALL_STAGING = YES
|
||||
|
||||
define DVB_APPS_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) LDFLAGS="$(DVB_APPS_LDFLAGS)" $(MAKE) -C $(@D) V=1
|
||||
$(TARGET_CONFIGURE_OPTS) LDFLAGS="$(DVB_APPS_LDFLAGS)" \
|
||||
$(MAKE) -C $(@D) CROSS_ROOT=$(STAGING_DIR) V=1
|
||||
endef
|
||||
|
||||
define DVB_APPS_INSTALL_STAGING_CMDS
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
libstdc++-v3: fix the effects of pre-applied 300-libstdc++-pic.patch
|
||||
|
||||
This version of GCC comes with a number of pre-applied patches, among which is
|
||||
300-libstdc++-pic.patch that makes a PIC version of libstdc++. The resulting
|
||||
Makefile.in incorrectly refers to object files that should be insde the library.
|
||||
|
||||
Signed-off-by: Alexander Lukichev <alexander.lukichev@gmail.com>
|
||||
|
||||
diff -uNrp host-gcc-final-4.2.2-avr32-2.1.5.orig/libstdc++-v3/src/Makefile.in host-gcc-final-4.2.2-avr32-2.1.5/libstdc++-v3/src/Makefile.in
|
||||
--- host-gcc-final-4.2.2-avr32-2.1.5.orig/libstdc++-v3/src/Makefile.in 2008-07-04 00:18:42.000000000 +0300
|
||||
+++ host-gcc-final-4.2.2-avr32-2.1.5/libstdc++-v3/src/Makefile.in 2013-08-08 16:15:56.201258882 +0300
|
||||
@@ -804,7 +804,7 @@ install_debug:
|
||||
|
||||
install-exec-local:
|
||||
ifeq ($(enable_shared),yes)
|
||||
- $(AR) cru libstdc++_pic.a *.o $(top_builddir)/libsupc++/*.o
|
||||
+ $(AR) cru libstdc++_pic.a .libs/*.o $(top_builddir)/libsupc++/*.o
|
||||
$(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir)
|
||||
endif
|
||||
|
||||
@@ -55,20 +55,6 @@ endif
|
||||
HOST_GCC_FINAL_CONF_OPT += \
|
||||
$(call qstrip,$(BR2_EXTRA_GCC_CONFIG_OPTIONS))
|
||||
|
||||
# Handle lib64
|
||||
define HOST_GCC_FINAL_HANDLE_LIB64
|
||||
if [ -d "$(STAGING_DIR)/lib64" ]; then \
|
||||
if [ ! -e "$(STAGING_DIR)/lib" ]; then \
|
||||
mkdir -p "$(STAGING_DIR)/lib"; \
|
||||
fi; \
|
||||
mv "$(STAGING_DIR)/lib64/"* "$(STAGING_DIR)/lib/"; \
|
||||
rmdir "$(STAGING_DIR)/lib64"; \
|
||||
rm "$(STAGING_DIR)/usr/$(GNU_TARGET_NAME)/lib64";\
|
||||
fi
|
||||
endef
|
||||
|
||||
HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_FINAL_HANDLE_LIB64
|
||||
|
||||
# Make sure we have 'cc'
|
||||
define HOST_GCC_FINAL_CREATE_CC_SYMLINKS
|
||||
if [ ! -e $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-cc ]; then \
|
||||
|
||||
@@ -7,7 +7,7 @@ config BR2_PACKAGE_KEXEC
|
||||
Kexec is a user space utiltity for loading another kernel
|
||||
and asking the currently running kernel to do something with it.
|
||||
|
||||
http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/
|
||||
https://www.kernel.org/pub/linux/utils/kernel/kexec/
|
||||
|
||||
config BR2_PACKAGE_KEXEC_ZLIB
|
||||
bool "zlib support"
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
From d4a1e5daf0d50aa79ae0ed2f947f5657343cf2f7 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Date: Wed, 28 Aug 2013 17:31:40 +0200
|
||||
Subject: [PATCH] Add configure check for _Static_assert()
|
||||
|
||||
Commit 8efede20ef ("Use _Static_assert") introduced the usage of
|
||||
_Static_assert(). However, _Static_assert() is a fairly new thing,
|
||||
since it was introduced only in gcc 4.6. In order to support older
|
||||
compilers, this patch adds a configure.in test that checks whether
|
||||
_Static_assert() is usable or not, and adjust the behavior of the
|
||||
assert_cc() macro accordingly.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Upstream-status: submitted
|
||||
http://article.gmane.org/gmane.linux.kernel.modules/1136
|
||||
---
|
||||
configure.ac | 6 ++++++
|
||||
libkmod/macro.h | 4 ++++
|
||||
2 files changed, 10 insertions(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 40e54cf..cbe12f3 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -52,6 +52,12 @@ AC_CHECK_MEMBERS([struct stat.st_mtim], [], [], [#include <sys/stat.h>])
|
||||
# Check kernel headers
|
||||
AC_CHECK_HEADERS_ONCE([linux/module.h])
|
||||
|
||||
+AC_MSG_CHECKING([whether _Static_assert() is supported])
|
||||
+AC_COMPILE_IFELSE(
|
||||
+ [AC_LANG_SOURCE([[_Static_assert(1, "Test");]])],
|
||||
+ [AC_DEFINE([HAVE_STATIC_ASSERT], [1], [Define is _Static_assert() is available])
|
||||
+ AC_MSG_RESULT([yes])],
|
||||
+ [AC_MSG_RESULT([no])])
|
||||
|
||||
#####################################################################
|
||||
# --with-
|
||||
diff --git a/libkmod/macro.h b/libkmod/macro.h
|
||||
index c6ba855..5992026 100644
|
||||
--- a/libkmod/macro.h
|
||||
+++ b/libkmod/macro.h
|
||||
@@ -21,8 +21,12 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
+#if defined(HAVE_STATIC_ASSERT)
|
||||
#define assert_cc(expr) \
|
||||
_Static_assert((expr), #expr)
|
||||
+#else
|
||||
+#define assert_cc(expr)
|
||||
+#endif
|
||||
|
||||
#if HAVE_TYPEOF
|
||||
#define check_types_match(expr1, expr2) \
|
||||
--
|
||||
1.8.1.2
|
||||
|
||||
@@ -10,6 +10,9 @@ KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod/
|
||||
KMOD_INSTALL_STAGING = YES
|
||||
KMOD_DEPENDENCIES = host-pkgconf
|
||||
|
||||
# Some patches are touching configure.in
|
||||
KMOD_AUTORECONF = YES
|
||||
|
||||
# license info for libkmod only, conditionally add more below
|
||||
KMOD_LICENSE = LGPLv2.1+
|
||||
KMOD_LICENSE_FILES = libkmod/COPYING
|
||||
|
||||
@@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBBSD
|
||||
bool "libbsd"
|
||||
# libbsd requires a.out.h, which is only available for those
|
||||
# architectures: arm, m68k, x86 (and alpha, but we don't care.)
|
||||
depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 )
|
||||
depends on ( BR2_i386 || BR2_x86_64 )
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
This library provides useful functions commonly found on BSD
|
||||
@@ -14,5 +14,5 @@ config BR2_PACKAGE_LIBBSD
|
||||
http://libbsd.freedesktop.org/
|
||||
|
||||
comment "libbsd requires a toolchain with thread support"
|
||||
depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 )
|
||||
depends on ( BR2_i386 || BR2_x86_64 )
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LINUX_FUSION_VERSION = 9.0.0
|
||||
LINUX_FUSION_VERSION = 9.0.2
|
||||
LINUX_FUSION_SOURCE = linux-fusion-$(LINUX_FUSION_VERSION).tar.gz
|
||||
LINUX_FUSION_SITE = http://directfb.org/downloads/Core/linux-fusion
|
||||
LINUX_FUSION_INSTALL_STAGING = YES
|
||||
|
||||
@@ -72,16 +72,16 @@ config BR2_DEFAULT_KERNEL_VERSION
|
||||
|
||||
config BR2_DEFAULT_KERNEL_HEADERS
|
||||
string
|
||||
default "3.0.91" if BR2_KERNEL_HEADERS_3_0
|
||||
default "3.0.94" if BR2_KERNEL_HEADERS_3_0
|
||||
default "3.1.10" if BR2_KERNEL_HEADERS_3_1
|
||||
default "3.2.50" if BR2_KERNEL_HEADERS_3_2
|
||||
default "3.3.8" if BR2_KERNEL_HEADERS_3_3
|
||||
default "3.4.58" if BR2_KERNEL_HEADERS_3_4
|
||||
default "3.4.60" if BR2_KERNEL_HEADERS_3_4
|
||||
default "3.5.7" if BR2_KERNEL_HEADERS_3_5
|
||||
default "3.6.11" if BR2_KERNEL_HEADERS_3_6
|
||||
default "3.7.10" if BR2_KERNEL_HEADERS_3_7
|
||||
default "3.8.13" if BR2_KERNEL_HEADERS_3_8
|
||||
default "3.9.11" if BR2_KERNEL_HEADERS_3_9
|
||||
default "3.10.7" if BR2_KERNEL_HEADERS_3_10
|
||||
default "3.10.10" if BR2_KERNEL_HEADERS_3_10
|
||||
default "2.6" if BR2_KERNEL_HEADERS_SNAP
|
||||
default $BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||
|
||||
@@ -19,12 +19,23 @@ MINIDLNA_CFLAGS=$(TARGET_CFLAGS) \
|
||||
-I"$(STAGING_DIR)/usr/include/libavcodec" \
|
||||
-I"$(STAGING_DIR)/usr/include/libavformat"
|
||||
|
||||
MINIDLNA_COMMON_LIBS = \
|
||||
-lpthread -lexif -ljpeg -lsqlite3 -lavformat -lavutil -lavcodec \
|
||||
-lid3tag -lFLAC -logg -lvorbis
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GETTEXT),y)
|
||||
MINIDLNA_DEPENDENCIES += gettext
|
||||
# we need to link with libintl
|
||||
MINIDLNA_MAKE_OPTS += LIBS='-lpthread -lexif -ljpeg -lsqlite3 -lavformat -lavutil -lavcodec -lid3tag -lFLAC -logg -lvorbis -lintl'
|
||||
MINIDLNA_COMMON_LIBS += -lintl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||
MINIDLNA_DEPENDENCIES += libiconv
|
||||
MINIDLNA_COMMON_LIBS += -liconv
|
||||
endif
|
||||
|
||||
MINIDLNA_MAKE_OPTS += LIBS='$(MINIDLNA_COMMON_LIBS)'
|
||||
|
||||
define MINIDLNA_BUILD_CMDS
|
||||
PREFIX=$(STAGING_DIR)/usr \
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
||||
|
||||
@@ -55,7 +55,19 @@ endef
|
||||
PULSEAUDIO_POST_PATCH_HOOKS += PULSEAUDIO_FORCE_CC
|
||||
endif
|
||||
|
||||
PULSEAUDIO_CONF_OPT += $(if $(BR2_ARM_ENABLE_NEON),--enable-neon-opt=yes,--enable-neon-opt=no)
|
||||
# neon intrinsics not available with float-abi=soft
|
||||
ifeq ($(BR2_ARM_SOFT_FLOAT),)
|
||||
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
||||
PULSEAUDIO_USE_NEON = y
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(PULSEAUDIO_USE_NEON),y)
|
||||
PULSEAUDIO_CONF_OPT += --enable-neon-opt=yes
|
||||
else
|
||||
PULSEAUDIO_CONF_OPT += --enable-neon-opt=no
|
||||
endif
|
||||
|
||||
# pulseaudio alsa backend needs pcm/mixer apis
|
||||
ifneq ($(BR2_PACKAGE_ALSA_LIB_PCM)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy)
|
||||
PULSEAUDIO_CONF_OPT += --disable-alsa
|
||||
|
||||
@@ -23,7 +23,7 @@ if [ ! -f /etc/ssh_host_dsa_key ] ; then
|
||||
echo Generating DSA Key...
|
||||
echo THIS CAN TAKE A MINUTE OR TWO DEPENDING ON YOUR PROCESSOR!
|
||||
echo
|
||||
/usr/bin/ssh-keygen -t dsa -f /etc/ssh_host_dsa_key -C '' -N ''
|
||||
/usr/bin/ssh-keygen -t dsa -f /etc/ssh_host_dsa_key -C '' -N ''
|
||||
fi
|
||||
|
||||
# Check for the SSH2 ECDSA key
|
||||
@@ -33,35 +33,35 @@ if [ ! -f /etc/ssh_host_ecdsa_key ]; then
|
||||
echo
|
||||
/usr/bin/ssh-keygen -t ecdsa -f /etc/ssh_host_ecdsa_key -C '' -N ''
|
||||
fi
|
||||
|
||||
|
||||
umask 077
|
||||
|
||||
start() {
|
||||
echo -n "Starting sshd: "
|
||||
echo -n "Starting sshd: "
|
||||
/usr/sbin/sshd
|
||||
touch /var/lock/sshd
|
||||
echo "OK"
|
||||
}
|
||||
}
|
||||
stop() {
|
||||
echo -n "Stopping sshd: "
|
||||
killall sshd
|
||||
killall sshd
|
||||
rm -f /var/lock/sshd
|
||||
echo "OK"
|
||||
echo "OK"
|
||||
}
|
||||
restart() {
|
||||
stop
|
||||
start
|
||||
}
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
start
|
||||
start
|
||||
;;
|
||||
stop)
|
||||
stop
|
||||
stop
|
||||
;;
|
||||
restart|reload)
|
||||
restart
|
||||
restart
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart}"
|
||||
|
||||
@@ -85,6 +85,7 @@ define OPENSSL_CONFIGURE_CMDS
|
||||
)
|
||||
$(SED) "s:-march=[-a-z0-9] ::" -e "s:-mcpu=[-a-z0-9] ::g" $(@D)/Makefile
|
||||
$(SED) "s:-O[0-9]:$(OPENSSL_CFLAGS):" $(@D)/Makefile
|
||||
$(SED) "s: build_tests::" $(@D)/Makefile
|
||||
endef
|
||||
|
||||
define HOST_OPENSSL_BUILD_CMDS
|
||||
|
||||
@@ -20,19 +20,18 @@ endef
|
||||
|
||||
define PYTHON_SETUPTOOLS_BUILD_CMDS
|
||||
(cd $(@D); \
|
||||
PYTHONPATH="/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" \
|
||||
PYTHONPATH="$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" \
|
||||
$(HOST_DIR)/usr/bin/python setup.py build)
|
||||
endef
|
||||
|
||||
define HOST_PYTHON_SETUPTOOLS_INSTALL_CMDS
|
||||
(cd $(@D); \
|
||||
PYTHONPATH="$(HOST_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" \
|
||||
$(HOST_DIR)/usr/bin/python setup.py install --prefix=$(HOST_DIR)/usr)
|
||||
endef
|
||||
|
||||
define PYTHON_SETUPTOOLS_INSTALL_TARGET_CMDS
|
||||
(cd $(@D); \
|
||||
PYTHONPATH="/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" \
|
||||
PYTHONPATH="$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" \
|
||||
$(HOST_DIR)/usr/bin/python setup.py install --executable=/usr/bin/python \
|
||||
--single-version-externally-managed --root=/ --prefix=$(TARGET_DIR)/usr)
|
||||
endef
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
QT5_VERSION = 5.0.2
|
||||
QT5_SITE = http://releases.qt-project.org/qt5/$(QT5_VERSION)/submodules/
|
||||
QT5_SITE = http://download.qt-project.org/archive/qt/5.0/$(QT5_VERSION)/submodules/
|
||||
include package/qt5/*/*.mk
|
||||
|
||||
define QT5_LA_PRL_FILES_FIXUP
|
||||
|
||||
@@ -2,6 +2,7 @@ config BR2_PACKAGE_QT5WEBKIT
|
||||
bool "qt5webkit"
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_ICU
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_SQLITE
|
||||
# This module does not support static linking
|
||||
depends on !BR2_PREFER_STATIC_LIB
|
||||
|
||||
@@ -39,7 +39,7 @@ diff -ur old/src/Makefile new/src/Makefile
|
||||
echo PREV_FINAL_CFLAGS=$(FINAL_CFLAGS) >> .make-settings
|
||||
echo PREV_FINAL_LDFLAGS=$(FINAL_LDFLAGS) >> .make-settings
|
||||
- -(cd ../deps && $(MAKE) $(DEPENDENCY_TARGETS))
|
||||
+ -(cd ../deps && $(MAKE) CC=$(CC) $(DEPENDENCY_TARGETS))
|
||||
+ -(cd ../deps && $(MAKE) CC="$(CC)" $(DEPENDENCY_TARGETS))
|
||||
|
||||
.PHONY: persist-settings
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
It looks like there is a typing error in dependencies of tnccs_20.
|
||||
|
||||
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
|
||||
|
||||
--- a/configure 2013-08-19 12:09:33.934651935 +0200
|
||||
+++ b/configure 2013-08-19 11:50:34.465118187 +0200
|
||||
@@ -15897,7 +15897,7 @@
|
||||
radius=true;
|
||||
fi
|
||||
|
||||
-if test x$tnc_imc = xtrue -o x$tnc_imv = xtrue -o x$tnccs_11 = xtrue -o x$tnccs_11 = xtrue -o x$tnccs_dynamic = xtrue -o x$eap_tnc = xtrue; then
|
||||
+if test x$tnc_imc = xtrue -o x$tnc_imv = xtrue -o x$tnccs_11 = xtrue -o x$tnccs_20 = xtrue -o x$tnccs_dynamic = xtrue -o x$eap_tnc = xtrue; then
|
||||
tnc_tnccs=true;
|
||||
fi
|
||||
|
||||
--- a/configure.in 2013-08-19 12:08:41.762913778 +0200
|
||||
+++ b/configure.in 2013-08-19 11:50:22.222886206 +0200
|
||||
@@ -317,7 +317,7 @@
|
||||
radius=true;
|
||||
fi
|
||||
|
||||
-if test x$tnc_imc = xtrue -o x$tnc_imv = xtrue -o x$tnccs_11 = xtrue -o x$tnccs_11 = xtrue -o x$tnccs_dynamic = xtrue -o x$eap_tnc = xtrue; then
|
||||
+if test x$tnc_imc = xtrue -o x$tnc_imv = xtrue -o x$tnccs_11 = xtrue -o x$tnccs_20 = xtrue -o x$tnccs_dynamic = xtrue -o x$eap_tnc = xtrue; then
|
||||
tnc_tnccs=true;
|
||||
fi
|
||||
|
||||
@@ -5,7 +5,7 @@ install_driver() {
|
||||
OPTS=$2
|
||||
|
||||
modprobe $DRIVER $OPTS
|
||||
maj=$(awk "$$2==\"${DRIVER}\" { print $$1; }" /proc/devices)
|
||||
maj=$(awk "\$2==\"${DRIVER}\" { print \$1; }" /proc/devices)
|
||||
|
||||
rm -f /dev/${DRIVER}
|
||||
|
||||
|
||||
@@ -7,6 +7,6 @@ Name: glesv2
|
||||
Description: ARM Mali implementation of OpenGL ESv2
|
||||
Version: 2.0
|
||||
Requires:
|
||||
Libs: -L${libdir} -lGLESv2 -lGLES_CM -lUMP
|
||||
Libs: -L${libdir} -lGLESv2 -lGLESv1_CM -lUMP
|
||||
Cflags: -I${includedir}/GLES2
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
MESA3D_VERSION = 7.10.3
|
||||
MESA3D_SOURCE = MesaLib-$(MESA3D_VERSION).tar.gz
|
||||
MESA3D_SITE = ftp://ftp.freedesktop.org/pub/mesa/$(MESA3D_VERSION)
|
||||
MESA3D_SITE = ftp://ftp.freedesktop.org/pub/mesa/older-versions/7.x/$(MESA3D_VERSION)
|
||||
MESA3D_LICENSE = MIT, SGI, Khronos
|
||||
MESA3D_LICENSE_FILES = docs/license.html
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ function apply_patch {
|
||||
echo ""
|
||||
echo "Applying $patch using ${type}: "
|
||||
echo $patch >> ${builddir}/.applied_patches_list
|
||||
${uncomp} "${path}/$patch" | patch -g0 -p1 -E -d "${builddir}"
|
||||
${uncomp} "${path}/$patch" | patch -g0 -p1 -E -d "${builddir}" -t
|
||||
if [ $? != 0 ] ; then
|
||||
echo "Patch failed! Please fix ${patch}!"
|
||||
exit 1
|
||||
|
||||
@@ -125,7 +125,7 @@ copy_toolchain_lib_root = \
|
||||
# $1: main sysroot directory of the toolchain
|
||||
# $2: arch specific sysroot directory of the toolchain
|
||||
# $3: arch specific subdirectory in the sysroot
|
||||
# $4: directory of libraries ('lib' or 'lib64')
|
||||
# $4: directory of libraries ('lib', 'lib32' or 'lib64')
|
||||
# $5: support lib directories (for toolchains storing libgcc_s,
|
||||
# libstdc++ and other gcc support libraries outside of the
|
||||
# sysroot)
|
||||
@@ -135,9 +135,11 @@ copy_toolchain_sysroot = \
|
||||
ARCH_SUBDIR="$(strip $3)"; \
|
||||
ARCH_LIB_DIR="$(strip $4)" ; \
|
||||
SUPPORT_LIB_DIR="$(strip $5)" ; \
|
||||
for i in etc $${ARCH_LIB_DIR} sbin usr ; do \
|
||||
for i in etc $${ARCH_LIB_DIR} sbin usr usr/$${ARCH_LIB_DIR}; do \
|
||||
if [ -d $${ARCH_SYSROOT_DIR}/$$i ] ; then \
|
||||
rsync -au --chmod=Du+w --exclude 'usr/lib/locale' $${ARCH_SYSROOT_DIR}/$$i $(STAGING_DIR)/ ; \
|
||||
rsync -au --chmod=Du+w --exclude 'usr/lib/locale' \
|
||||
--exclude lib --exclude lib32 --exclude lib64 \
|
||||
$${ARCH_SYSROOT_DIR}/$$i/ $(STAGING_DIR)/$$i/ ; \
|
||||
fi ; \
|
||||
done ; \
|
||||
if [ `readlink -f $${SYSROOT_DIR}` != `readlink -f $${ARCH_SYSROOT_DIR}` ] ; then \
|
||||
@@ -158,19 +160,6 @@ copy_toolchain_sysroot = \
|
||||
fi ; \
|
||||
find $(STAGING_DIR) -type d | xargs chmod 755
|
||||
|
||||
#
|
||||
# Create lib64 -> lib and usr/lib64 -> usr/lib symbolic links in the
|
||||
# target and staging directories. This is needed for some 64 bits
|
||||
# toolchains such as the Crosstool-NG toolchains, for which the path
|
||||
# to the dynamic loader and other libraries is /lib64, but the
|
||||
# libraries are stored in /lib.
|
||||
#
|
||||
create_lib64_symlinks = \
|
||||
(cd $(TARGET_DIR) ; ln -s lib lib64) ; \
|
||||
(cd $(TARGET_DIR)/usr ; ln -s lib lib64) ; \
|
||||
(cd $(STAGING_DIR) ; ln -s lib lib64) ; \
|
||||
(cd $(STAGING_DIR)/usr ; ln -s lib lib64)
|
||||
|
||||
#
|
||||
# Check the availability of a particular glibc feature. This function
|
||||
# is used to check toolchain options that are always supported by
|
||||
|
||||
@@ -449,7 +449,6 @@ $(STAMP_DIR)/ext-toolchain-installed: $(STAMP_DIR)/ext-toolchain-checked
|
||||
fi ; \
|
||||
fi ; \
|
||||
ARCH_SUBDIR=`echo $${ARCH_SYSROOT_DIR} | sed -r -e "s:^$${SYSROOT_DIR}(.*)/$$:\1:"` ; \
|
||||
mkdir -p $(TARGET_DIR)/lib ; \
|
||||
if test -z "$(BR2_PREFER_STATIC_LIB)" ; then \
|
||||
$(call MESSAGE,"Copying external toolchain libraries to target...") ; \
|
||||
for libs in $(LIB_EXTERNAL_LIBS); do \
|
||||
@@ -461,9 +460,6 @@ $(STAMP_DIR)/ext-toolchain-installed: $(STAMP_DIR)/ext-toolchain-checked
|
||||
fi ; \
|
||||
$(call MESSAGE,"Copying external toolchain sysroot to staging...") ; \
|
||||
$(call copy_toolchain_sysroot,$${SYSROOT_DIR},$${ARCH_SYSROOT_DIR},$${ARCH_SUBDIR},$${ARCH_LIB_DIR},$${SUPPORT_LIB_DIR}) ; \
|
||||
if [ -L $${ARCH_SYSROOT_DIR}/lib64 -o -d $${ARCH_SYSROOT_DIR}/lib64 ] ; then \
|
||||
$(call create_lib64_symlinks) ; \
|
||||
fi ; \
|
||||
if test "$(BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY)" = "y"; then \
|
||||
$(call MESSAGE,"Copying gdbserver") ; \
|
||||
gdbserver_found=0 ; \
|
||||
|
||||
Reference in New Issue
Block a user