Compare commits

..

39 Commits

Author SHA1 Message Date
Peter Korsgaard
615fd9b0f3 Update for 2013.05
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-31 22:29:04 +02:00
Peter Korsgaard
26b11df79c Update copyright info for 2013
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-31 22:24:52 +02:00
Peter Korsgaard
93252e70cb CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-31 22:19:00 +02:00
Patrick Ziegler
74ae7af927 ext-toolchain-wrapper: fix paths if executable was resolved by PATH
If ext-toolchain-wrapper or any symbolic link to it was resolved by PATH,
the wrapper takes the working directory to calculate the relative paths.

Now '/proc/self/exe' is used to resolve the absolute path to the toolchain
directory if the wrapper was called neither with a relative nor an absolute
path.

[Peter: fix off-by-one, swap value == var checks around]
Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-31 22:05:44 +02:00
Will Wagner
14470b3259 opengl: correct detection of virtual packages having no dependencies
I believe the original intent was to make it that the configure step
for the opengl virtual packages fails if there is not at least one
dependency. This patch fixes the logic so that it actually fails if
dependency list is empty

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-30 15:42:45 +02:00
Peter Korsgaard
7183fc0f3f Revert "pulseaudio : bump to version 3.0"
This reverts commit d3bde0a64e.

This wasn't supposed to be applied to master.
2013-05-30 15:33:01 +02:00
Markos Chandras
95e54f65a2 libplayer: Remove unsupported QUIET variable
Fixes the following compilation problem when building with 'make -s'

Unknown option "-q".
See ./configure --help for available options.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-30 13:11:42 +02:00
Jeremy Rosen
d3bde0a64e pulseaudio : bump to version 3.0
Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-29 21:44:27 +02:00
Jeremy Rosen
46da491ecd kmod : protect against architectures without __NR_finit_module
This bug caused udev to fail to load any module, crashing with Illegal
instruction.

The patch was taken from upstream and should be integrated in the next
version of kmod (version 14)

Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-29 21:29:04 +02:00
Thomas Petazzoni
8762110c46 qt5jsbackend: only available on ARM, x86, x86-64 and mipsel
The v8 Javascript virtual machine that is the core of qt5jsbackend is
only available on certain architectures. At the moment, only ARM, x86,
x86-64 and mipsel are supported.

Fixes:

  http://autobuild.buildroot.org/results/a2e/a2e62e2deaa28ec9d4d957523a00ee0b7a634950/build-end.log

[Peter: also add dependency for qt5graphicaleffects]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-29 21:28:15 +02:00
Thomas Petazzoni
c5f9a4fb91 libtirpc: prevent selection when ADI Blackfin external toolchains are used
libtirpc fails to build with the Blackfin external toolchains provided
by Analog Devices, because their uClibc configuration doesn't include
AI_ADDRCONFIG. In order to prevent such build failures to happen, we
simply prevent libtirpc from being selected when such toolchains are
used. This is not a big problem, since they provide native RPC
support.

Also, since they provide native RPC, we don't have to propagate this
new dependency to the reverse dependencies of libtirpc, because they
all use native RPC when available. The exception to this rule is the
rpcbind package, which can only use the libtirpc implementation of
RPCs, and not the native one of C libraries. Therefore, the dependency
is propagated to the rpcbind package.

Fixes:

  http://autobuild.buildroot.org/results/58b/58b16449065c16afce11ba120db56839efb2b1ea/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-29 21:22:12 +02:00
Thomas Petazzoni
200b2dfa6d czmq: prevent selection when ADI Blackfin external toolchains are used
czmq fails to build with the Blackfin external toolchains provided by
Analog Devices, because their uClibc configuration doesn't include
AI_ADDRCONFIG. In order to prevent such build failures to happen, we
simply prevent the selection of czmq or one of its reverse
dependencies when such toolchains are used.

This fixes:

  http://autobuild.buildroot.org/results/821/82140fac4c2a2cef3f38f06cada8f17fd7f0078b/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-29 21:20:33 +02:00
Maxime Ripard
3ebb2e8084 at91bootstrap: Disable parallel build
The at91bootstrap build sometimes fail when doing parallel builds.
Build it without parallel build.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-29 11:15:34 +02:00
Yann E. MORIN
60474dcec6 fs/ext2: further fix to the UUID
Turned out that setting a nil-UUID is no better than clearing it.

What currently happens is as follows:
  - first, genext2fs does not generate a UUID
  - then we tune2fs to upgrade the filesystem
  - then we run fsck, which generates a random UUID
  - then we re-run tune2fs to set a nil-UUID

So, on the target, if the file system is improperly unmounted (eg.
with a power failure), on next boot, fsck may be run, and a new
random UUID will be generated.

*However*, fsck improperly updates the filesystem when it adds the
UUID, and there are a few group descriptor checksum errors.

Those errors will go undetected until the next fsck, which will then
block for user input (bad on embedded systems, bad).

Fix that by systematically generating a random UUID _before_ we call
to fsck.

A random UUID is not so bad, after all, since there are already so
many sources of unpredictability in the filesystem: files date and
ordering, files content (date, paths...) which renders a fixed UUID
unneeded.

And it is still possible to set the UUID in a post-image script if
needed, anyway.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-29 00:18:37 +02:00
Gustavo Zacarias
5b591b4052 linux: bump 3.9.x stable version
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 23:47:52 +02:00
Gustavo Zacarias
fb1419bedd kernel-headers: bump 3.{0, 4, 9}.x stable version
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 23:47:29 +02:00
Thomas Petazzoni
c0d30d4c94 flex: propagate m4 dependency on wchar
Commit fe6a9e5e9d missed the fact that
m4 has a dependency on wide char support, so this dependency should be
propagated to flex.

Fixes:

  http://autobuild.buildroot.org/results/495/49502b2e33a346b2fcebf5e2da00af2661b54d6e/build-end.log

[Peter: Note where wchar dep comes from, show comment if not available]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 23:39:55 +02:00
Thomas Petazzoni
eb71e79f41 libv4l: needs thread support
Fixes:

  http://autobuild.buildroot.org/results/c74/c741ca445a63ce9ab8b0e5b87f3126d7b6051009/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 23:35:19 +02:00
Thomas Petazzoni
3d96dc1a67 acpid: fix obvious syntax error in addprefix call
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 23:33:07 +02:00
Thomas Petazzoni
a3029189aa wvstreams: need largefile support
Fixes:

  http://autobuild.buildroot.org/results/bc4/bc4c617a5d7740b6eedcfc0dd24aeed5bc888f6d/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 23:32:25 +02:00
Peter Korsgaard
0d8d884e5d Revert "sqlite: bump to version 3.7.17"
This reverts commit ddddef3e6e.

This was supposed to have been for next, not 2013.05.
2013-05-28 23:28:45 +02:00
Peter Korsgaard
b85f5e8b45 Revert "mpg123: bump to version 1.15.4"
This reverts commit 609aa4156a.

This was supposed to have been for next, not 2013.05.
2013-05-28 23:28:25 +02:00
Peter Korsgaard
d2d64f88f5 Revert "gmp: bump to version 5.1.2"
This reverts commit 78927d3f92.

This was supposed to have been for next, not 2013.05.
2013-05-28 23:27:37 +02:00
Thomas Petazzoni
c95ba8a487 lttng-babeltrace: fix build failure on gcc14
The gcc14 machine has a moderately old host gcc, which was causing a
recurrent build failure of host-lttng-babeltrace:

 http://autobuild.buildroot.org/results/492/49216052c161874f41738e41e6e0c89a6dd04000/build-end.log

This commit adds a patch to fix this build failure, related to the
access of the ULLONG_MAX define on compilers that did not default to
the C99 variant of the C language.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 20:47:29 +02:00
Jerzy Grzegorek
9428d10362 barebox: bump to version 2013.05.1
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 20:46:51 +02:00
Gustavo Zacarias
ddddef3e6e sqlite: bump to version 3.7.17
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 14:59:12 +02:00
Gustavo Zacarias
609aa4156a mpg123: bump to version 1.15.4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 14:59:07 +02:00
Gustavo Zacarias
78927d3f92 gmp: bump to version 5.1.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 14:59:04 +02:00
Markos Chandras
2c3b24797a jamvm: Not available for all architectures
jamvm supports arm, armeb, powerpc, i386, x86_64 and mipsel.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 14:13:28 +02:00
Thomas Petazzoni
240843cce3 flex: fix autobuilder failures
Since fe6a9e5e9d (flex: needs M4 at runtime), the autobuilders have
been producing a number of flex related build failures. They have been
hard to track down, because even on the same machine, with the same
Git commit ID and the same configuration, the failure could not be
reproduced.

However, a close inspection of flex's config.log file allowed to find
out what the problem was. In its configure script, flex uses the
host-flex to generate a minimal example, and find out the name of the
output file of flex.

When the M4 environment is passed when building the target flex, it
also affects the *execution* of the host-flex, which tries to use
/usr/bin/m4 (which doesn't exist in the autobuilder machines) instead
of the one built in $(HOST_DIR)/usr/bin/m4. So generating the minimal
example fails. And this is where what I could reproduce and what the
autobuilders script produce differ: in my case, even though host-flex
fails to run, it creates an empty lex.yy.c, which is enough to make
the configure script happy. In the context of the autobuild scripts,
this file is apparently not created at all, for an unknown reason, and
this leads to the configure script to abort.

The fix is to set ac_cv_path_M4. This will affect the default m4 used
by the target flex, but it will not affect the m4 used by the
host-flex. It allows the test made during the configure script to work
properly, and therefore should fix the issue seen in the autobuilders.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 13:17:17 +02:00
Yann E. MORIN
a9825c06b8 fs/ext2: explicitly set a NULL UUID
"tune2fs -U clear" creates an invalid filesystem, that fsck.ext2
whines about later:

    $ make rootfs-ext2
    [--SNIP--]

    $ ./host/usr/sbin/fsck.ext4 images/rootfs.ext2
    e2fsck 1.42.7 (21-Jan-2013)
    Filesystem did not have a UUID; generating one.
    images/rootfs.ext2: clean, 4616/5120 files, 53171/131072 blocks

    $ ./host/usr/sbin/fsck.ext4 -f images/rootfs.ext2
    e2fsck 1.42.7 (21-Jan-2013)
    One or more block group descriptor checksums are invalid.  Fix<y>? yes
    Group descriptor 0 checksum is 0x4131, should be 0x8bdb.  FIXED.
    [--SNIP--]

So we set an explicitly NULL UUID instead.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 12:38:30 +02:00
Peter Korsgaard
0ca9692dde CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-27 23:59:09 +02:00
Thomas Petazzoni
32a5968999 Remove useless CVS related files
Fixes bug #5912.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-27 23:59:09 +02:00
Thomas Petazzoni
fe6a9e5e9d flex: needs M4 at runtime
For proper runtime execution, flex requires m4 to be
installed. Passing a M4 variable at configure time is needed,
otherwise flex on the target will try to use a 'm4' binary with a
build machine path.

Fixes bug #4988.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-27 23:51:38 +02:00
Sonic Zhang
f8a9c13252 toolchain: blackfin: Remove Blackfin toolchain 2011R1 release.
ADI officially supports the buildroot and related GNU toolchain for
Blackfin since ADI's 2012R1 release only. In order to avoid confusion,
it is better to remove the 2011R1 GNU toolchain for Blackfin. In
addition, the 2011R1 GNU toolchain for Blackfin doesn't support the
BF60x processors.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-27 23:51:31 +02:00
Thomas Petazzoni
517de29c52 gcc: fix gcc 4.8 build when thread support is disabled
When thread support is disabled, the libitm and libatomic libraries
from gcc should be disabled, otherwise, the build of gcc fails.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-27 23:51:05 +02:00
Thomas Petazzoni
85e3090a92 elf2flt: fix build when zlib is not installed on the host
For a reason that's fairly unclear to me, Peter added a '-lz' link
flag to the elf2flt.mk build in d5664ee99 ("elf2flt: fix link").

However, the zlib library may not necessarily be installed on the host
machine, so we should depend on host-zlib, and pass the appropriate
LDFLAGS. This is what this patch does.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-27 23:50:54 +02:00
Peter Korsgaard
0170b420c4 udpcast: needs threads support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-26 21:00:40 +02:00
Baruch Siach
1e7f40ebb5 Revert "dependencies: check that SSL certificates are installed"
This reverts commit d66cd067f3.

SSL certificates are no always installed in /etc/ssl/certs. For example, on
CentOS 5.6 the default OpenSSL certificates directory is /etc/pki/tls/certs,
and wget can download using https without any problem.

Moreover, the existence of /etc/ssl/certs does not guarantee the presence of a
CA certificates bundle even on Debian. On my current Debian testing
installation the openssl package itself creates an empty /etc/ssl/certs
directory.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-26 11:14:00 +02:00
50 changed files with 207 additions and 103 deletions

17
CHANGES
View File

@@ -1,3 +1,20 @@
2013.05, Released May 31th, 2013:
Minor fixes.
External toolchain wrapper fix for if host/usr/bin is placed
in the patch.
Updated/fixed packages: acpid, at91bootstrap, czmq, elf2flt,
flex, jamvm, kmod, libplayer, libtirpc, libv4,
lttng-babeltrace, opengl, qt5jsbackend, udpcast, wvstreams
Issues resolved (http://bugs.uclibc.org):
#4868: Buildroot compile failure for toolchain/gdb-7.4/intl/reloc...
#4988: flex and m4 problems
#5912: obsolete CVS files
2013.05-rc3, Released May 25th, 2013:
Minor fixes.

View File

@@ -1,7 +1,7 @@
# Makefile for buildroot2
#
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
# Copyright (C) 2006-2012 by the Buildroot developers <buildroot@uclibc.org>
# Copyright (C) 2006-2013 by the Buildroot developers <buildroot@uclibc.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -24,7 +24,7 @@
#--------------------------------------------------------------
# Set and export the version string
export BR2_VERSION:=2013.05-rc3
export BR2_VERSION:=2013.05
# Check for minimal make version (note: this check will break at make 10.x)
MIN_MAKE_VERSION=3.81

View File

@@ -31,7 +31,7 @@ AT91BOOTSTRAP_POST_PATCH_HOOKS += AT91BOOTSTRAP_APPLY_CUSTOM_PATCHES
endif
define AT91BOOTSTRAP_BUILD_CMDS
$(MAKE) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR)
$(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR)
endef
define AT91BOOTSTRAP_INSTALL_IMAGES_CMDS

View File

@@ -12,7 +12,7 @@ choice
Select the specific Barebox version you want to use
config BR2_TARGET_BAREBOX_LATEST_VERSION
bool "2013.05.0"
bool "2013.05.1"
config BR2_TARGET_BAREBOX_CUSTOM_VERSION
bool "Custom version"
@@ -40,7 +40,7 @@ endif
config BR2_TARGET_BAREBOX_VERSION
string
default "2013.05.0" if BR2_TARGET_BAREBOX_LATEST_VERSION
default "2013.05.1" if BR2_TARGET_BAREBOX_LATEST_VERSION
default $BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION
default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL
default $BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT

View File

@@ -1,6 +1,6 @@
The code and graphics on this website (and it's mirror sites, if any) are
Copyright (c) 1999-2005 by Erik Andersen, 2006-2012 The Buildroot
Copyright (c) 1999-2005 by Erik Andersen, 2006-2013 The Buildroot
developers. All rights reserved.
Documents on this Web site including their graphical elements, design, and

View File

@@ -6,14 +6,15 @@
<p>
The latest stable release is <b>2013.02</b>, which can be downloaded
The latest stable release is <b>2013.05</b>, which can be downloaded
here:<p>
<a href="/downloads/buildroot-2013.02.tar.gz">buildroot-2013.02.tar.gz</a>
<a href="/downloads/buildroot-2013.05.tar.gz">buildroot-2013.05.tar.gz</a>
or
<a href="/downloads/buildroot-2013.02.tar.bz2">buildroot-2013.02.tar.bz2</a>.
<a href="/downloads/buildroot-2013.05.tar.bz2">buildroot-2013.05.tar.bz2</a>.
<p>
<!--
The latest release candidate is <b>2013.05-rc3</b>, which can be
downloaded here:<p>
@@ -21,7 +22,7 @@ downloaded here:<p>
or
<a href="/downloads/buildroot-2013.05-rc3.tar.bz2">buildroot-2013.05-rc3.tar.bz2</a>.
<p>
-->
This and earlier releases can always be downloaded from
<a href="/downloads/">http://buildroot.net/downloads/</a>.

View File

@@ -10,7 +10,7 @@
<p>
<font face="arial, helvetica, sans-serif" size="-1">
<a HREF="/copyright.txt">Copyright &copy; 1999-2005 Erik Andersen,
2006-2012 The Buildroot developers</a>
2006-2013 The Buildroot developers</a>
<br>
Mail all comments, insults, suggestions and bribes to
<br>

View File

@@ -5,6 +5,15 @@
<p>
<ul>
<li><b>31 May 2013 -- 2013.05 released</b>
<p>The stable 2013.05 release is out - Thanks to everyone
contributing and testing the release candidates. See the
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2013.05">CHANGES</a>
file for more details
and go to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2013.05.tar.bz2">2013.05 release</a>.</p>
<li><b>25 May 2013 -- 2013.05-rc3 released</b>
<p>Another week, another release candidate with more cleanups and

View File

@@ -49,6 +49,14 @@ e2tunefsck() {
tune2fs "$@" "${IMG}"
fi
# genext2fs does not generate a UUID, but fsck will whine if one is
# is missing, so we need to add a UUID.
# Of course, this has to happend _before_ we run fsck.
# Although a random UUID may seem bad for reproducibility, there
# already are so many things that are not reproducible in a
# filesystem: file dates, file ordering, content of the files...
tune2fs -U random "${IMG}"
# After changing filesystem options, running fsck is required
# (see: man tune2fs). Running e2fsck in other cases will ensure
# coherency of the filesystem, although it is not required.
@@ -69,12 +77,10 @@ e2tunefsck() {
printf "\ne2fsck was successfully run on '%s' (ext%d)\n\n" \
"${IMG##*/}" "${GEN}"
# e2fsck will force a *random* UUID, which is bad
# for reproducibility, so we do not want it.
# Remove count- and time-based checks, they are not welcome
# on embedded devices, where they can cause serious boot-time
# issues by tremendously slowing down the boot.
tune2fs -U clear -c 0 -i 0 "${IMG}"
tune2fs -c 0 -i 0 "${IMG}"
}
# Check we know what generation to generate

View File

@@ -21,7 +21,7 @@ choice
prompt "Kernel version"
config BR2_LINUX_KERNEL_LATEST_VERSION
bool "3.9.2"
bool "3.9.4"
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
bool "Same as toolchain kernel headers"
@@ -76,7 +76,7 @@ config BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION
config BR2_LINUX_KERNEL_VERSION
string
default "3.9.2" if BR2_LINUX_KERNEL_LATEST_VERSION
default "3.9.4" 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

View File

@@ -26,7 +26,7 @@ endef
define ACPID_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/sbin/acpid
rm -f $(TARGET_DIR)/usr/bin/acpi_listen
rm -f $(addprefix )$(TARGET_DIR)/usr/share/man/man8/,acpid.8 acpi_listen.8)
rm -f $(addprefix $(TARGET_DIR)/usr/share/man/man8/,acpid.8 acpi_listen.8)
endef
define ACPID_CLEAN_CMDS

View File

@@ -6,6 +6,10 @@ config BR2_PACKAGE_CZMQ
depends on BR2_LARGEFILE # util-linux
depends on BR2_USE_WCHAR # util-linux
depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
# uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
# support
depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
help
High-level C Binding for 0MQ

View File

@@ -8,6 +8,10 @@ config BR2_PACKAGE_FILEMQ
depends on BR2_LARGEFILE # util-linux
depends on BR2_USE_WCHAR # util-linux
depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
# uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
# support, which is needed by czmq
depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
help
FileMQ is a publish-subscribe file service based on 0MQ.

View File

@@ -12,5 +12,11 @@ config BR2_PACKAGE_FLEX_BINARY
# needs fork()
depends on BR2_USE_MMU
depends on BR2_PACKAGE_FLEX
# runtime dependency
select BR2_PACKAGE_M4
depends on BR2_USE_WCHAR # m4
help
Install the flex binary tool in the target filesystem.
comment "flex binary requires a toolchain with WCHAR support"
depends on !BR2_USE_WCHAR

View File

@@ -11,6 +11,7 @@ FLEX_LICENSE = FLEX
FLEX_LICENSE_FILES = COPYING
FLEX_DEPENDENCIES = \
$(if $(BR2_PACKAGE_GETTEXT_IF_LOCALE),gettext) host-m4
FLEX_CONF_ENV = ac_cv_path_M4=/usr/bin/m4
# we don't have a host-gettext/libintl
HOST_FLEX_DEPENDENCIES = host-m4

View File

@@ -1,6 +1,8 @@
config BR2_PACKAGE_JAMVM
bool "jamvm"
depends on BR2_INET_IPV6
depends on BR2_arm || BR2_armeb || BR2_i386 \
|| BR2_mipsel || BR2_powerpc || BR2_x86_64
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_CLASSPATH
help

View File

@@ -0,0 +1,31 @@
From 5eac795b8b067842caec32f96d55a7554c3c67f9 Mon Sep 17 00:00:00 2001
From: Jan Luebbe <jlu@pengutronix.de>
Date: Thu, 02 May 2013 14:47:12 +0000
Subject: libkmod: Avoid calling syscall() with -1
At least in qemu 1.4.1 for vexpress/arm-cortexa9, this resulted in an
illegal instruction error. Solve that by returning an error when
__NR_finit_module is -1.
---
diff --git a/libkmod/missing.h b/libkmod/missing.h
index edb88b9..b45bbe2 100644
--- a/libkmod/missing.h
+++ b/libkmod/missing.h
@@ -20,8 +20,15 @@
#endif
#ifndef HAVE_FINIT_MODULE
+#include <errno.h>
+
static inline int finit_module(int fd, const char *uargs, int flags)
{
+ if (__NR_finit_module == -1) {
+ errno = ENOSYS;
+ return -1;
+ }
+
return syscall(__NR_finit_module, fd, uargs, flags);
}
#endif
--
cgit v0.9.2

View File

@@ -18,7 +18,7 @@ define LIBPLAYER_CONFIGURE_CMDS
--prefix=/usr \
--cross-compile \
$(SHARED_STATIC_LIBS_OPTS) \
$(QUIET) $(LIBPLAYER_CONF_OPT) \
$(LIBPLAYER_CONF_OPT) \
)
endef

View File

@@ -1,5 +1,12 @@
config BR2_PACKAGE_LIBTIRPC
bool "libtirpc"
# uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
# support. Note that since they provide native RPC support, we
# don't need to propagate this dependency to reverse
# dependencies of libtirpc for which native RPC support can be
# used instead of libtirpc.
depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
help
Libtirpc is a port of Sun's Transport-Independent RPC
library to Linux.

View File

@@ -1,6 +1,7 @@
config BR2_PACKAGE_LIBV4L
bool "libv4l"
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_JPEG
help
libv4l is an accompanying collection of libraries that adds a thin
@@ -58,5 +59,5 @@ comment "v4l2-dbg requires a toolchain with C++ support enabled"
endif
comment "libv4l requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE
comment "libv4l requires a toolchain with LARGEFILE and thread support"
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,27 @@
Support old compilers
Some old compilers do not use C99 as their default C language variant,
for example gcc 4.3.x, which is used on some old machines. When such a
compiler is used, by default, ULLONG_MAX is not visible. Adding
-std=gnu99 is needed to make this definition visible.
In autoconf speak, this translates into the need of using
AC_PROC_CC_STDC instead of AC_PROG_CC. See
http://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/C-Compiler.html
for more details.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Index: b/configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@
AC_SYS_LARGEFILE
# Checks for programs.
-AC_PROG_CC
+AC_PROG_CC_STDC
AC_PROG_MAKE_SET
LT_INIT
AC_PROG_YACC

View File

@@ -4,5 +4,9 @@ LTTNG_BABELTRACE_SOURCE = babeltrace-$(LTTNG_BABELTRACE_VERSION).tar.bz2
LTTNG_BABELTRACE_DEPENDENCIES = popt util-linux libglib2
# One patch touches configure.ac
LTTNG_BABELTRACE_AUTORECONF = YES
HOST_LTTNG_BABELTRACE_AUTORECONF = YES
$(eval $(autotools-package))
$(eval $(host-autotools-package))

View File

@@ -182,12 +182,13 @@ config BR2_PACKAGE_OPENCV_WITH_TIFF
config BR2_PACKAGE_OPENCV_WITH_V4L
bool "v4l support"
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_LIBV4L
help
Enable Video 4 Linux support.
comment "v4l support requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE
comment "v4l support requires a toolchain with LARGEFILE and thread support"
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
comment "Install options"

View File

@@ -10,7 +10,7 @@ ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
LIBEGL_DEPENDENCIES += rpi-userland
endif
ifeq ($(LIBEGL_DEPENDENCIES),y)
ifeq ($(LIBEGL_DEPENDENCIES),)
define LIBEGL_CONFIGURE_CMDS
echo "No libEGL implementation selected. Configuration error."
exit 1

View File

@@ -10,7 +10,7 @@ ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
LIBGLES_DEPENDENCIES += rpi-userland
endif
ifeq ($(LIBGLES_DEPENDENCIES),y)
ifeq ($(LIBGLES_DEPENDENCIES),)
define LIBGLES_CONFIGURE_CMDS
echo "No libGLES implementation selected. Configuration error."
exit 1

View File

@@ -10,7 +10,7 @@ ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
LIBOPENVG_DEPENDENCIES += rpi-userland
endif
ifeq ($(LIBOPENVG_DEPENDENCIES),y)
ifeq ($(LIBOPENVG_DEPENDENCIES),)
define LIBOPENVG_CONFIGURE_CMDS
echo "No libOpenVG implementation selected. Configuration error."
exit 1

View File

@@ -6,6 +6,7 @@ config BR2_PACKAGE_QT5DECLARATIVE
select BR2_PACKAGE_QT5BASE_EGLFS
depends on BR2_PACKAGE_HAS_OPENGL_EGL
depends on BR2_PACKAGE_HAS_OPENGL_ES
depends on BR2_PACKAGE_QT5JSBACKEND_AVAILABLE
help
Qt is a cross-platform application and UI framework for
developers using C++.
@@ -15,4 +16,5 @@ config BR2_PACKAGE_QT5DECLARATIVE
http://qt-project.org
comment "qt5declarative requires an OpenGL-capable backend"
depends on !BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES
depends on (!BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES) && \
BR2_PACKAGE_QT5JSBACKEND_AVAILABLE

View File

@@ -2,6 +2,8 @@ config BR2_PACKAGE_QT5GRAPHICALEFFECTS
bool "qt5graphicaleffects"
select BR2_PACKAGE_QT5BASE
select BR2_PACKAGE_QT5DECLARATIVE
# qt5declarative -> qt5jsbackend
depends on BR2_PACKAGE_QT5JSBACKEND_AVAILABLE
depends on BR2_PACKAGE_HAS_OPENGL_EGL
depends on BR2_PACKAGE_HAS_OPENGL_ES
help
@@ -13,4 +15,5 @@ config BR2_PACKAGE_QT5GRAPHICALEFFECTS
http://qt-project.org
comment "qt5graphicaleffects requires an OpenGL-capable backend"
depends on !BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES
depends on (!BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES) && \
BR2_PACKAGE_QT5JSBACKEND_AVAILABLE

View File

@@ -1,6 +1,13 @@
config BR2_PACKAGE_QT5JSBACKEND_AVAILABLE
bool
# v8 is only available on certain architectures
depends on BR2_arm || BR2_i386 || BR2_x86_64 || BR2_mipsel
default y
config BR2_PACKAGE_QT5JSBACKEND
bool "qt5jsbackend"
select BR2_PACKAGE_QT5BASE
depends on BR2_PACKAGE_QT5JSBACKEND_AVAILABLE
help
Qt is a cross-platform application and UI framework for
developers using C++.

View File

@@ -4,6 +4,8 @@ config BR2_PACKAGE_QT5MULTIMEDIA
select BR2_PACKAGE_QT5DECLARATIVE
depends on BR2_PACKAGE_HAS_OPENGL_EGL
depends on BR2_PACKAGE_HAS_OPENGL_ES
# qt5declarative -> qt5jsbackend
depends on BR2_PACKAGE_QT5JSBACKEND_AVAILABLE
help
Qt is a cross-platform application and UI framework for
developers using C++.
@@ -13,4 +15,5 @@ config BR2_PACKAGE_QT5MULTIMEDIA
http://qt-project.org
comment "qt5multimedia requires an OpenGL-capable backend"
depends on !BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES
depends on (!BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES) && \
BR2_PACKAGE_QT5JSBACKEND_AVAILABLE

View File

@@ -10,6 +10,7 @@ config BR2_PACKAGE_QT5QUICK1
depends on !BR2_PREFER_STATIC_LIB
depends on BR2_PACKAGE_HAS_OPENGL_EGL
depends on BR2_PACKAGE_HAS_OPENGL_ES
depends on BR2_PACKAGE_QT5JSBACKEND_AVAILABLE
help
Qt is a cross-platform application and UI framework for
developers using C++.
@@ -19,4 +20,5 @@ config BR2_PACKAGE_QT5QUICK1
http://qt-project.org
comment "qt5quick1 requires an OpenGL-capable backend"
depends on !BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES
depends on (!BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES) && \
BR2_PACKAGE_QT5JSBACKEND_AVAILABLE

View File

@@ -3,6 +3,10 @@ config BR2_PACKAGE_RPCBIND
# We really need libtirpc and can't work with the native RPC
# implementation of toolchains.
select BR2_PACKAGE_LIBTIRPC
# uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
# support, needed for libtirpc
depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
help
The rpcbind utility is a server that converts RPC program numbers
into universal addresses.

View File

@@ -1,14 +1,15 @@
config BR2_PACKAGE_UDPCAST
bool "udpcast"
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS
help
A multicast protocol implementation which happens to
be very handy for imaging drives over the network.
http://www.udpcast.linux.lu/
comment "udpcast requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE
comment "udpcast requires a toolchain with LARGEFILE and threads support"
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
menu "udpcast tools selection"
depends on BR2_PACKAGE_UDPCAST

View File

@@ -1,9 +1,13 @@
config BR2_PACKAGE_WVDIAL
bool "wvdial"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_LARGEFILE
depends on BR2_USE_MMU # wvstreams
select BR2_PACKAGE_WVSTREAMS
help
wvdial is an intelligent Point-to-Point Protocol dialer
http://wvdial.googlecode.com/
comment "wvdial requires a toolchain with C++ and largefile support enabled"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE

View File

@@ -1,6 +1,7 @@
config BR2_PACKAGE_WVSTREAMS
bool "wvstreams"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_LARGEFILE
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_ZLIB
@@ -9,5 +10,5 @@ config BR2_PACKAGE_WVSTREAMS
http://wvstreams.googlecode.com/
comment "wvstreams requires a toolchain with C++ support enabled"
depends on !BR2_INSTALL_LIBSTDCPP
comment "wvstreams requires a toolchain with C++ and largefile support enabled"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE

View File

@@ -5,6 +5,10 @@ config BR2_PACKAGE_ZYRE
depends on BR2_LARGEFILE # filemq
depends on BR2_USE_WCHAR # filemq
depends on BR2_TOOLCHAIN_HAS_THREADS # filemq
# uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
# support, needed by filemq -> czmq
depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
select BR2_PACKAGE_FILEMQ
help
An open-source framework for proximity-based peer-to-peer

View File

@@ -200,12 +200,3 @@ if ! perl -e "require Data::Dumper" > /dev/null 2>&1 ; then
/bin/echo -e "On Debian/Ubuntu distributions, install the 'perl' package."
exit 1
fi
# Check that we have the SSL certificates to make https:// downloads
# work.
if ! test -d /etc/ssl/certs; then
/bin/echo -e "Your system lacks Common CA certificates for SSL."
/bin/echo -e "This prevents https:// downloads from succeeding."
/bin/echo -e "On Debian/Ubuntu distributions, install 'ca-certificates' package."
exit 1
fi

View File

@@ -1,5 +0,0 @@
.cvsignore
README.buildroot
gnuconfig.mk
patches
.svn

View File

@@ -19,7 +19,7 @@ $(ELF2FLT_DIR)/.patched: $(ELF2FLT_DIR)/.unpacked
$(ELF2FLT_DIR)/.configured: $(ELF2FLT_DIR)/.patched
(cd $(ELF2FLT_DIR); rm -rf config.cache; \
LDFLAGS=-lz \
LDFLAGS="$(HOST_LDFLAGS) -lz" \
$(ELF2FLT_DIR)/configure $(QUIET) \
--with-bfd-include-dir=$(HOST_BINUTILS_DIR)/bfd/ \
--with-binutils-include-dir=$(HOST_BINUTILS_DIR)/include/ \
@@ -33,7 +33,7 @@ $(ELF2FLT_DIR)/$(ELF2FLT_BINARY): $(ELF2FLT_DIR)/.configured
$(MAKE) -C $(ELF2FLT_DIR) all
$(MAKE) -C $(ELF2FLT_DIR) install
elf2flt: uclibc_target uclibc-configured binutils gcc $(ELF2FLT_DIR)/$(ELF2FLT_BINARY)
elf2flt: uclibc_target uclibc-configured binutils gcc host-zlib $(ELF2FLT_DIR)/$(ELF2FLT_BINARY)
elf2flt-clean:
rm -rf $(ELF2FLT_SOURCE)

View File

@@ -1,3 +0,0 @@
.cvsignore
.svn
maketarball.sh

View File

@@ -1,17 +0,0 @@
/LICENSE.TXT/1.1/Tue Jan 10 04:34:09 2006//
/README/1.5/Tue Jan 10 04:34:09 2006/-ko/
/config.guess/1.2/Tue Jan 10 04:34:08 2006/-ko/
/e1-elf2flt.ld/1.1/Tue Jan 10 04:34:09 2006//
/flat.h/1.6/Tue Jan 10 04:34:08 2006/-ko/
/install-sh/1.1.1.1/Tue Jan 10 04:34:08 2006/-ko/
/stubs.c/1.1/Tue Jan 10 04:34:08 2006//
/config.sub/1.8/Wed Jan 11 13:36:39 2006/-ko/
/cygwin-elf.h/1.4/Wed Jan 11 13:36:39 2006//
/Makefile.in/1.17/Result of merge/-ko/
/configure/1.12/Sun Jan 28 05:27:28 2007/-ko/
/configure.in/1.10/Sun Jan 28 05:27:28 2007/-ko/
/elf2flt.c/1.46/Result of merge/-ko/
/elf2flt.ld/1.15/Sun Jan 28 05:27:28 2007/-ko/
/flthdr.c/1.10/Sun Jan 28 05:27:28 2007/-ko/
/ld-elf2flt.in/1.15/Sun Jan 28 05:27:28 2007//
D

View File

@@ -1 +0,0 @@
elf2flt

View File

@@ -1 +0,0 @@
:pserver:anonymous@cvs.uclinux.org:/var/cvs

View File

@@ -203,7 +203,7 @@ GCC_TLS:=--disable-tls
endif
ifeq ($(BR2_PTHREADS_NONE),y)
THREADS:=--disable-threads
THREADS:=--disable-threads --disable-libitm --disable-libatomic
else
THREADS:=--enable-threads
endif

View File

@@ -70,15 +70,15 @@ config BR2_DEFAULT_KERNEL_VERSION
config BR2_DEFAULT_KERNEL_HEADERS
string
default "3.0.78" if BR2_KERNEL_HEADERS_3_0
default "3.0.80" if BR2_KERNEL_HEADERS_3_0
default "3.1.10" if BR2_KERNEL_HEADERS_3_1
default "3.2.44" if BR2_KERNEL_HEADERS_3_2
default "3.3.8" if BR2_KERNEL_HEADERS_3_3
default "3.4.45" if BR2_KERNEL_HEADERS_3_4
default "3.4.47" 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.2" if BR2_KERNEL_HEADERS_3_9
default "3.9.4" if BR2_KERNEL_HEADERS_3_9
default "2.6" if BR2_KERNEL_HEADERS_SNAP
default $BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION

View File

@@ -614,23 +614,6 @@ config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
Toolchain for the Blackfin architecture, from
http://blackfin.uclinux.org.
config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1
bool "Blackfin.uclinux.org 2011R1-RC4"
depends on BR2_bfin
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
select BR2_INSTALL_LIBSTDCPP
select BR2_LARGEFILE
select BR2_INET_IPV6
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
select BR2_USE_WCHAR
select BR2_TOOLCHAIN_HAS_THREADS
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
select BR2_HOSTARCH_NEEDS_IA32_LIBS
help
Toolchain for the Blackfin architecture, from
http://blackfin.uclinux.org.
config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
bool "Xilinx Little Endian Microblaze GNU Tools"
depends on BR2_microblazeel
@@ -784,8 +767,6 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1 && BR2_BINFMT_FLAT
default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1 && BR2_BINFMT_FDPIC
default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && BR2_BINFMT_FLAT
default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && BR2_BINFMT_FDPIC
default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FLAT

View File

@@ -248,12 +248,6 @@ TOOLCHAIN_EXTERNAL_SOURCE=ia32-2012.03-27-i686-pc-linux-gnu-i386-linux.tar.bz2
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209),y)
TOOLCHAIN_EXTERNAL_SITE=https://sourcery.mentor.com/public/gnu_toolchain/i686-pc-linux-gnu/
TOOLCHAIN_EXTERNAL_SOURCE=ia32-2012.09-62-i686-pc-linux-gnu-i386-linux.tar.bz2
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1),y)
TOOLCHAIN_EXTERNAL_SITE_1 = http://blackfin.uclinux.org/gf/download/frsrelease/531/9509/
TOOLCHAIN_EXTERNAL_SOURCE_1 = blackfin-toolchain-2011R1-RC4.i386.tar.bz2
TOOLCHAIN_EXTERNAL_SITE_2 = http://blackfin.uclinux.org/gf/download/frsrelease/531/9517/
TOOLCHAIN_EXTERNAL_SOURCE_2 = blackfin-toolchain-uclibc-full-2011R1-RC4.i386.tar.bz2
TOOLCHAIN_EXTERNAL_SOURCE = $(TOOLCHAIN_EXTERNAL_SOURCE_1) $(TOOLCHAIN_EXTERNAL_SOURCE_2)
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1),y)
TOOLCHAIN_EXTERNAL_SITE_1 = http://blackfin.uclinux.org/gf/download/frsrelease/559/9858/
TOOLCHAIN_EXTERNAL_SOURCE_1 = blackfin-toolchain-2012R1-RC2.i386.tar.bz2
@@ -305,7 +299,7 @@ endif
# contain ./opt/uClinux/{bfin-uclinux,bfin-linux-uclibc} directories,
# which themselves contain the toolchain. This is why we strip more
# components than usual.
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1)$(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1)$(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2),y)
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1)$(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2),y)
$(DL_DIR)/$(TOOLCHAIN_EXTERNAL_SOURCE_1):
$(call DOWNLOAD,$(TOOLCHAIN_EXTERNAL_SITE_1:/=:/=)/$(TOOLCHAIN_EXTERNAL_SOURCE_1))

View File

@@ -61,7 +61,7 @@ int main(int argc, char **argv)
char *relbasedir, *absbasedir;
char *progpath = argv[0];
char *basename;
int ret;
int ret, i, count = 0;
/* Calculate the relative paths */
basename = strrchr(progpath, '/');
@@ -77,7 +77,20 @@ int main(int argc, char **argv)
absbasedir = realpath(relbasedir, NULL);
} else {
basename = progpath;
absbasedir = realpath("../..", NULL);
absbasedir = malloc(PATH_MAX + 1);
ret = readlink("/proc/self/exe", absbasedir, PATH_MAX);
if (ret < 0) {
perror(__FILE__ ": readlink");
return 2;
}
absbasedir[ret] = '\0';
for (i = ret; i > 0; i--) {
if (absbasedir[i] == '/') {
absbasedir[i] = '\0';
if (++count == 3)
break;
}
}
}
if (absbasedir == NULL) {
perror(__FILE__ ": realpath");