mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-12 22:09:53 +03:00
Compare commits
30 Commits
2011.11_rc
...
2011.11
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c29253ef2e | ||
|
|
47c46ea1fc | ||
|
|
effecb4a01 | ||
|
|
c6932d2148 | ||
|
|
c71833418e | ||
|
|
e4c61e5ea4 | ||
|
|
4dc18dc514 | ||
|
|
ec02a34b0a | ||
|
|
6d985f97c8 | ||
|
|
150124b952 | ||
|
|
fc11bb0ab4 | ||
|
|
30ed378a97 | ||
|
|
7948b0c621 | ||
|
|
9f930d2d7f | ||
|
|
0ff53f128d | ||
|
|
1db649c6fe | ||
|
|
5931db0de9 | ||
|
|
468f1cac8a | ||
|
|
e9985f5d5f | ||
|
|
1fccc20314 | ||
|
|
7a63f1a08c | ||
|
|
9fec836b7e | ||
|
|
66bdd2a27b | ||
|
|
f4642c8bae | ||
|
|
a51194985a | ||
|
|
32bea4a1cf | ||
|
|
c83738b2a4 | ||
|
|
376a535fb3 | ||
|
|
c29fad1e1b | ||
|
|
c94b24a851 |
24
CHANGES
24
CHANGES
@@ -1,3 +1,27 @@
|
||||
2011.11, Released November 30th, 2011:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Bump kernel headers / default Linux version to 3.1.4.
|
||||
|
||||
Updated/fixed packages: ruby
|
||||
|
||||
2011.11-rc3, Released November 26th, 2011:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Toolchain: Fix gdb dependencies for external toolchains,
|
||||
adjust uClibc patches so they don't confuse modern versions of
|
||||
patch, bump crosstool-ng, kernel headers and linux versions.
|
||||
|
||||
Updated/fixed packages: busybox, freetype, mplayer, opencv,
|
||||
php, rsyslog, ruby, thttpd, xapp_xf86dga
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#4357: Prevent patch commands from accessing source control
|
||||
#4369: Fix permissions on untared lsof archive
|
||||
|
||||
2011.11-rc2, Released November 18th, 2011:
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
2
Makefile
2
Makefile
@@ -24,7 +24,7 @@
|
||||
#--------------------------------------------------------------
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION:=2011.11-rc2
|
||||
export BR2_VERSION:=2011.11
|
||||
|
||||
# This top-level Makefile can *not* be executed in parallel
|
||||
.NOTPARALLEL:
|
||||
|
||||
@@ -41,7 +41,7 @@ GRUB_CONFIG-$(BR2_TARGET_GRUB_w89c840) += --enable-w89c840
|
||||
define GRUB_DEBIAN_PATCHES
|
||||
# Apply the patches from the Debian patch
|
||||
(cd $(@D) ; for f in `cat debian/patches/00list | grep -v ^#` ; do \
|
||||
cat debian/patches/$$f | patch -p1 ; \
|
||||
cat debian/patches/$$f | patch -g0 -p1 ; \
|
||||
done)
|
||||
endef
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
|
||||
help
|
||||
If your board requires custom patches, add the path to the
|
||||
directory containing the patches here. The patches must be
|
||||
named u-boot-<version>-<something>.patch.
|
||||
named uboot-<version>-<something>.patch.
|
||||
|
||||
Most users may leave this empty
|
||||
|
||||
|
||||
@@ -1031,7 +1031,7 @@ $(eval $(call GENTARGETS,package,libfoo,host))
|
||||
|
||||
<li><code>LIBFOO_SOURCE</code> may contain the name of the tarball of
|
||||
the package. If <code>HOST_LIBFOO_SOURCE</code> is not specified, it
|
||||
defaults to <code>LIBFOO_VERSION</code>. If none are specified, then
|
||||
defaults to <code>LIBFOO_SOURCE</code>. If none are specified, then
|
||||
the value is assumed to be
|
||||
<code>packagename-$(LIBFOO_VERSION).tar.gz</code>.<br/>Example:
|
||||
<code>LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2</code></li>
|
||||
@@ -1787,9 +1787,9 @@ Starting dropbear sshd: generating rsa key... generating dsa key... OK</pre>
|
||||
<p>then it means that your system is running, but didn't start a
|
||||
shell on the serial console. In order to have the system start a
|
||||
shell on your serial console, you have to go in the Buildroot
|
||||
configuration, <code>Target options</code>, enable <code>Generic
|
||||
serial port config</code>, and select the serial port and speed
|
||||
you would like to use for the shell. This will automatically tune
|
||||
configuration, <code>System configuration</code>, and modify
|
||||
<code>Port to run a getty (login prompt) on</code> and
|
||||
<code>Baudrate to use</code> as appropriate. This will automatically tune
|
||||
the <code>/etc/inittab</code> file of the generated system so that
|
||||
a shell starts on the correct serial port.</p>
|
||||
|
||||
|
||||
@@ -6,22 +6,22 @@
|
||||
|
||||
<p>
|
||||
|
||||
The latest stable release is <b>2011.08</b>, which can be downloaded
|
||||
The latest stable release is <b>2011.11</b>, which can be downloaded
|
||||
here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2011.08.tar.gz">buildroot-2011.08.tar.gz</a>
|
||||
<a href="/downloads/buildroot-2011.11.tar.gz">buildroot-2011.11.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2011.08.tar.bz2">buildroot-2011.08.tar.bz2</a>.
|
||||
<a href="/downloads/buildroot-2011.11.tar.bz2">buildroot-2011.11.tar.bz2</a>.
|
||||
<p>
|
||||
|
||||
The latest release candidate is <b>2011.11-rc2</b>, which can be
|
||||
<!--
|
||||
The latest release candidate is <b>2011.11-rc3</b>, which can be
|
||||
downloaded here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2011.11-rc2.tar.gz">buildroot-2011.11-rc2.tar.gz</a>
|
||||
<a href="/downloads/buildroot-2011.11-rc3.tar.gz">buildroot-2011.11-rc3.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2011.11-rc2.tar.bz2">buildroot-2011.11-rc2.tar.bz2</a>.
|
||||
<a href="/downloads/buildroot-2011.11-rc3.tar.bz2">buildroot-2011.11-rc3.tar.bz2</a>.
|
||||
<p>
|
||||
|
||||
-->
|
||||
This and earlier releases can always be downloaded from
|
||||
<a href="/downloads/">http://buildroot.net/downloads/</a>.
|
||||
|
||||
|
||||
@@ -131,7 +131,7 @@ information is (assuming the package name is +libfoo+) :
|
||||
|
||||
* +LIBFOO_SOURCE+ may contain the name of the tarball of
|
||||
the package. If +HOST_LIBFOO_SOURCE+ is not specified, it
|
||||
defaults to +LIBFOO_VERSION+. If none are specified, then
|
||||
defaults to +LIBFOO_SOURCE+. If none are specified, then
|
||||
the value is assumed to be
|
||||
+packagename-$(LIBFOO_VERSION).tar.gz+. +
|
||||
Example: +LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2+
|
||||
|
||||
@@ -5,6 +5,26 @@
|
||||
<p>
|
||||
|
||||
<ul>
|
||||
<li><b>30 November 2011 -- 2011.11 released</b>
|
||||
|
||||
<p>The stable 2011.11 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2011.11">CHANGES</a>
|
||||
file for more details, and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2011.11.tar.bz2">2011.11 release</a>.</p>
|
||||
|
||||
<li><b>26 November 2011 -- 2011.11-rc3 released</b>
|
||||
|
||||
<p>RC3 is out with more bugfixes - See the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2011.11_rc3">CHANGES</a>
|
||||
file for details.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2011.11-rc3.tar.bz2">2011.11-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>18 November 2011 -- 2011.11-rc2 released</b>
|
||||
|
||||
<p>Another week, another release candidate with a bunch of
|
||||
|
||||
@@ -22,7 +22,7 @@ choice
|
||||
default BR2_LINUX_KERNEL_3_1
|
||||
|
||||
config BR2_LINUX_KERNEL_3_1
|
||||
bool "3.1.1"
|
||||
bool "3.1.4"
|
||||
|
||||
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
bool "Same as toolchain kernel headers"
|
||||
@@ -58,7 +58,7 @@ endchoice
|
||||
config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE
|
||||
string "Kernel version"
|
||||
depends on BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
default "3.1.1"
|
||||
default "3.1.4"
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION
|
||||
string "URL of custom kernel tarball"
|
||||
@@ -74,7 +74,7 @@ config BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "3.1.1" if BR2_LINUX_KERNEL_3_1
|
||||
default "3.1.4" if BR2_LINUX_KERNEL_3_1
|
||||
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
|
||||
|
||||
@@ -141,8 +141,6 @@ endef
|
||||
BUSYBOX_POST_EXTRACT_HOOKS += BUSYBOX_COPY_CONFIG
|
||||
|
||||
define BUSYBOX_CONFIGURE_CMDS
|
||||
$(BUSYBOX_SET_SYSKLOGD)
|
||||
$(BUSYBOX_SET_BB_PWD)
|
||||
$(BUSYBOX_SET_LARGEFILE)
|
||||
$(BUSYBOX_SET_IPV6)
|
||||
$(BUSYBOX_SET_RPC)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
CROSSTOOL_NG_VERSION = 1.13.1
|
||||
CROSSTOOL_NG_VERSION = 1.13.2
|
||||
CROSSTOOL_NG_SOURCE = crosstool-ng-$(CROSSTOOL_NG_VERSION).tar.bz2
|
||||
CROSSTOOL_NG_SITE = http://crosstool-ng.org/download/crosstool-ng/
|
||||
CROSSTOOL_NG_INSTALL_STAGING = NO
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
FREETYPE_VERSION = 2.4.7
|
||||
FREETYPE_VERSION = 2.4.8
|
||||
FREETYPE_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/freetype
|
||||
FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.bz2
|
||||
FREETYPE_INSTALL_STAGING = YES
|
||||
|
||||
@@ -33,13 +33,12 @@ endef
|
||||
endif
|
||||
|
||||
# The .tar.bz2 contains another .tar, which contains the source code.
|
||||
define LSOF_EXTRACT_TAR
|
||||
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -xf $(@D)/lsof_$(LSOF_VERSION)_src.tar -C $(@D)
|
||||
rm -f $(@D)/lsof_$(LSOF_VERSION)_src.tar
|
||||
define LSOF_EXTRACT_CMDS
|
||||
$(INFLATE.bz2) $(DL_DIR)/$(LSOF_SOURCE) | \
|
||||
$(TAR) -O $(TAR_OPTIONS) - lsof_$(LSOF_VERSION)/lsof_$(LSOF_VERSION)_src.tar | \
|
||||
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(LSOF_DIR) $(TAR_OPTIONS) -
|
||||
endef
|
||||
|
||||
LSOF_POST_EXTRACT_HOOKS += LSOF_EXTRACT_TAR
|
||||
|
||||
define LSOF_CONFIGURE_CMDS
|
||||
(cd $(@D) ; \
|
||||
echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" \
|
||||
|
||||
@@ -67,8 +67,8 @@ else
|
||||
MPLAYER_CONF_OPTS += --disable-mencoder
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TREMOR),y)
|
||||
MPLAYER_DEPENDENCIES += tremor
|
||||
ifeq ($(BR2_PACKAGE_TREMOR)$(BR2_PACKAGE_LIBOGG),yy)
|
||||
MPLAYER_DEPENDENCIES += tremor libogg
|
||||
MPLAYER_CONF_OPTS += --disable-tremor-internal --enable-tremor
|
||||
endif
|
||||
|
||||
|
||||
@@ -31,11 +31,16 @@ config BR2_PACKAGE_OPENCV_WITH_PYTHON
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_FFMPEG
|
||||
bool "ffmpeg support"
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_INET_IPV6
|
||||
select BR2_PACKAGE_FFMPEG
|
||||
select BR2_PACKAGE_FFMPEG_SWSCALE
|
||||
help
|
||||
Use ffmpeg from the target system.
|
||||
|
||||
comment "ffmpeg support requires a toolchain with LARGEFILE and IPV6 support"
|
||||
depends on !(BR2_LARGEFILE && BR2_INET_IPV6)
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
|
||||
bool "gstreamer support"
|
||||
select BR2_PACKAGE_GSTREAMER
|
||||
|
||||
@@ -125,6 +125,7 @@ config BR2_PACKAGE_PHP_EXT_SYSVSHM
|
||||
|
||||
config BR2_PACKAGE_PHP_EXT_ZIP
|
||||
bool "zip"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
Zip read/write support
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ ifeq ($(BR2_PACKAGE_PHP_EXT_SIMPLEXML),y)
|
||||
PHP_CONF_OPT += --enable-simplexml
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_ZLIB),y)
|
||||
ifneq ($(BR2_PACKAGE_PHP_EXT_ZLIB)$(BR2_PACKAGE_PHP_EXT_ZIP),)
|
||||
PHP_CONF_OPT += --with-zlib=$(STAGING_DIR)/usr
|
||||
PHP_DEPENDENCIES += zlib
|
||||
endif
|
||||
|
||||
@@ -13,8 +13,9 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
endif
|
||||
|
||||
define RSYSLOG_INSTALL_CONF_SCRIPT
|
||||
$(INSTALL) -m 0755 -D package/rsyslog/S01rsyslog \
|
||||
$(TARGET_DIR)/etc/init.d/S01rsyslog
|
||||
[ -f $(TARGET_DIR)/etc/init.d/S01rsyslog ] || \
|
||||
$(INSTALL) -m 0755 -D package/rsyslog/S01rsyslog \
|
||||
$(TARGET_DIR)/etc/init.d/S01rsyslog
|
||||
[ -f $(TARGET_DIR)/etc/rsyslog.conf ] || \
|
||||
$(INSTALL) -m 0644 -D $(@D)/rsyslog.conf \
|
||||
$(TARGET_DIR)/etc/rsyslog.conf
|
||||
|
||||
@@ -10,9 +10,8 @@ RUBY_AUTORECONF = YES
|
||||
HOST_RUBY_AUTORECONF = YES
|
||||
RUBY_DEPENDENCIES = host-ruby
|
||||
RUBY_MAKE_ENV = $(TARGET_MAKE_ENV)
|
||||
RUBY_CONF_OPT = --disable-install-doc
|
||||
|
||||
HOST_RUBY_CONF_OPT = --disable-install-doc
|
||||
RUBY_CONF_OPT = --disable-install-doc --disable-rpath
|
||||
HOST_RUBY_CONF_OPT = --disable-install-doc --with-out-ext=curses,readline
|
||||
|
||||
# Force optionals to build before we do
|
||||
ifeq ($(BR2_PACKAGE_BERKELEYDB),y)
|
||||
|
||||
26
package/thttpd/thttpd-2.25b-getline.patch
Normal file
26
package/thttpd/thttpd-2.25b-getline.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
Fix glibc/eglibc getline() conflicting functions.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
---
|
||||
|
||||
diff -Nura thttpd-2.25b.orig/extras/htpasswd.c thttpd-2.25b/extras/htpasswd.c
|
||||
--- thttpd-2.25b.orig/extras/htpasswd.c 2001-12-18 21:08:08.000000000 -0300
|
||||
+++ thttpd-2.25b/extras/htpasswd.c 2011-11-25 11:42:47.198582812 -0300
|
||||
@@ -49,7 +49,7 @@
|
||||
while((line[y++] = line[x++]));
|
||||
}
|
||||
|
||||
-static int getline(char *s, int n, FILE *f) {
|
||||
+static int get_line(char *s, int n, FILE *f) {
|
||||
register int i=0;
|
||||
|
||||
while(1) {
|
||||
@@ -189,7 +189,7 @@
|
||||
strcpy(user,argv[2]);
|
||||
|
||||
found = 0;
|
||||
- while(!(getline(line,MAX_STRING_LEN,f))) {
|
||||
+ while(!(get_line(line,MAX_STRING_LEN,f))) {
|
||||
if(found || (line[0] == '#') || (!line[0])) {
|
||||
putline(tfp,line);
|
||||
continue;
|
||||
@@ -7,6 +7,12 @@
|
||||
XAPP_XF86DGA_VERSION = 1.0.2
|
||||
XAPP_XF86DGA_SOURCE = xf86dga-$(XAPP_XF86DGA_VERSION).tar.bz2
|
||||
XAPP_XF86DGA_SITE = http://xorg.freedesktop.org/releases/individual/app
|
||||
XAPP_XF86DGA_DEPENDENCIES = xlib_libX11 xlib_libXxf86dga
|
||||
XAPP_XF86DGA_DEPENDENCIES = \
|
||||
host-pkg-config \
|
||||
xlib_libX11 \
|
||||
xlib_libXxf86dga \
|
||||
xlib_libXt \
|
||||
xlib_libXaw \
|
||||
xlib_libXmu
|
||||
|
||||
$(eval $(call AUTOTARGETS))
|
||||
|
||||
@@ -21,7 +21,7 @@ if [ ! -d "${patchdir}" ] ; then
|
||||
fi
|
||||
|
||||
for i in `cd ${patchdir}; ls -d ${patchpattern} 2> /dev/null` ; do
|
||||
apply="patch -p1 -E -d"
|
||||
apply="patch -g0 -p1 -E -d"
|
||||
uncomp_parm=""
|
||||
if [ -d "${patchdir}/$i" ] ; then
|
||||
type="directory overlay"
|
||||
|
||||
@@ -11,6 +11,7 @@ choice
|
||||
config BR2_TOOLCHAIN_BUILDROOT
|
||||
bool "Buildroot toolchain"
|
||||
select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
|
||||
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL
|
||||
bool "External toolchain"
|
||||
@@ -22,6 +23,7 @@ config BR2_TOOLCHAIN_EXTERNAL
|
||||
config BR2_TOOLCHAIN_CTNG
|
||||
bool "Crosstool-NG toolchain"
|
||||
select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
|
||||
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
|
||||
help
|
||||
Say 'y' if you want to generate the toolchain with crosstool-NG
|
||||
( http://ymorin.is-a-geek.org/projects/crosstool )
|
||||
|
||||
@@ -28,7 +28,7 @@ config BR2_PACKAGE_GDB_HOST
|
||||
|
||||
choice
|
||||
prompt "GDB debugger Version"
|
||||
default BR2_GDB_VERSION_6_6 if !BR2_bfin
|
||||
default BR2_GDB_VERSION_6_6 if BR2_bfin
|
||||
default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32
|
||||
default BR2_GDB_VERSION_7_3
|
||||
depends on BR2_PACKAGE_GDB || BR2_PACKAGE_GDB_SERVER || BR2_PACKAGE_GDB_HOST
|
||||
@@ -52,25 +52,33 @@ choice
|
||||
bool "gdb 7.0.1"
|
||||
depends on !BR2_bfin
|
||||
depends on BR2_DEPRECATED
|
||||
select BR2_PTHREAD_DEBUG if !BR2_PTHREADS_NONE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
|
||||
select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
|
||||
|
||||
config BR2_GDB_VERSION_7_1
|
||||
bool "gdb 7.1"
|
||||
depends on !BR2_bfin
|
||||
select BR2_PTHREAD_DEBUG if !BR2_PTHREADS_NONE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
|
||||
select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
|
||||
|
||||
config BR2_GDB_VERSION_7_2
|
||||
bool "gdb 7.2.x"
|
||||
depends on !BR2_bfin
|
||||
select BR2_PTHREAD_DEBUG if !BR2_PTHREADS_NONE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
|
||||
select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
|
||||
|
||||
config BR2_GDB_VERSION_7_3
|
||||
bool "gdb 7.3.x"
|
||||
depends on !BR2_bfin
|
||||
select BR2_PTHREAD_DEBUG if !BR2_PTHREADS_NONE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
|
||||
select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
|
||||
|
||||
endchoice
|
||||
|
||||
comment "gdb 7.x support needs pthread debug support in toolchain"
|
||||
depends on BR2_PACKAGE_GDB || BR2_PACKAGE_GDB_SERVER || BR2_PACKAGE_GDB_HOST
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
|
||||
|
||||
config BR2_GDB_VERSION
|
||||
string
|
||||
default "6.6a" if BR2_GDB_VERSION_6_6
|
||||
|
||||
@@ -195,7 +195,8 @@ check_uclibc = \
|
||||
$(call check_uclibc_feature,__UCLIBC_HAS_RPC__,BR2_INET_RPC,$${UCLIBC_CONFIG_FILE},RPC support) ;\
|
||||
$(call check_uclibc_feature,__UCLIBC_HAS_LOCALE__,BR2_ENABLE_LOCALE,$${UCLIBC_CONFIG_FILE},Locale support) ;\
|
||||
$(call check_uclibc_feature,__UCLIBC_HAS_WCHAR__,BR2_USE_WCHAR,$${UCLIBC_CONFIG_FILE},Wide char support) ;\
|
||||
$(call check_uclibc_feature,__UCLIBC_HAS_THREADS__,BR2_TOOLCHAIN_HAS_THREADS,$${UCLIBC_CONFIG_FILE},Thread support)
|
||||
$(call check_uclibc_feature,__UCLIBC_HAS_THREADS__,BR2_TOOLCHAIN_HAS_THREADS,$${UCLIBC_CONFIG_FILE},Thread support) ;\
|
||||
$(call check_uclibc_feature,__PTHREADS_DEBUG_SUPPORT__,BR2_TOOLCHAIN_HAS_THREADS_DEBUG,$${UCLIBC_CONFIG_FILE},Thread debugging support)
|
||||
|
||||
#
|
||||
# Check that the Buildroot configuration of the ABI matches the
|
||||
|
||||
@@ -57,7 +57,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
|
||||
default "2.6.37.6" if BR2_KERNEL_HEADERS_2_6_37
|
||||
default "2.6.38.8" if BR2_KERNEL_HEADERS_2_6_38
|
||||
default "2.6.39.4" if BR2_KERNEL_HEADERS_2_6_39
|
||||
default "3.0.9" if BR2_KERNEL_HEADERS_3_0
|
||||
default "3.1.1" if BR2_KERNEL_HEADERS_3_1
|
||||
default "3.0.12" if BR2_KERNEL_HEADERS_3_0
|
||||
default "3.1.4" if BR2_KERNEL_HEADERS_3_1
|
||||
default "2.6" if BR2_KERNEL_HEADERS_SNAP
|
||||
default $BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||
|
||||
@@ -26,6 +26,14 @@ config BR2_INSTALL_LIBSTDCPP
|
||||
config BR2_TOOLCHAIN_HAS_THREADS
|
||||
bool
|
||||
|
||||
config BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
||||
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
|
||||
bool
|
||||
|
||||
config BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
|
||||
default y if !BR2_TOOLCHAIN_HAS_THREADS
|
||||
bool
|
||||
|
||||
config BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
|
||||
bool
|
||||
|
||||
|
||||
@@ -175,6 +175,7 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
|
||||
select BR2_INET_RPC
|
||||
select BR2_USE_WCHAR
|
||||
select BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
||||
select BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Sourcery CodeBench toolchain for the SuperH architecture,
|
||||
@@ -191,6 +192,7 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
|
||||
select BR2_INET_RPC
|
||||
select BR2_USE_WCHAR
|
||||
select BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
||||
select BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Sourcery CodeBench toolchain for the SuperH architecture,
|
||||
@@ -224,6 +226,7 @@ config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1
|
||||
select BR2_INET_RPC
|
||||
select BR2_USE_WCHAR
|
||||
select BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
||||
help
|
||||
Toolchain for the Blackfin architecture, from
|
||||
http://blackfin.uclinux.org.
|
||||
@@ -285,6 +288,7 @@ config BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
||||
select BR2_USE_WCHAR
|
||||
select BR2_ENABLE_LOCALE
|
||||
select BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
||||
select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
|
||||
@@ -361,6 +365,16 @@ config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
|
||||
support. If you don't know, leave the default value,
|
||||
Buildroot will tell you if it's correct or not.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
|
||||
bool "Toolchain has threads debugging support?"
|
||||
depends on BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
|
||||
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
||||
default y
|
||||
help
|
||||
Select this option if your external toolchain has thread
|
||||
debugging support. If you don't know, leave the default
|
||||
value, Buildroot will tell you if it's correct or not.
|
||||
|
||||
endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_CXX
|
||||
|
||||
@@ -63,8 +63,6 @@ index 6e520fa..f4a9ebb 100644
|
||||
|
||||
# ifdef __UCLIBC_HAS_THREADS__
|
||||
/* When using threads, errno is a per-thread value. */
|
||||
diff --git a/libc/sysdeps/linux/common/bits/uClibc_errno.h b/libc/sysdeps/linux/common/bits/uClibc_errno.h
|
||||
index 9c15618..79eb7e6 100644
|
||||
--
|
||||
1.7.1
|
||||
|
||||
|
||||
@@ -63,8 +63,6 @@ index 6e520fa..f4a9ebb 100644
|
||||
|
||||
# ifdef __UCLIBC_HAS_THREADS__
|
||||
/* When using threads, errno is a per-thread value. */
|
||||
diff --git a/libc/sysdeps/linux/common/bits/uClibc_errno.h b/libc/sysdeps/linux/common/bits/uClibc_errno.h
|
||||
index 9c15618..79eb7e6 100644
|
||||
--
|
||||
1.7.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user