mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-02 15:01:41 -09:00
Compare commits
117 Commits
2014.05-rc
...
2014.05-rc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d830cceba5 | ||
|
|
fe823b6374 | ||
|
|
bf22cea53f | ||
|
|
e507615555 | ||
|
|
2df721b2be | ||
|
|
6b7719f964 | ||
|
|
a3f1823040 | ||
|
|
ffd243c652 | ||
|
|
89e8b2437c | ||
|
|
8ca6a6fff2 | ||
|
|
fcff0d9cd0 | ||
|
|
2b9d07fb5d | ||
|
|
f1a3e0cb1b | ||
|
|
d30a13652a | ||
|
|
efaeae52eb | ||
|
|
b9824b3631 | ||
|
|
006f119269 | ||
|
|
6783c64d0f | ||
|
|
b8557dc823 | ||
|
|
97a632a0b2 | ||
|
|
03aea68f17 | ||
|
|
397e022ca4 | ||
|
|
584e90074d | ||
|
|
771bc8e596 | ||
|
|
9b4a795f07 | ||
|
|
ba14dbe2d5 | ||
|
|
691a36943e | ||
|
|
c95fd38ee6 | ||
|
|
9378e73600 | ||
|
|
b19399cc1d | ||
|
|
7467fbead7 | ||
|
|
76bd097b40 | ||
|
|
5f017a8961 | ||
|
|
5d231598c2 | ||
|
|
9d797decbd | ||
|
|
78271772e3 | ||
|
|
c3e412f72e | ||
|
|
63fbdd5c89 | ||
|
|
39d1717efd | ||
|
|
9725c5aefc | ||
|
|
6b9bc5fe40 | ||
|
|
41486e1be8 | ||
|
|
7e91d2b0e3 | ||
|
|
6d3336a2b0 | ||
|
|
f53571e57f | ||
|
|
91169d3346 | ||
|
|
6a6962fd82 | ||
|
|
1ed01c9aaa | ||
|
|
1698bbe49f | ||
|
|
39b926d968 | ||
|
|
ffacbf7ec2 | ||
|
|
460a093787 | ||
|
|
042a3b7efa | ||
|
|
dfc3cc23af | ||
|
|
21aaa85608 | ||
|
|
ed56f35cbf | ||
|
|
6e4b7775a5 | ||
|
|
11e9cc26c7 | ||
|
|
00b1ff6156 | ||
|
|
1a2f21b127 | ||
|
|
7395ee9d3b | ||
|
|
822d5d5f19 | ||
|
|
b8242149e4 | ||
|
|
6a4fa3fcca | ||
|
|
f4c093f2d0 | ||
|
|
5ac49038da | ||
|
|
287a88286b | ||
|
|
3ab9774f23 | ||
|
|
5ff8a7156b | ||
|
|
382eef528e | ||
|
|
ad7ea94520 | ||
|
|
8e6fa1b4b0 | ||
|
|
07882dc3ea | ||
|
|
9d50fe608f | ||
|
|
9587eea148 | ||
|
|
221b52b3ab | ||
|
|
d5996197e2 | ||
|
|
8989bfc8a6 | ||
|
|
0821b7521e | ||
|
|
b1cf2b21dd | ||
|
|
8752516784 | ||
|
|
fe33b6fd47 | ||
|
|
bd87e5bbf8 | ||
|
|
503f76ae3d | ||
|
|
ae1df831c0 | ||
|
|
ec43c84ce8 | ||
|
|
dcab4e8801 | ||
|
|
252b5a1fc0 | ||
|
|
85235ba273 | ||
|
|
3d9f09a108 | ||
|
|
0b15027d24 | ||
|
|
73e6ae0fe6 | ||
|
|
3d6199ca89 | ||
|
|
34aa3f2354 | ||
|
|
23f7d8ece7 | ||
|
|
7f015d051a | ||
|
|
8c275998da | ||
|
|
fc8fcec306 | ||
|
|
4210c49357 | ||
|
|
6811423894 | ||
|
|
a13ea3b30b | ||
|
|
f3f3de0966 | ||
|
|
a9463d24d4 | ||
|
|
916852c3b2 | ||
|
|
e88e6af14c | ||
|
|
8dda4eb3bd | ||
|
|
8e5b15d9e7 | ||
|
|
934147cf6b | ||
|
|
7ea2821b42 | ||
|
|
b332886334 | ||
|
|
655c0212f8 | ||
|
|
ad1cfef6ef | ||
|
|
5035b7819c | ||
|
|
63bf62a473 | ||
|
|
190b4e12b7 | ||
|
|
7f5fec6201 | ||
|
|
50dfb57519 |
55
CHANGES
55
CHANGES
@@ -1,3 +1,58 @@
|
||||
2014.05-rc3, Released May 28th, 2014
|
||||
|
||||
Minor fixes.
|
||||
|
||||
Updated/fixed packages: acl, attr, connman, dosfstools,
|
||||
dropbear, dvb-apps, exim, flite, gdb, httping, hwdata,
|
||||
lesstif, libnss, libv4l, lttng-babeltrace, midori, monit,
|
||||
mplayer, php, python2, rdesktop, rpi-userland, ruby, samba,
|
||||
samba4, slang, xbmc
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#7100: license info for package 'acl' missing
|
||||
#7106: license info for package 'attr' missing
|
||||
#7112: license info for package 'hwdata'
|
||||
|
||||
2014.05-rc2, Released May 21st, 2014
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Stripping using sstrip has been deprecated.
|
||||
|
||||
BR2_EXTERNAL can now also be used to implement custom
|
||||
filesystem types.
|
||||
|
||||
The newly added BR2_GRAPH_DEPTH variable to limit the depth of
|
||||
the generated dependency graph has been renamed to
|
||||
BR2_GRAPH_DEPS_OPTS, so additional options can be supported in
|
||||
the future.
|
||||
|
||||
The virtual package infrastructure will now error out early
|
||||
if multiple packages providing the same virtual package has
|
||||
been enabled (E.G. opengl). This change requires that the
|
||||
packages explicitly declare what virtual package(s) they
|
||||
provide.
|
||||
|
||||
Updated/fixed packages: acpid, armadillo, avahi, bellagio,
|
||||
btrfs-progs, cairo, clapack, directfb, duma, ecryptfs-utils,
|
||||
elfutils, eudev, fbgrab, fio, flann, fluxbox, gdb, gpm,
|
||||
gpu-viv-bin-mx6q, gst1-plugins-good, gst-plugins-good,
|
||||
imagemagick, iprutils, ipsec-tools, jack2, libdvdnav,
|
||||
libdvdread, libnss, libunwind, linux-headers, lsof, lua,
|
||||
luajit, matchbox-keyboard, mesa3d, mpd, mplayer, mtr, mysql,
|
||||
netsnmp, nodejs, openpowerlink, openvpn, pciutils,
|
||||
php-imagick, postgresql, pulseaudio, qt5quick1, rpi-userland,
|
||||
rsyslog, samba, samba4, sane-backends, sunxi-mali, systemd,
|
||||
ti-gfx, tstools, udev, webkit, wpa_supplicant, xbmc,
|
||||
xlib_libXpm, xserver_xorg-server, zyre
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#5396: Boot hangs when starting samba if BR2_ENABLE_LOCALE...
|
||||
#7016: Git issues in resulting buildroot tar
|
||||
#7094: pciutils doesn't build on Blackfin
|
||||
|
||||
2014.05-rc1, Released May 13th, 2014
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
@@ -186,7 +186,7 @@ config BR2_BACKUP_SITE
|
||||
|
||||
config BR2_KERNEL_MIRROR
|
||||
string "Kernel.org mirror"
|
||||
default "http://www.kernel.org/pub"
|
||||
default "https://www.kernel.org/pub"
|
||||
help
|
||||
kernel.org is mirrored on a number of servers around the world.
|
||||
The following allows you to select your preferred mirror.
|
||||
@@ -356,6 +356,7 @@ config BR2_STRIP_sstrip
|
||||
bool "sstrip"
|
||||
select BR2_PACKAGE_SSTRIP_HOST
|
||||
depends on !BR2_PACKAGE_HOST_ELF2FLT
|
||||
depends on BR2_DEPRECATED_SINCE_2014_05
|
||||
help
|
||||
Binaries and libraries in the target filesystem will be
|
||||
stripped using the 'sstrip' command, which strips a little
|
||||
|
||||
8
Makefile
8
Makefile
@@ -25,7 +25,7 @@
|
||||
#--------------------------------------------------------------
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2014.05-rc1
|
||||
export BR2_VERSION := 2014.05-rc3
|
||||
|
||||
# Check for minimal make version (note: this check will break at make 10.x)
|
||||
MIN_MAKE_VERSION = 3.81
|
||||
@@ -150,7 +150,6 @@ endif
|
||||
# Need that early, before we scan packages
|
||||
# Avoids doing the $(or...) everytime
|
||||
BR_GRAPH_OUT := $(or $(BR2_GRAPH_OUT),pdf)
|
||||
BR_GRAPH_DEPTH := $(or $(BR2_GRAPH_DEPTH),0)
|
||||
|
||||
BUILD_DIR := $(BASE_DIR)/build
|
||||
BINARIES_DIR := $(BASE_DIR)/images
|
||||
@@ -388,6 +387,7 @@ include $(sort $(wildcard package/*/*.mk))
|
||||
include boot/common.mk
|
||||
include linux/linux.mk
|
||||
include system/system.mk
|
||||
include fs/common.mk
|
||||
|
||||
include $(BR2_EXTERNAL)/external.mk
|
||||
|
||||
@@ -401,8 +401,6 @@ ifeq ($(BR2_ECLIPSE_REGISTER),y)
|
||||
TARGETS += toolchain-eclipse-register
|
||||
endif
|
||||
|
||||
include fs/common.mk
|
||||
|
||||
TARGETS_SOURCE := $(patsubst %,%-source,$(TARGETS))
|
||||
TARGETS_DIRCLEAN := $(patsubst %,%-dirclean,$(TARGETS))
|
||||
|
||||
@@ -675,7 +673,7 @@ graph-build: $(O)/build/build-time.log
|
||||
graph-depends:
|
||||
@$(INSTALL) -d $(O)/graphs
|
||||
@cd "$(CONFIG_DIR)"; \
|
||||
$(TOPDIR)/support/scripts/graph-depends -d $(BR_GRAPH_DEPTH) \
|
||||
$(TOPDIR)/support/scripts/graph-depends $(BR2_GRAPH_DEPS_OPTS) \
|
||||
|tee $(O)/graphs/$(@).dot \
|
||||
|dot -T$(BR_GRAPH_OUT) -o $(O)/graphs/$(@).$(BR_GRAPH_OUT)
|
||||
|
||||
|
||||
@@ -174,5 +174,27 @@ ifeq ($(filter source,$(MAKECMDGOALS)),)
|
||||
ifeq ($(UBOOT_BOARD_NAME),)
|
||||
$(error NO U-Boot board name set. Check your BR2_TARGET_UBOOT_BOARDNAME setting)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_CUSTOM_VERSION),y)
|
||||
ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE)),)
|
||||
$(error No custom U-Boot version specified. Check your BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE setting)
|
||||
endif # qstrip BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE
|
||||
endif # BR2_TARGET_UBOOT_CUSTOM_VERSION
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_CUSTOM_TARBALL),y)
|
||||
ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION)),)
|
||||
$(error No custom U-Boot tarball specified. Check your BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION setting)
|
||||
endif # qstrip BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION
|
||||
endif # BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_CUSTOM_GIT)$(BR2_TARGET_UBOOT_CUSTOM_HG),y)
|
||||
ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)),)
|
||||
$(error No custom U-Boot repository URL specified. Check your BR2_TARGET_UBOOT_CUSTOM_REPO_URL setting)
|
||||
endif # qstrip BR2_TARGET_UBOOT_CUSTOM_CUSTOM_REPO_URL
|
||||
ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION)),)
|
||||
$(error No custom U-Boot repository URL specified. Check your BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION setting)
|
||||
endif # qstrip BR2_TARGET_UBOOT_CUSTOM_CUSTOM_REPO_VERSION
|
||||
endif # BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG
|
||||
|
||||
endif # filter source
|
||||
endif # BR2_TARGET_UBOOT
|
||||
|
||||
@@ -2,38 +2,31 @@
|
||||
|
||||
<h2>Contribute</h2>
|
||||
|
||||
Buildroot is an open source project and if you want to contribute, here a few
|
||||
pointers to get you started.
|
||||
<p>Buildroot is an open source project and you are very welcome to contribute to
|
||||
it.<br />
|
||||
There are many different ways to contribute:</p>
|
||||
|
||||
<p>Don't forget to look at <a href="./support.html">Support</a> if you need any
|
||||
help.
|
||||
And thanks for your help !</p>
|
||||
<ul>
|
||||
<li>Reproducing, analyzing and fixing bugs from our
|
||||
<a href="https://bugs.buildroot.org/">bug tracker</a></li>
|
||||
<li>Analyzing and fixing <a href="http://autobuild.buildroot.org/">
|
||||
autobuild failures</a></li>
|
||||
<li>Reviewing and testing patches sent by other developers. See the
|
||||
<a href="http://lists.busybox.net/mailman/listinfo/buildroot">mailing list
|
||||
</a> or <a href="http://patchwork.ozlabs.org/project/buildroot/list/">
|
||||
patchwork</a>.</li>
|
||||
<li>Working on items from the
|
||||
<a href="http://www.elinux.org/Buildroot#Todo_list">TODO list</a></li>
|
||||
<li>Submitting your own patches through the
|
||||
<a href="http://lists.busybox.net/mailman/listinfo/buildroot">mailing list
|
||||
</a></li>
|
||||
</ul>
|
||||
|
||||
<h3>Autobuilders</h3>
|
||||
<p>For more details on these topics, check out the
|
||||
<a href="http://buildroot.uclibc.org/downloads/manual/manual.html#_contributing_to_buildroot">
|
||||
Contributing to buildroot</a> chapter in the Buildroot manual. Thanks for your help!</p>
|
||||
|
||||
The <a href="http://autobuild.buildroot.org/">Autobuilders</a> are used to test
|
||||
Buildroot with a lot of differents settings (toolchains, various packages, etc)
|
||||
on all the supported platforms.
|
||||
|
||||
<p>But despite our best effort, sometimes it fails.</p>
|
||||
<p>That's where you can help ! Look at a package that fails and try to fix it !</p>
|
||||
|
||||
<h3>Wiki</h3>
|
||||
|
||||
Have a look at the <a href="http://elinux.org/Buildroot">eLinux Wiki</a> a todo
|
||||
list is available there, which can help you find out what you could do to help
|
||||
Buildroot.
|
||||
|
||||
<h3>Patchwork</h3>
|
||||
|
||||
<a href="http://patchwork.ozlabs.org/project/buildroot/list/">Patchwork</a>
|
||||
is a patch tracking system, if you submit a patch, it will appear here.
|
||||
|
||||
<p>You can have a look at a patch that interests you and test it on your machine,
|
||||
if it succeeds, you can send a <a
|
||||
href="http://buildroot.org/downloads/manual/manual.html#_reviewing_testing_patches">"Tested-by"</a>,
|
||||
if it fails, you can also send a mail on the <a
|
||||
href="http://buildroot.org/downloads/manual/manual.html#_mailing_list">mailing
|
||||
list</a> and report what has happened to you.</p>
|
||||
<p>If you need any support yourself, have a look at <a href="./support.html">
|
||||
Support</a>.</p>
|
||||
|
||||
<!--#include file="footer.html" -->
|
||||
|
||||
@@ -34,7 +34,7 @@ help:</p>
|
||||
<li>On the <a href="irc://freenode.net/#buildroot">Buildroot IRC
|
||||
channel</a>, <code>#buildroot</code> on Freenode</li>
|
||||
|
||||
<li>On our <a href="https://bugs.uclibc.org">bugtracker</a>.</li>
|
||||
<li>On our <a href="https://bugs.buildroot.org">bugtracker</a>.</li>
|
||||
|
||||
<li>Through the various companies offering commercial Buildroot
|
||||
support.</li>
|
||||
|
||||
@@ -15,14 +15,14 @@ or
|
||||
|
||||
<p>
|
||||
|
||||
The latest release candidate is <b>2014.05-rc1</b>, which can be
|
||||
The latest release candidate is <b>2014.05-rc3</b>, which can be
|
||||
downloaded here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2014.05-rc1.tar.gz">buildroot-2014.05-rc1.tar.gz</a>
|
||||
(<a href="/downloads/buildroot-2014.05-rc1.tar.gz.sign">PGP signature</a>)
|
||||
<a href="/downloads/buildroot-2014.05-rc3.tar.gz">buildroot-2014.05-rc3.tar.gz</a>
|
||||
(<a href="/downloads/buildroot-2014.05-rc3.tar.gz.sign">PGP signature</a>)
|
||||
or
|
||||
<a href="/downloads/buildroot-2014.05-rc1.tar.bz2">buildroot-2014.05-rc1.tar.bz2</a>
|
||||
(<a href="/downloads/buildroot-2014.05-rc1.tar.bz2.sign">PGP signature</a>).
|
||||
<a href="/downloads/buildroot-2014.05-rc3.tar.bz2">buildroot-2014.05-rc3.tar.bz2</a>
|
||||
(<a href="/downloads/buildroot-2014.05-rc3.tar.bz2.sign">PGP signature</a>).
|
||||
<p>
|
||||
|
||||
This and earlier releases (and their PGP signatures) can always be downloaded from
|
||||
|
||||
@@ -47,7 +47,8 @@
|
||||
<li><a href="/contribute.html">Contribute</a></li>
|
||||
<li><a href="/sponsors.html">Sponsors</a></li>
|
||||
</ul>
|
||||
<a class="gplus" href="https://plus.google.com/100084591154899263420/posts"><img src="images/gplus.png" height="28" width="28"></a>
|
||||
<a class="gplus" href="https://plus.google.com/100084591154899263420/posts">
|
||||
<img src="images/gplus.png" height="28" width="28" alt="Google+" /></a>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
<div class="hero-unit">
|
||||
<div class="row-fluid">
|
||||
<img src="images/logo.png" height="170" width="170" style="float: right;"/>
|
||||
<img src="images/logo.png" height="170" width="170" style="float: right;"
|
||||
alt="Buildroot logo" />
|
||||
<div class="span8">
|
||||
<h1>Buildroot<br/><small>Making Embedded Linux Easy</small></h1>
|
||||
<p>Buildroot is a simple, efficient and easy-to-use tool to generate
|
||||
|
||||
@@ -36,7 +36,7 @@ function load_activity(feedurl, divid) {
|
||||
|
||||
function initialize() {
|
||||
load_activity("http://rss.gmane.org/topics/excerpts/gmane.comp.lib.uclibc.buildroot", "mailing-list-activity");
|
||||
load_activity("http://git.uclibc.org/buildroot/atom/?h=master", "commit-activity");
|
||||
load_activity("http://git.buildroot.org/buildroot/atom/?h=master", "commit-activity");
|
||||
}
|
||||
|
||||
function google_analytics() {
|
||||
|
||||
@@ -304,6 +304,9 @@ information is (assuming the package name is +libfoo+) :
|
||||
a similar way, +HOST_LIBFOO_DEPENDENCIES+ lists the dependencies for
|
||||
the current host package.
|
||||
|
||||
* +LIBFOO_PROVIDES+ lists all the virtual packages +libfoo+ is an
|
||||
implementation of. See xref:virtual-package-tutorial[].
|
||||
|
||||
* +LIBFOO_INSTALL_STAGING+ can be set to +YES+ or +NO+ (default). If
|
||||
set to +YES+, then the commands in the +LIBFOO_INSTALL_STAGING_CMDS+
|
||||
variables are executed to install the package into the staging
|
||||
|
||||
@@ -39,7 +39,7 @@ In this file, we declare two options, +BR2_PACKAGE_HAS_SOMETHING_VIRTUAL+ and
|
||||
+BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL+, whose values will be used by the
|
||||
providers.
|
||||
|
||||
==== Virtual package's +*.mk+ file
|
||||
==== Virtual package's +.mk+ file
|
||||
|
||||
The +.mk+ for the virtual package should just evaluate the +virtual-package+ macro:
|
||||
|
||||
@@ -59,8 +59,7 @@ The ability to have target and host packages is also available, with the
|
||||
==== Provider's +Config.in+ file
|
||||
|
||||
When adding a package as a provider, only the +Config.in+ file requires some
|
||||
modifications. The +*.mk+ file should follow the Buildroot infrastructure with
|
||||
no change at all.
|
||||
modifications.
|
||||
|
||||
The +Config.in+ file of the package 'some-provider', which provides the
|
||||
functionalities of 'something-virtual', should contain:
|
||||
@@ -84,6 +83,16 @@ On line 3, we select +BR2_PACKAGE_HAS_SOMETHING_VIRTUAL+, and on line 11, we
|
||||
set the value of +BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL+ to the name of the
|
||||
provider, but only if it is selected.
|
||||
|
||||
==== Provider's +.mk+ file
|
||||
|
||||
The +.mk+ file should also declare an additional variable
|
||||
+SOME_PROVIDER_PROVIDES+ to contain the names of all the virtual
|
||||
packages it is an implementation of:
|
||||
|
||||
---------------------------
|
||||
01: SOME_PROVIDER_PROVIDES = something-virtual
|
||||
---------------------------
|
||||
|
||||
Of course, do not forget to add the proper build and runtime dependencies for
|
||||
this package!
|
||||
|
||||
|
||||
@@ -92,8 +92,8 @@ to +make+ or set in the environment:
|
||||
build-time graphs
|
||||
* +BR2_GRAPH_OUT+ to set the filetype of generated graphs, either +pdf+ (the
|
||||
default), or +png+.
|
||||
* +BR2_GRAPH_DEPTH+ (an integer) to limit the depth of the dependency graph.
|
||||
The default, +0+, is to not limit the depth.
|
||||
* +BR2_GRAPH_DEPS_OPTS+ to pass extra options to the dependency graph; see
|
||||
xref:graph-depends[] for the accepted options
|
||||
|
||||
An example that uses config files located in the toplevel directory and
|
||||
in your $HOME:
|
||||
@@ -198,6 +198,16 @@ supported.
|
||||
BR2_GRAPH_OUT=svg make graph-depends
|
||||
--------------------------------
|
||||
|
||||
The +graph-depends+ behaviour can be controlled by setting options in the
|
||||
+BR2_GRAPH_DEPS_OPTS+ environment variable. The accepted options are:
|
||||
|
||||
* +--depth N+, +-d N+, to limit the dependency depth to +N+ levels. The
|
||||
default, +0+, means no limit.
|
||||
|
||||
--------------------------------
|
||||
BR2_GRAPH_DEPS_OPTS='-d 3' make graph-depends
|
||||
--------------------------------
|
||||
|
||||
=== Graphing the build duration
|
||||
|
||||
[[graph-duration]]
|
||||
|
||||
@@ -7,6 +7,11 @@
|
||||
Buildroot usage and documentation by Thomas Petazzoni. Contributions
|
||||
from Karsten Kruse, Ned Ludd, Martin Herren and others.
|
||||
|
||||
The Buildroot manual is licensed under the GNU General Public License,
|
||||
version 2. Refer to file
|
||||
http://git.buildroot.org/buildroot/tree/COPYING[COPYING] in the Buildroot
|
||||
sources for the full text of this license.
|
||||
|
||||
Buildroot {sys:echo $\{BR2_VERSION%%-git*\}} manual generated on {localdate}
|
||||
{localtime} from git revision {sys:git rev-parse --short HEAD}
|
||||
|
||||
|
||||
@@ -6,12 +6,38 @@
|
||||
|
||||
<ul>
|
||||
|
||||
<li><b>28 May 2014 -- 2014.05-rc3 released</b>
|
||||
|
||||
<p>Release candidate 3 is out with more cleanups and build fixes. See the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2014.05-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-2014.05-rc3.tar.bz2">2014.05-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>21 May 2014 -- 2014.05-rc2 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=2014.05-rc2">CHANGES</a>
|
||||
file for details.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2014.05-rc2.tar.bz2">2014.05-rc2
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="support.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>13 May 2014 -- 2014.05-rc1 released</b>
|
||||
|
||||
<p>We have a new release candidate! Lots of changes all over the
|
||||
tree, see the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2014.05-rc1">CHANGES</a>
|
||||
file for details.</p>
|
||||
file for details, and read the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2014-May/096492.html">announcement</a>.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2014.05-rc1.tar.bz2">2014.05-rc1
|
||||
|
||||
@@ -2,32 +2,31 @@
|
||||
|
||||
<h2>Support</h2>
|
||||
|
||||
You can get support for Buildroot through three main channels:
|
||||
<p>You can get support for Buildroot through three main channels:</p>
|
||||
|
||||
<h3>IRC</h3>
|
||||
The Buildroot IRC is <a href="irc://freenode.net/#buildroot">#buildroot</a>.
|
||||
The channel #buildroot is hosted on Freenode <a href="http://webchat.freenode.net">WebChat</a>.
|
||||
|
||||
<p>The Buildroot IRC channel is <a href="irc://freenode.net/#buildroot">
|
||||
#buildroot</a>, hosted on Freenode. If you do not have an IRC client, you can
|
||||
use the <a href="http://webchat.freenode.net">Freenode web interface</a>.
|
||||
When asking for help on IRC, share relevant logs or pieces of code using a code
|
||||
sharing website.
|
||||
sharing website.</p>
|
||||
|
||||
<h3>Mailing List Information</h3>
|
||||
The <a href="/lists/buildroot/">mailing list</a> is for discussion and
|
||||
<p>The <a href="/lists/buildroot/">mailing list</a> is for discussion and
|
||||
development. You can subscribe by visiting
|
||||
<a href="http://lists.busybox.net/mailman/listinfo/buildroot">this page</a>.
|
||||
Only subscribers to the Buildroot mailing list are allowed to post
|
||||
to this list.
|
||||
<p>
|
||||
The list is also available through <a
|
||||
to this list.</p>
|
||||
|
||||
<p>The list is also available through <a
|
||||
href="http://gmane.org">Gmane</a> at <a href="http://dir.gmane.org/gmane.comp.lib.uclibc.buildroot">gmane.comp.lib.uclibc.buildroot</a>.
|
||||
<p>
|
||||
</p>
|
||||
|
||||
<h4>Search the List Archives</h4>
|
||||
Please search the mailing list archives before asking questions on the mailing
|
||||
<p>Please search the mailing list archives before asking questions on the mailing
|
||||
list, since there is a good chance someone else has asked the same question
|
||||
before. Checking the archives is a great way to avoid annoying everyone on the
|
||||
list with frequently asked questions...
|
||||
<p>
|
||||
list with frequently asked questions...</p>
|
||||
|
||||
<form method="get" action="http://search.gmane.org/">
|
||||
<input type="text" name="query">
|
||||
@@ -37,9 +36,10 @@ list with frequently asked questions...
|
||||
|
||||
<h3>Bug Tracker</h3>
|
||||
|
||||
If you encounter any problems while using Buildroot, you can use the <a href="https://bugs.uclibc.org/">Bug Tracker</a>
|
||||
to post your bugs and/or participate to find solutions to existing problems.
|
||||
<p>If you encounter any problem while using Buildroot, you can use the
|
||||
<a href="https://bugs.buildroot.org/">Bug Tracker</a> to post your bugs and/or
|
||||
participate to find solutions to existing problems.</p>
|
||||
|
||||
Note: Patch are only accepted through the mailing list.
|
||||
<p>Note: patches are only accepted through the mailing list.</p>
|
||||
|
||||
<!--#include file="footer.html" -->
|
||||
|
||||
@@ -21,7 +21,7 @@ choice
|
||||
prompt "Kernel version"
|
||||
|
||||
config BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
bool "3.14.3"
|
||||
bool "3.14.4"
|
||||
|
||||
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
bool "Same as toolchain kernel headers"
|
||||
@@ -104,7 +104,7 @@ config BR2_LINUX_KERNEL_CUSTOM_LOCAL_PATH
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "3.14.3" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "3.14.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
|
||||
|
||||
@@ -10,6 +10,8 @@ ACL_SITE = http://download.savannah.gnu.org/releases/acl
|
||||
ACL_INSTALL_STAGING = YES
|
||||
ACL_DEPENDENCIES = attr
|
||||
ACL_CONF_OPT = --enable-gettext=no
|
||||
ACL_LICENSE = GPLv2+ (programs), LGPLv2.1+ (libraries)
|
||||
ACL_LICENSE_FILES = doc/COPYING doc/COPYING.LGPL
|
||||
|
||||
# While the configuration system uses autoconf, the Makefiles are
|
||||
# hand-written and do not use automake. Therefore, we have to hack
|
||||
|
||||
@@ -17,7 +17,7 @@ endef
|
||||
|
||||
define ACPID_SET_EVENTS
|
||||
mkdir -p $(TARGET_DIR)/etc/acpi/events
|
||||
/bin/echo -e "event=button[ /]power\naction=/sbin/poweroff" \
|
||||
printf "event=button[ /]power\naction=/sbin/poweroff\n" \
|
||||
>$(TARGET_DIR)/etc/acpi/events/powerbtn
|
||||
endef
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ comment "armadillo needs a toolchain w/ C++, largefile"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE
|
||||
depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) # clapack
|
||||
depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC) # clapack
|
||||
depends on !BR2_bfin # clapack
|
||||
|
||||
config BR2_PACKAGE_ARMADILLO
|
||||
bool "armadillo"
|
||||
@@ -9,6 +10,7 @@ config BR2_PACKAGE_ARMADILLO
|
||||
depends on BR2_LARGEFILE # clapack
|
||||
depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) # clapack
|
||||
depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC) # clapack
|
||||
depends on !BR2_bfin # clapack
|
||||
select BR2_PACKAGE_CLAPACK
|
||||
help
|
||||
Armadillo: An Open Source C++ Linear Algebra Library for
|
||||
|
||||
@@ -9,6 +9,8 @@ ATTR_SOURCE = attr-$(ATTR_VERSION).src.tar.gz
|
||||
ATTR_SITE = http://download.savannah.gnu.org/releases/attr
|
||||
ATTR_INSTALL_STAGING = YES
|
||||
ATTR_CONF_OPT = --enable-gettext=no
|
||||
ATTR_LICENSE = GPLv2+ (programs), LGPLv2.1+ (libraries)
|
||||
ATTR_LICENSE_FILES = doc/COPYING doc/COPYING.LGPL
|
||||
|
||||
# While the configuration system uses autoconf, the Makefiles are
|
||||
# hand-written and do not use automake. Therefore, we have to hack
|
||||
|
||||
@@ -3,6 +3,7 @@ config BR2_PACKAGE_AVAHI
|
||||
# libdaemon uses fork()
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_PREFER_STATIC_LIB
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||
help
|
||||
Avahi is a system which facilitates service
|
||||
|
||||
@@ -11,5 +11,6 @@ BELLAGIO_AUTORECONF = YES
|
||||
BELLAGIO_INSTALL_STAGING = YES
|
||||
BELLAGIO_LICENSE = LGPLv2.1+
|
||||
BELLAGIO_LICENSE_FILES = COPYING
|
||||
BELLAGIO_PROVIDES = libopenmax
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
From: Alan Modra <amodra@gmail.com>
|
||||
Date: Fri, 20 Dec 2013 13:27:52 +0000 (+1030)
|
||||
Subject: Don't segv on cie.initial_instructions[] overflow.
|
||||
X-Git-Tag: gdb-7.7-release~148
|
||||
X-Git-Url: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff_plain;h=99d190fac4d2aab238cfc798dc5c28ab41456882
|
||||
|
||||
Don't segv on cie.initial_instructions[] overflow.
|
||||
|
||||
Don't attempt to merge CIEs with a larger number of insns than will
|
||||
fit in the buffer.
|
||||
|
||||
* elf-eh-frame.c (cie_eq): Return false when initial_insn_length
|
||||
is too large.
|
||||
(cie_compute_hash): Don't exceed bounds of initial_instructions.
|
||||
(_bfd_elf_parse_eh_frame): Always set initial_insn_length, and
|
||||
save as much of insns to initial_instructions[] as will fit.
|
||||
---
|
||||
|
||||
diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c
|
||||
index 832a991..4b6e8ea 100644
|
||||
--- a/bfd/elf-eh-frame.c
|
||||
+++ b/bfd/elf-eh-frame.c
|
||||
@@ -235,6 +235,7 @@ cie_eq (const void *e1, const void *e2)
|
||||
&& c1->lsda_encoding == c2->lsda_encoding
|
||||
&& c1->fde_encoding == c2->fde_encoding
|
||||
&& c1->initial_insn_length == c2->initial_insn_length
|
||||
+ && c1->initial_insn_length <= sizeof (c1->initial_instructions)
|
||||
&& memcmp (c1->initial_instructions,
|
||||
c2->initial_instructions,
|
||||
c1->initial_insn_length) == 0)
|
||||
@@ -254,6 +255,7 @@ static hashval_t
|
||||
cie_compute_hash (struct cie *c)
|
||||
{
|
||||
hashval_t h = 0;
|
||||
+ size_t len;
|
||||
h = iterative_hash_object (c->length, h);
|
||||
h = iterative_hash_object (c->version, h);
|
||||
h = iterative_hash (c->augmentation, strlen (c->augmentation) + 1, h);
|
||||
@@ -267,7 +269,10 @@ cie_compute_hash (struct cie *c)
|
||||
h = iterative_hash_object (c->lsda_encoding, h);
|
||||
h = iterative_hash_object (c->fde_encoding, h);
|
||||
h = iterative_hash_object (c->initial_insn_length, h);
|
||||
- h = iterative_hash (c->initial_instructions, c->initial_insn_length, h);
|
||||
+ len = c->initial_insn_length;
|
||||
+ if (len > sizeof (c->initial_instructions))
|
||||
+ len = sizeof (c->initial_instructions);
|
||||
+ h = iterative_hash (c->initial_instructions, len, h);
|
||||
c->hash = h;
|
||||
return h;
|
||||
}
|
||||
@@ -762,11 +767,10 @@ _bfd_elf_parse_eh_frame (bfd *abfd, struct bfd_link_info *info,
|
||||
cie->fde_encoding = DW_EH_PE_absptr;
|
||||
|
||||
initial_insn_length = end - buf;
|
||||
- if (initial_insn_length <= sizeof (cie->initial_instructions))
|
||||
- {
|
||||
- cie->initial_insn_length = initial_insn_length;
|
||||
- memcpy (cie->initial_instructions, buf, initial_insn_length);
|
||||
- }
|
||||
+ cie->initial_insn_length = initial_insn_length;
|
||||
+ memcpy (cie->initial_instructions, buf,
|
||||
+ initial_insn_length <= sizeof (cie->initial_instructions)
|
||||
+ ? initial_insn_length : sizeof (cie->initial_instructions));
|
||||
insns = buf;
|
||||
buf += initial_insn_length;
|
||||
ENSURE_NO_RELOCS (buf);
|
||||
@@ -4,6 +4,7 @@ config BR2_PACKAGE_BTRFS_PROGS
|
||||
depends on BR2_USE_WCHAR # util-linux
|
||||
depends on BR2_USE_MMU # util-linux
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_avr32 # toolchain issues
|
||||
select BR2_PACKAGE_ACL
|
||||
select BR2_PACKAGE_ATTR
|
||||
select BR2_PACKAGE_E2FSPROGS
|
||||
@@ -19,5 +20,6 @@ config BR2_PACKAGE_BTRFS_PROGS
|
||||
|
||||
comment "btrfs-progs needs a toolchain w/ largefile, wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_avr32
|
||||
depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
23
package/cairo/cairo-004-fix-nofork-any2ppm.patch
Normal file
23
package/cairo/cairo-004-fix-nofork-any2ppm.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
test: fix build of any2ppm if fork is not available.
|
||||
|
||||
The test program any2ppm can run as daemon. This feature can be disabled at
|
||||
compile time, if the required headers are not present. However the support for
|
||||
fork() is not checked.
|
||||
|
||||
This patch fixes this issue.
|
||||
|
||||
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
|
||||
|
||||
Index: cairo-1.12.10/test/any2ppm.c
|
||||
===================================================================
|
||||
--- cairo-1.12.10.orig/test/any2ppm.c 2012-04-19 14:17:34.000000000 +0200
|
||||
+++ cairo-1.12.10/test/any2ppm.c 2014-04-25 11:13:30.000000000 +0200
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
-#if HAVE_UNISTD_H && HAVE_FCNTL_H && HAVE_SIGNAL_H && HAVE_SYS_STAT_H && HAVE_SYS_SOCKET_H && HAVE_SYS_POLL_H && HAVE_SYS_UN_H
|
||||
+#if HAVE_UNISTD_H && HAVE_FCNTL_H && HAVE_SIGNAL_H && HAVE_SYS_STAT_H && HAVE_SYS_SOCKET_H && HAVE_SYS_POLL_H && HAVE_SYS_UN_H && HAVE_FORK
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <sys/stat.h>
|
||||
38
package/cairo/cairo-005-fix-gcc-49-build.patch
Normal file
38
package/cairo/cairo-005-fix-gcc-49-build.patch
Normal file
@@ -0,0 +1,38 @@
|
||||
Fix build with gcc 4.9
|
||||
|
||||
cairo fails to build with gcc 4.9 due to a bad interaction of cairo
|
||||
modules with the LTO mechanism. The suggested workaround is to pass
|
||||
-ffat-lto-objects. See
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=77060 for the upstream
|
||||
bug report, and
|
||||
https://bugs.archlinux.org/task/40313?project=1&openedfrom=-1+week for
|
||||
the ArchLinux bug report.
|
||||
|
||||
This patch passes -ffat-lto-objects when gcc understands this option,
|
||||
in order to provide compatibility with gcc versions older than 4.8,
|
||||
which did not provide this option, but are anyway unaffected by the
|
||||
issue.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/configure.ac
|
||||
===================================================================
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -37,6 +37,16 @@
|
||||
m4_include(build/configure.ac.pthread) dnl checks for pthreads
|
||||
AC_CACHE_SAVE
|
||||
|
||||
+old_cflags=$CFLAGS
|
||||
+CFLAGS=-ffat-lto-objects
|
||||
+AC_MSG_CHECKING([whether CC supports -ffat-lto-objects])
|
||||
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
|
||||
+ [AC_MSG_RESULT([yes])]
|
||||
+ [LTO_CFLAGS=-ffat-lto-objects],
|
||||
+ [AC_MSG_RESULT([no])]
|
||||
+)
|
||||
+CFLAGS="${old_CFLAGS} ${LTO_CFLAGS}"
|
||||
+
|
||||
dnl ===========================================================================
|
||||
|
||||
AC_CHECK_LIB(z, compress,
|
||||
@@ -10,6 +10,7 @@ CAIRO_LICENSE = LGPLv2.1+
|
||||
CAIRO_LICENSE_FILES = COPYING
|
||||
CAIRO_SITE = http://cairographics.org/releases
|
||||
CAIRO_INSTALL_STAGING = YES
|
||||
CAIRO_AUTORECONF = YES
|
||||
|
||||
CAIRO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
|
||||
glib_cv_uscore=no ac_cv_func_strtod=yes \
|
||||
|
||||
@@ -5,6 +5,10 @@ config BR2_PACKAGE_CLAPACK
|
||||
# _fpu_control is used on PowerPC, but not available with
|
||||
# uClibc
|
||||
depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
|
||||
# disable clapack on blackfin, it triggers "undefined symbol" failure
|
||||
# because of the "_" symbol prefix:
|
||||
# http://autobuild.buildroot.net/results/a28df0ba10803e6e54c2f8160bbd8190cba4d690/
|
||||
depends on !BR2_bfin
|
||||
help
|
||||
BLAS and LAPACK C implementation (f2c'ed version of).
|
||||
|
||||
@@ -24,5 +28,6 @@ config BR2_PACKAGE_CLAPACK_ARITH_H
|
||||
|
||||
comment "cblas/clapack needs a toolchain w/ largefile"
|
||||
depends on !BR2_LARGEFILE
|
||||
depends on !BR2_bfin
|
||||
depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el)
|
||||
depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
|
||||
|
||||
@@ -15,7 +15,7 @@ config BR2_PACKAGE_CONNMAN
|
||||
managing internet connections within embedded devices running
|
||||
the Linux operating system.
|
||||
|
||||
For more information, see http://connman.net/
|
||||
For more information, see https://01.org/connman
|
||||
|
||||
if BR2_PACKAGE_CONNMAN
|
||||
|
||||
|
||||
@@ -26,6 +26,11 @@ DIRECTFB_CONF_OPT = \
|
||||
--disable-video4linux \
|
||||
--disable-video4linux2 \
|
||||
--without-tools
|
||||
|
||||
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
||||
DIRECTFB_CONF_OPT += --disable-dynload
|
||||
endif
|
||||
|
||||
DIRECTFB_CONFIG_SCRIPTS = directfb-config
|
||||
|
||||
DIRECTFB_DEPENDENCIES = freetype zlib
|
||||
|
||||
@@ -9,14 +9,13 @@ DOSFSTOOLS_SOURCE = dosfstools-$(DOSFSTOOLS_VERSION).tar.xz
|
||||
DOSFSTOOLS_SITE = http://daniel-baumann.ch/files/software/dosfstools
|
||||
DOSFSTOOLS_LICENSE = GPLv3+
|
||||
DOSFSTOOLS_LICENSE_FILES = COPYING
|
||||
DOSFSTOOLS_LDFLAGS = $(TARGET_LDFLAGS)
|
||||
|
||||
# Avoid target dosfstools dependencies, no host-libiconv
|
||||
HOST_DOSFSTOOLS_DEPENDENCIES =
|
||||
|
||||
ifneq ($(BR2_ENABLE_LOCALE),y)
|
||||
DOSFSTOOLS_DEPENDENCIES += libiconv
|
||||
DOSFSTOOLS_LDFLAGS += -liconv
|
||||
DOSFSTOOLS_LDLIBS += -liconv
|
||||
endif
|
||||
|
||||
FATLABEL_BINARY = fatlabel
|
||||
@@ -24,8 +23,7 @@ FSCK_FAT_BINARY = fsck.fat
|
||||
MKFS_FAT_BINARY = mkfs.fat
|
||||
|
||||
define DOSFSTOOLS_BUILD_CMDS
|
||||
$(MAKE) CFLAGS="$(TARGET_CFLAGS)" CC="$(TARGET_CC)" \
|
||||
LDFLAGS="$(DOSFSTOOLS_LDFLAGS)" -C $(@D)
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) LDLIBS="$(DOSFSTOOLS_LDLIBS)" -C $(@D)
|
||||
endef
|
||||
|
||||
DOSFSTOOLS_INSTALL_BIN_FILES_$(BR2_PACKAGE_DOSFSTOOLS_FATLABEL)+=$(FATLABEL_BINARY)
|
||||
|
||||
@@ -10,10 +10,6 @@ start() {
|
||||
DROPBEAR_ARGS="$DROPBEAR_ARGS -R"
|
||||
|
||||
echo -n "Starting dropbear sshd: "
|
||||
# Make sure dropbear directory exists
|
||||
if [ ! -d /etc/dropbear ] ; then
|
||||
mkdir -p /etc/dropbear
|
||||
fi
|
||||
umask 077
|
||||
start-stop-daemon -S -q -p /var/run/dropbear.pid \
|
||||
--exec /usr/sbin/dropbear -- $DROPBEAR_ARGS
|
||||
|
||||
@@ -85,6 +85,7 @@ define DROPBEAR_INSTALL_TARGET_CMDS
|
||||
for f in $(DROPBEAR_TARGET_BINS); do \
|
||||
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/$$f ; \
|
||||
done
|
||||
mkdir -p $(TARGET_DIR)/etc/dropbear
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -2,6 +2,10 @@ config BR2_PACKAGE_DUMA
|
||||
bool "duma"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
# By design, duma uses page mapping to isolate
|
||||
# allocations. Non-MMU platforms cannot perform such
|
||||
# things.
|
||||
depends on BR2_USE_MMU
|
||||
help
|
||||
D.U.M.A. - Detect Unintended Memory Access. A fork of the
|
||||
Electric Fence library. Detects buffer overflow and
|
||||
@@ -17,4 +21,5 @@ config BR2_PACKAGE_DUMA_NO_LEAKDETECTION
|
||||
endif # BR2_PACKAGE_DUMA
|
||||
|
||||
comment "duma needs a toolchain w/ C++, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -19,6 +19,7 @@ DUMA_OPTIONS = \
|
||||
# build time, is not specified in the Makefile. Force non-parallel build.
|
||||
define DUMA_BUILD_CMDS
|
||||
$(MAKE1) $(TARGET_CONFIGURE_OPTS) \
|
||||
OS=linux \
|
||||
DUMA_OPTIONS="$(DUMA_OPTIONS)" \
|
||||
$(DUMA_CPP) -C $(@D)
|
||||
endef
|
||||
|
||||
@@ -10,17 +10,15 @@ DVB_APPS_SITE_METHOD = hg
|
||||
DVB_APPS_LICENSE = GPLv2 GPLv2+ LGPLv2.1+
|
||||
DVB_APPS_LICENSE_FILES = COPYING COPYING.LGPL
|
||||
|
||||
DVB_APPS_LDFLAGS = $(TARGET_LDFLAGS)
|
||||
|
||||
ifeq ($(BR2_ENABLE_LOCALE),)
|
||||
DVB_APPS_DEPENDENCIES = libiconv
|
||||
DVB_APPS_LDFLAGS += -liconv
|
||||
DVB_APPS_LDLIBS += -liconv
|
||||
endif
|
||||
|
||||
DVB_APPS_INSTALL_STAGING = YES
|
||||
|
||||
define DVB_APPS_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) LDFLAGS="$(DVB_APPS_LDFLAGS)" \
|
||||
$(TARGET_CONFIGURE_OPTS) LDLIBS="$(DVB_APPS_LDLIBS)" \
|
||||
$(MAKE) -C $(@D) CROSS_ROOT=$(STAGING_DIR) V=1
|
||||
endef
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
|
||||
depends on BR2_LARGEFILE # libnss
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libnss -> libnspr
|
||||
depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnss -> libnspr
|
||||
depends on !BR2_MIPS_NABI32 # libnss
|
||||
help
|
||||
eCryptfs is a POSIX-compliant enterprise cryptographic
|
||||
filesystem for Linux. It is stacked on top of any other
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
comment "elfutils needs a toolchain w/ largefile, wchar"
|
||||
depends on !BR2_avr32
|
||||
depends on !BR2_bfin
|
||||
depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
|
||||
|
||||
config BR2_PACKAGE_ELFUTILS
|
||||
@@ -10,6 +12,9 @@ config BR2_PACKAGE_ELFUTILS
|
||||
# canonicalize_file_name() not available on uClibc 0.9.31, used
|
||||
# only for AVR32
|
||||
depends on !BR2_avr32
|
||||
# build issue caused by the _ prefix used on blackfin for
|
||||
# assembly symbols
|
||||
depends on !BR2_bfin
|
||||
help
|
||||
Libraries/utilities to handle ELF objects (drop in
|
||||
replacement for libelf).
|
||||
|
||||
@@ -27,8 +27,8 @@ test -r $UDEV_CONFIG || exit 6
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Populating ${udev_root:-/dev} using udev: "
|
||||
echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
|
||||
printf "Populating ${udev_root:-/dev} using udev: "
|
||||
printf '\000\000\000\000' > /proc/sys/kernel/hotplug
|
||||
$UDEV_BIN -d || (echo "FAIL" && exit 1)
|
||||
udevadm trigger
|
||||
echo "done"
|
||||
|
||||
@@ -25,6 +25,7 @@ EUDEV_CONF_OPT = \
|
||||
--enable-libkmod
|
||||
|
||||
EUDEV_DEPENDENCIES = host-gperf host-pkgconf util-linux kmod
|
||||
EUDEV_PROVIDES = udev
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EUDEV_RULES_GEN),y)
|
||||
EUDEV_CONF_OPT += --enable-rule_generator
|
||||
|
||||
@@ -49,15 +49,22 @@ define EXIM_CONFIGURE_CMDS
|
||||
$(call exim-config-add,HOSTCFLAGS,$(HOSTCFLAGS))
|
||||
endef
|
||||
|
||||
# exim needs a bit of love to build statically
|
||||
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
||||
EXIM_STATIC_FLAGS = LFLAGS="-pthread --static"
|
||||
endif
|
||||
|
||||
# "The -j (parallel) flag must not be used with make"
|
||||
# (http://www.exim.org/exim-html-current/doc/html/spec_html/ch04.html)
|
||||
define EXIM_BUILD_CMDS
|
||||
build=br $(MAKE1) -C $(@D)
|
||||
build=br $(MAKE1) -C $(@D) $(EXIM_STATIC_FLAGS)
|
||||
endef
|
||||
|
||||
# Need to replicate the LFLAGS in install, as exim still wants to build
|
||||
# something when installing...
|
||||
define EXIM_INSTALL_TARGET_CMDS
|
||||
DESTDIR=$(TARGET_DIR) INSTALL_ARG="-no_chown -no_symlink" build=br \
|
||||
$(MAKE1) -C $(@D) install
|
||||
$(MAKE1) -C $(@D) $(EXIM_STATIC_FLAGS) install
|
||||
chmod u+s $(TARGET_DIR)/usr/sbin/exim
|
||||
endef
|
||||
|
||||
|
||||
21
package/fbgrab/fbgrab-01-fix-static-build.patch
Normal file
21
package/fbgrab/fbgrab-01-fix-static-build.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
Fix static build
|
||||
|
||||
fbgrab links against libpng, which depends on libm. For shared library
|
||||
builds, there is nothing special to do about this, but for static
|
||||
library builds, it is necessary to pass -lm when linking fbgrab.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/Makefile
|
||||
===================================================================
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -12,7 +12,7 @@
|
||||
all: fbgrab fbgrab.1.gz
|
||||
|
||||
fbgrab: fbgrab.c
|
||||
- $(CC) -g -Wall $(CFLAGS) $(LDFLAGS) $< -lpng -lz -o $@
|
||||
+ $(CC) -g -Wall $(CFLAGS) $(LDFLAGS) $< -lpng -lz -lm -o $@
|
||||
|
||||
fbgrab.1.gz: fbgrab.1.man
|
||||
$(GZIP) $(GZIPFLAGS) $< > $@
|
||||
@@ -12,6 +12,9 @@ config BR2_PACKAGE_FIO
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_UCLIBC && \
|
||||
!BR2_UCLIBC_VERSION_0_9_31 && \
|
||||
!BR2_UCLIBC_VERSION_0_9_32
|
||||
# fio uses fallocate() which becomes fallocate64() while compiling
|
||||
# with BR2_LARGEFILE but fallocate64() is not available on nios2
|
||||
depends on !BR2_nios2
|
||||
help
|
||||
fio is an I/O tool meant to be used both for benchmark
|
||||
and stress/hardware verification.
|
||||
@@ -20,3 +23,4 @@ config BR2_PACKAGE_FIO
|
||||
|
||||
comment "fio needs a toolchain w/ largefile, threads"
|
||||
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_nios2
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_FLANN
|
||||
bool "flann"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_PREFER_STATIC_LIB
|
||||
help
|
||||
FLANN is a library for performing fast approximate nearest
|
||||
neighbor searches in high dimensional spaces. It contains a
|
||||
@@ -20,5 +21,5 @@ config BR2_PACKAGE_FLANN_EXAMPLES
|
||||
|
||||
endif
|
||||
|
||||
comment "flann needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
comment "flann needs a toolchain w/ C++, dynamic library"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_PREFER_STATIC_LIB
|
||||
|
||||
19
package/flite/flite-0002-fix-alsa-static.patch
Normal file
19
package/flite/flite-0002-fix-alsa-static.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
Use pkg-config to determine alsa link flags. This fixes static linking.
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
|
||||
diff -Nuar flite-1.4-release.orig/configure.in flite-1.4-release/configure.in
|
||||
--- flite-1.4-release.orig/configure.in 2009-08-14 23:46:38.000000000 +0300
|
||||
+++ flite-1.4-release/configure.in 2014-04-30 18:52:33.253297236 +0300
|
||||
@@ -275,7 +275,10 @@
|
||||
#endif],
|
||||
[AUDIODRIVER="alsa"
|
||||
AUDIODEFS=-DCST_AUDIO_ALSA
|
||||
- AUDIOLIBS=-lasound])
|
||||
+ AUDIOLIBS=`pkg-config --libs alsa`
|
||||
+ if test "$shared" = false; then
|
||||
+ AUDIOLIBS=`pkg-config --libs --static alsa`
|
||||
+ fi])
|
||||
AC_CHECK_HEADER(mmsystem.h,
|
||||
[AUDIODRIVER="wince"
|
||||
AUDIODEFS=-DCST_AUDIO_WINCE
|
||||
@@ -11,6 +11,9 @@ FLITE_LICENSE = BSD-4c
|
||||
FLITE_LICENSE_FILES = COPYING
|
||||
|
||||
FLITE_INSTALL_STAGING = YES
|
||||
# Patching configure.in
|
||||
FLITE_AUTORECONF = YES
|
||||
FLITE_DEPENDENCIES = host-pkgconf
|
||||
|
||||
# Sadly, Flite does not support parallel build, especially when building its
|
||||
# shared libraries.
|
||||
|
||||
@@ -2,6 +2,7 @@ config BR2_PACKAGE_FLUXBOX
|
||||
bool "fluxbox"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
# Runtime dependency, needed by startup script
|
||||
select BR2_PACKAGE_XAPP_XMODMAP
|
||||
@@ -11,4 +12,5 @@ config BR2_PACKAGE_FLUXBOX
|
||||
http://fluxbox.org
|
||||
|
||||
comment "fluxbox needs a toolchain w/ C++"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_XORG7 && !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
@@ -23,6 +23,8 @@ GPU_VIV_BIN_MX6Q_LICENSE = Freescale Semiconductor Software License Agreement
|
||||
# for which a separate license is needed...
|
||||
GPU_VIV_BIN_MX6Q_REDISTRIBUTE = NO
|
||||
|
||||
GPU_VIV_BIN_MX6Q_PROVIDES = libegl libgles
|
||||
|
||||
# DirectFB is not supported (wrong version)
|
||||
ifeq ($(BR2_PACKAGE_XORG7),y)
|
||||
GPU_VIV_BIN_MX6Q_DEPENDENCIES = xlib_libXdamage xlib_libXext
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
diff -rNdup gdb-6.6.orig/bfd/configure gdb-6.6/bfd/configure
|
||||
--- gdb-6.6.orig/bfd/configure 2006-10-25 08:49:20.000000000 +0200
|
||||
+++ gdb-6.6/bfd/configure 2007-05-14 10:35:50.000000000 +0200
|
||||
@@ -3579,6 +3579,11 @@ linux-gnu*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
+linux-uclibc*)
|
||||
+ lt_cv_deplibs_check_method=pass_all
|
||||
+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
|
||||
+ ;;
|
||||
+
|
||||
netbsd* | knetbsd*-gnu)
|
||||
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
||||
lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
|
||||
diff -rNdup gdb-6.6.orig/libtool.m4 gdb-6.6/libtool.m4
|
||||
--- gdb-6.6.orig/libtool.m4 2005-12-27 17:37:57.000000000 +0100
|
||||
+++ gdb-6.6/libtool.m4 2007-05-14 10:35:50.000000000 +0200
|
||||
@@ -751,6 +751,11 @@ netbsd* | knetbsd*-gnu)
|
||||
fi
|
||||
;;
|
||||
|
||||
+linux-uclibc*)
|
||||
+ lt_cv_deplibs_check_method=pass_all
|
||||
+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
|
||||
+ ;;
|
||||
+
|
||||
newsos6)
|
||||
[lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
|
||||
lt_cv_file_magic_cmd=/usr/bin/file
|
||||
diff -rNdup gdb-6.6.orig/ltconfig gdb-6.6/ltconfig
|
||||
--- gdb-6.6.orig/ltconfig 2006-07-04 22:31:03.000000000 +0200
|
||||
+++ gdb-6.6/ltconfig 2007-05-14 10:35:50.000000000 +0200
|
||||
@@ -602,7 +602,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
|
||||
|
||||
# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
|
||||
case $host_os in
|
||||
-linux-gnu*) ;;
|
||||
+linux-gnu*|linux-uclibc*) ;;
|
||||
linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
|
||||
esac
|
||||
|
||||
@@ -1270,6 +1270,24 @@ linux-gnu*)
|
||||
dynamic_linker='GNU/Linux ld.so'
|
||||
;;
|
||||
|
||||
+linux-uclibc*)
|
||||
+ version_type=linux
|
||||
+ need_lib_prefix=no
|
||||
+ need_version=no
|
||||
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
|
||||
+ soname_spec='${libname}${release}.so$major'
|
||||
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
|
||||
+ shlibpath_var=LD_LIBRARY_PATH
|
||||
+ shlibpath_overrides_runpath=no
|
||||
+ # This implies no fast_install, which is unacceptable.
|
||||
+ # Some rework will be needed to allow for fast_install
|
||||
+ # before this can be enabled.
|
||||
+ # Note: copied from linux-gnu, and may not be appropriate.
|
||||
+ hardcode_into_libs=yes
|
||||
+ # Assume using the uClibc dynamic linker.
|
||||
+ dynamic_linker="uClibc ld.so"
|
||||
+ ;;
|
||||
+
|
||||
netbsd*)
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
diff -rNdup gdb-6.6.orig/opcodes/configure gdb-6.6/opcodes/configure
|
||||
--- gdb-6.6.orig/opcodes/configure 2006-10-25 08:49:20.000000000 +0200
|
||||
+++ gdb-6.6/opcodes/configure 2007-05-14 10:35:50.000000000 +0200
|
||||
@@ -3590,6 +3590,11 @@ netbsd* | knetbsd*-gnu)
|
||||
fi
|
||||
;;
|
||||
|
||||
+linux-uclibc*)
|
||||
+ lt_cv_deplibs_check_method=pass_all
|
||||
+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
|
||||
+ ;;
|
||||
+
|
||||
newsos6)
|
||||
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
|
||||
lt_cv_file_magic_cmd=/usr/bin/file
|
||||
@@ -1,69 +0,0 @@
|
||||
diff -rduNp gdb-6.6-100/Makefile.in gdb-6.6/Makefile.in
|
||||
--- gdb-6.6-100/Makefile.in 2006-12-18 08:21:19.000000000 +0100
|
||||
+++ gdb-6.6/Makefile.in 2007-05-14 10:54:29.000000000 +0200
|
||||
@@ -331,7 +331,7 @@ COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_
|
||||
# CFLAGS will be just -g. We want to ensure that TARGET libraries
|
||||
# (which we know are built with gcc) are built with optimizations so
|
||||
# prepend -O2 when setting CFLAGS_FOR_TARGET.
|
||||
-CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
|
||||
+CFLAGS_FOR_TARGET = $(strip $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET))
|
||||
SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
|
||||
CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
|
||||
LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
|
||||
diff -rduNp gdb-6.6-100/Makefile.tpl gdb-6.6/Makefile.tpl
|
||||
--- gdb-6.6-100/Makefile.tpl 2006-11-15 00:26:39.000000000 +0100
|
||||
+++ gdb-6.6/Makefile.tpl 2007-05-14 10:54:29.000000000 +0200
|
||||
@@ -334,7 +334,7 @@ COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_
|
||||
# CFLAGS will be just -g. We want to ensure that TARGET libraries
|
||||
# (which we know are built with gcc) are built with optimizations so
|
||||
# prepend -O2 when setting CFLAGS_FOR_TARGET.
|
||||
-CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
|
||||
+CFLAGS_FOR_TARGET = $(strip $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET))
|
||||
SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
|
||||
CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
|
||||
LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
|
||||
diff -rduNp gdb-6.6-100/gdb/configure gdb-6.6/gdb/configure
|
||||
--- gdb-6.6-100/gdb/configure 2006-12-17 16:38:59.000000000 +0100
|
||||
+++ gdb-6.6/gdb/configure 2007-05-14 10:55:41.000000000 +0200
|
||||
@@ -272,7 +272,7 @@ PACKAGE_STRING=
|
||||
PACKAGE_BUGREPORT=
|
||||
|
||||
ac_unique_file="main.c"
|
||||
-ac_subdirs_all="$ac_subdirs_all doc testsuite"
|
||||
+ac_subdirs_all="$ac_subdirs_all doc"
|
||||
# Factoring default headers for most tests.
|
||||
ac_includes_default="\
|
||||
#include <stdio.h>
|
||||
@@ -3055,7 +3055,7 @@ _ACEOF
|
||||
|
||||
|
||||
|
||||
-subdirs="$subdirs doc testsuite"
|
||||
+subdirs="$subdirs doc"
|
||||
|
||||
|
||||
# Provide defaults for some variables set by the per-host and per-target
|
||||
diff -rduNp gdb-6.6-100/gdb/gdbserver/configure gdb-6.6/gdb/gdbserver/configure
|
||||
--- gdb-6.6-100/gdb/gdbserver/configure 2006-11-22 01:10:19.000000000 +0100
|
||||
+++ gdb-6.6/gdb/gdbserver/configure 2007-05-14 10:54:29.000000000 +0200
|
||||
@@ -1239,7 +1239,7 @@ echo "$as_me: error: \`$ac_var' was not
|
||||
ac_cache_corrupted=: ;;
|
||||
,);;
|
||||
*)
|
||||
- if test "x$ac_old_val" != "x$ac_new_val"; then
|
||||
+ if test "`echo $ac_old_val`" != "`echo $ac_new_val`"; then
|
||||
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
||||
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
||||
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
||||
diff -rduNp gdb-6.6-100/gdb/testsuite/configure gdb-6.6/gdb/testsuite/configure
|
||||
--- gdb-6.6-100/gdb/testsuite/configure 2006-06-21 15:57:21.000000000 +0200
|
||||
+++ gdb-6.6/gdb/testsuite/configure 2007-05-14 10:54:29.000000000 +0200
|
||||
@@ -1248,7 +1248,7 @@ echo "$as_me: error: \`$ac_var' was not
|
||||
ac_cache_corrupted=: ;;
|
||||
,);;
|
||||
*)
|
||||
- if test "x$ac_old_val" != "x$ac_new_val"; then
|
||||
+ if test "`echo $ac_old_val" != "`echo $ac_new_val"; then
|
||||
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
||||
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
||||
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
||||
@@ -1,238 +0,0 @@
|
||||
--- gdb-6.6/gdb/gdbserver/configure.srv
|
||||
+++ gdb-6.6/gdb/gdbserver/configure.srv
|
||||
@@ -23,6 +23,11 @@ case "${target}" in
|
||||
srv_linux_usrregs=yes
|
||||
srv_linux_thread_db=yes
|
||||
;;
|
||||
+ bfin-*-*) srv_regobj=reg-bfin.o
|
||||
+ srv_tgtobj="linux-low.o linux-bfin-low.o"
|
||||
+ srv_linux_usrregs=yes
|
||||
+ srv_linux_thread_db=yes
|
||||
+ ;;
|
||||
crisv32-*-linux*) srv_regobj=reg-crisv32.o
|
||||
srv_tgtobj="linux-low.o linux-crisv32-low.o"
|
||||
srv_linux_regsets=yes
|
||||
--- gdb-6.6/gdb/gdbserver/linux-bfin-low.c
|
||||
+++ gdb-6.6/gdb/gdbserver/linux-bfin-low.c
|
||||
@@ -0,0 +1,101 @@
|
||||
+/* GNU/Linux/BFIN specific low level interface, for the remote server for GDB.
|
||||
+
|
||||
+ Copyright (C) 2005 Free Software Foundation, Inc.
|
||||
+ Contributed by Analog Devices.
|
||||
+
|
||||
+ This file is part of GDB.
|
||||
+
|
||||
+ 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
|
||||
+ the Free Software Foundation; either version 2 of the License, or
|
||||
+ (at your option) any later version.
|
||||
+
|
||||
+ This program is distributed in the hope that it will be useful,
|
||||
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+ GNU General Public License for more details.
|
||||
+
|
||||
+ You should have received a copy of the GNU General Public License
|
||||
+ along with this program; if not, write to the Free Software
|
||||
+ Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
+ Boston, MA 02110-1301, USA. */
|
||||
+
|
||||
+#include "server.h"
|
||||
+#include "linux-low.h"
|
||||
+#include <asm/ptrace.h>
|
||||
+
|
||||
+static int bfin_regmap[] =
|
||||
+{
|
||||
+ PT_R0, PT_R1, PT_R2, PT_R3, PT_R4, PT_R5, PT_R6, PT_R7,
|
||||
+ PT_P0, PT_P1, PT_P2, PT_P3, PT_P4, PT_P5, PT_USP, PT_FP,
|
||||
+ PT_I0, PT_I1, PT_I2, PT_I3, PT_M0, PT_M1, PT_M2, PT_M3,
|
||||
+ PT_B0, PT_B1, PT_B2, PT_B3, PT_L0, PT_L1, PT_L2, PT_L3,
|
||||
+ PT_A0X, PT_A0W, PT_A1X, PT_A1W, PT_ASTAT, PT_RETS,
|
||||
+ PT_LC0, PT_LT0, PT_LB0, PT_LC1, PT_LT1, PT_LB1,
|
||||
+ -1 /* PT_CYCLES */, -1 /* PT_CYCLES2 */,
|
||||
+ -1 /* PT_USP */, PT_SEQSTAT, PT_SYSCFG, PT_PC, PT_RETX, PT_RETN, PT_RETE,
|
||||
+ PT_PC, -1 /* PT_CC */, PT_TEXT_ADDR, PT_TEXT_END_ADDR, PT_DATA_ADDR,
|
||||
+ PT_FDPIC_EXEC, PT_FDPIC_INTERP,
|
||||
+ PT_IPEND
|
||||
+};
|
||||
+
|
||||
+#define bfin_num_regs (sizeof(bfin_regmap) / sizeof(bfin_regmap[0]))
|
||||
+
|
||||
+static int
|
||||
+bfin_cannot_store_register (int regno)
|
||||
+{
|
||||
+ return (regno >= bfin_num_regs);
|
||||
+}
|
||||
+
|
||||
+static int
|
||||
+bfin_cannot_fetch_register (int regno)
|
||||
+{
|
||||
+ return (regno >= bfin_num_regs);
|
||||
+}
|
||||
+
|
||||
+static CORE_ADDR
|
||||
+bfin_get_pc ()
|
||||
+{
|
||||
+ unsigned long pc;
|
||||
+ collect_register_by_name ("pc", &pc);
|
||||
+ return pc;
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
+bfin_set_pc (CORE_ADDR pc)
|
||||
+{
|
||||
+ unsigned long newpc = pc;
|
||||
+ supply_register_by_name ("pc", &newpc);
|
||||
+}
|
||||
+
|
||||
+#define bfin_breakpoint_len 2
|
||||
+static const unsigned char bfin_breakpoint[bfin_breakpoint_len]={0xa1, 0x00};
|
||||
+
|
||||
+static int
|
||||
+bfin_breakpoint_at (CORE_ADDR where)
|
||||
+{
|
||||
+ unsigned char insn[bfin_breakpoint_len];
|
||||
+
|
||||
+ read_inferior_memory(where, insn, bfin_breakpoint_len);
|
||||
+ if (insn[0] == bfin_breakpoint[0]
|
||||
+ && insn[1] == bfin_breakpoint[1])
|
||||
+ return 1;
|
||||
+
|
||||
+ /* If necessary, recognize more trap instructions here. GDB only uses the
|
||||
+ one. */
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+struct linux_target_ops the_low_target = {
|
||||
+ bfin_num_regs,
|
||||
+ bfin_regmap,
|
||||
+ bfin_cannot_fetch_register,
|
||||
+ bfin_cannot_store_register,
|
||||
+ bfin_get_pc,
|
||||
+ bfin_set_pc,
|
||||
+ bfin_breakpoint,
|
||||
+ bfin_breakpoint_len,
|
||||
+ 0,
|
||||
+ 2,
|
||||
+ bfin_breakpoint_at,
|
||||
+};
|
||||
--- gdb-6.6/gdb/gdbserver/linux-low.c
|
||||
+++ gdb-6.6/gdb/gdbserver/linux-low.c
|
||||
@@ -1592,6 +1592,10 @@ linux_stopped_data_address (void)
|
||||
#define PT_TEXT_ADDR 49*4
|
||||
#define PT_DATA_ADDR 50*4
|
||||
#define PT_TEXT_END_ADDR 51*4
|
||||
+#elif defined(BFIN)
|
||||
+#define PT_TEXT_ADDR 220
|
||||
+#define PT_TEXT_END_ADDR 224
|
||||
+#define PT_DATA_ADDR 228
|
||||
#endif
|
||||
|
||||
/* Under uClinux, programs are loaded at non-zero offsets, which we need
|
||||
--- gdb-6.6/gdb/gdbserver/Makefile.in
|
||||
+++ gdb-6.6/gdb/gdbserver/Makefile.in
|
||||
@@ -119,9 +119,9 @@ SFILES= $(srcdir)/gdbreplay.c $(srcdir)/
|
||||
$(srcdir)/mem-break.c $(srcdir)/proc-service.c $(srcdir)/regcache.c \
|
||||
$(srcdir)/remote-utils.c $(srcdir)/server.c $(srcdir)/target.c \
|
||||
$(srcdir)/thread-db.c $(srcdir)/utils.c \
|
||||
- $(srcdir)/linux-arm-low.c $(srcdir)/linux-cris-low.c \
|
||||
- $(srcdir)/linux-crisv32-low.c $(srcdir)/linux-i386-low.c \
|
||||
- $(srcdir)/i387-fp.c \
|
||||
+ $(srcdir)/linux-arm-low.c $(srcdir)/linux-bfin-low.c \
|
||||
+ $(srcdir)/linux-cris-low.c $(srcdir)/linux-crisv32-low.c \
|
||||
+ $(srcdir)/linux-i386-low.c $(srcdir)/i387-fp.c \
|
||||
$(srcdir)/linux-ia64-low.c $(srcdir)/linux-low.c \
|
||||
$(srcdir)/linux-m32r-low.c \
|
||||
$(srcdir)/linux-m68k-low.c $(srcdir)/linux-mips-low.c \
|
||||
@@ -207,6 +207,7 @@ clean:
|
||||
rm -f reg-arm.c reg-i386.c reg-ia64.c reg-m32r.c reg-m68k.c reg-mips.c
|
||||
rm -f reg-ppc.c reg-sh.c reg-spu.c reg-x86-64.c reg-i386-linux.c
|
||||
rm -f reg-cris.c reg-crisv32.c reg-x86-64-linux.c
|
||||
+ rm -f reg-bfin.c
|
||||
|
||||
maintainer-clean realclean distclean: clean
|
||||
rm -f nm.h tm.h xm.h config.status config.h stamp-h config.log
|
||||
@@ -272,6 +273,7 @@ linux-low.o: linux-low.c $(linux_low_h)
|
||||
|
||||
linux-arm-low.o: linux-arm-low.c $(linux_low_h) $(server_h) \
|
||||
$(gdb_proc_service_h)
|
||||
+linux-bfin-low.o: linux-bfin-low.c $(linux_low_h) $(server_h)
|
||||
linux-cris-low.o: linux-cris-low.c $(linux_low_h) $(server_h)
|
||||
linux-crisv32-low.o: linux-crisv32-low.c $(linux_low_h) $(server_h)
|
||||
linux-i386-low.o: linux-i386-low.c $(linux_low_h) $(server_h) \
|
||||
@@ -294,6 +297,9 @@ spu-low.o: spu-low.c $(server_h)
|
||||
reg-arm.o : reg-arm.c $(regdef_h)
|
||||
reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh)
|
||||
sh $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c
|
||||
+reg-bfin.o : reg-bfin.c $(regdef_h)
|
||||
+reg-bfin.c : $(srcdir)/../regformats/reg-bfin.dat $(regdat_sh)
|
||||
+ sh $(regdat_sh) $(srcdir)/../regformats/reg-bfin.dat reg-bfin.c
|
||||
reg-cris.o : reg-cris.c $(regdef_h)
|
||||
reg-cris.c : $(srcdir)/../regformats/reg-cris.dat $(regdat_sh)
|
||||
sh $(regdat_sh) $(srcdir)/../regformats/reg-cris.dat reg-cris.c
|
||||
--- gdb-6.6/gdb/regformats/reg-bfin.dat
|
||||
+++ gdb-6.6/gdb/regformats/reg-bfin.dat
|
||||
@@ -0,0 +1,63 @@
|
||||
+name:bfin
|
||||
+expedite:pc,sp,fp
|
||||
+32:r0
|
||||
+32:r1
|
||||
+32:r2
|
||||
+32:r3
|
||||
+32:r4
|
||||
+32:r5
|
||||
+32:r6
|
||||
+32:r7
|
||||
+32:p0
|
||||
+32:p1
|
||||
+32:p2
|
||||
+32:p3
|
||||
+32:p4
|
||||
+32:p5
|
||||
+32:sp
|
||||
+32:fp
|
||||
+32:i0
|
||||
+32:i1
|
||||
+32:i2
|
||||
+32:i3
|
||||
+32:m0
|
||||
+32:m1
|
||||
+32:m2
|
||||
+32:m3
|
||||
+32:b0
|
||||
+32:b1
|
||||
+32:b2
|
||||
+32:b3
|
||||
+32:l0
|
||||
+32:l1
|
||||
+32:l2
|
||||
+32:l3
|
||||
+32:a0x
|
||||
+32:a0w
|
||||
+32:a1x
|
||||
+32:a1w
|
||||
+32:astat
|
||||
+32:rets
|
||||
+32:lc0
|
||||
+32:lt0
|
||||
+32:lb0
|
||||
+32:lc1
|
||||
+32:lt1
|
||||
+32:lb1
|
||||
+32:cycles
|
||||
+32:cycles2
|
||||
+32:usp
|
||||
+32:seqstat
|
||||
+32:syscfg
|
||||
+32:reti
|
||||
+32:retx
|
||||
+32:retn
|
||||
+32:rete
|
||||
+32:pc
|
||||
+32:cc
|
||||
+32:text_addr
|
||||
+32:text_end_addr
|
||||
+32:data_addr
|
||||
+32:fdpic_exec
|
||||
+32:fdpic_interp
|
||||
+32:ipend
|
||||
@@ -0,0 +1,60 @@
|
||||
From e671835b7afc90b3ff201b79f07a6fb67797bc5c Mon Sep 17 00:00:00 2001
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Mon, 20 Jan 2014 09:53:12 +0200
|
||||
Subject: [PATCH] gdb: xtensa: fix linux ptrace includes
|
||||
|
||||
Currently, xtensa code using the Linux ptrace interface only include
|
||||
sys/ptrace.h. This file comes from the C library (glibc and uClibc,
|
||||
at least), and includes a declaration of the ptrace() functions, along
|
||||
with some cross architecture constants that are mostly copied from the
|
||||
file located at include/uapi/linux/ptrace.h in recent Linux kernels.
|
||||
|
||||
For xtensa specific constants like PTRACE_GETXTREGS and
|
||||
PTRACE_SETXTREGS the asm/ptrace.h include from the Linux kernel UAPI
|
||||
is needed. The code in gdbserver xtensa specific part doesn't call
|
||||
ptrace() directly, so we can remove the unneeded sys/ptrace.h include.
|
||||
The gdb xtensa specific code needs both headers, since it calls
|
||||
ptrace().
|
||||
|
||||
gdb/
|
||||
* xtensa-linux-nat.c: Include asm/ptrace.h.
|
||||
|
||||
gdb/gdbserver/
|
||||
* linux-xtensa-low.c: Include asm/ptrace.h instead of
|
||||
sys/ptrace.h.
|
||||
---
|
||||
Backported from: e671835b7afc90b3ff201b79f07a6fb67797bc5c
|
||||
Changes to Changelog files are dropped.
|
||||
|
||||
gdb/gdbserver/linux-xtensa-low.c | 2 +-
|
||||
gdb/xtensa-linux-nat.c | 1 +
|
||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gdb/gdbserver/linux-xtensa-low.c b/gdb/gdbserver/linux-xtensa-low.c
|
||||
index 7db97a9..479b65b 100644
|
||||
--- a/gdb/gdbserver/linux-xtensa-low.c
|
||||
+++ b/gdb/gdbserver/linux-xtensa-low.c
|
||||
@@ -24,7 +24,7 @@
|
||||
void init_registers_xtensa (void);
|
||||
extern const struct target_desc *tdesc_xtensa;
|
||||
|
||||
-#include <sys/ptrace.h>
|
||||
+#include <asm/ptrace.h>
|
||||
#include <xtensa-config.h>
|
||||
|
||||
#include "xtensa-xtregs.c"
|
||||
diff --git a/gdb/xtensa-linux-nat.c b/gdb/xtensa-linux-nat.c
|
||||
index 2372e79..9340c62 100644
|
||||
--- a/gdb/xtensa-linux-nat.c
|
||||
+++ b/gdb/xtensa-linux-nat.c
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/procfs.h>
|
||||
#include <sys/ptrace.h>
|
||||
+#include <asm/ptrace.h>
|
||||
|
||||
#include "gregset.h"
|
||||
#include "xtensa-tdep.h"
|
||||
--
|
||||
1.8.1.4
|
||||
|
||||
42
package/gdb/7.4.1/gdb-101-xtensa-fix-on-64-bit-hosts.patch
Normal file
42
package/gdb/7.4.1/gdb-101-xtensa-fix-on-64-bit-hosts.patch
Normal file
@@ -0,0 +1,42 @@
|
||||
From 54bff650843cacd3c17a0afdb0fe32e15e1b65b0 Mon Sep 17 00:00:00 2001
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Wed, 22 Jan 2014 15:02:29 +0200
|
||||
Subject: [PATCH] gdb: xtensa: fix on 64-bit hosts
|
||||
|
||||
On 64-bit hosts unsigned long is 64 bit. Use uint32_t instead.
|
||||
|
||||
gdb/
|
||||
2014-01-22 Baruch Siach <baruch@tkos.co.il>
|
||||
|
||||
* xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
|
||||
---
|
||||
Backported from: 54bff650843cacd3c17a0afdb0fe32e15e1b65b0
|
||||
Changes to Changelog files are dropped and #include <stdint.h> is added.
|
||||
|
||||
gdb/xtensa-tdep.h | 3 +-
|
||||
1 file changed, 2 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gdb/xtensa-tdep.h b/gdb/xtensa-tdep.h
|
||||
index 968b9d2..d7ba562 100644
|
||||
--- a/gdb/xtensa-tdep.h
|
||||
+++ b/gdb/xtensa-tdep.h
|
||||
@@ -17,6 +17,7 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
+#include <stdint.h>
|
||||
|
||||
/* XTENSA_TDEP_VERSION can/should be changed along with XTENSA_CONFIG_VERSION
|
||||
whenever the "tdep" structure changes in an incompatible way. */
|
||||
@@ -84,7 +84,7 @@ typedef enum
|
||||
/* Xtensa ELF core file register set representation ('.reg' section).
|
||||
Copied from target-side ELF header <xtensa/elf.h>. */
|
||||
|
||||
-typedef unsigned long xtensa_elf_greg_t;
|
||||
+typedef uint32_t xtensa_elf_greg_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
--
|
||||
1.8.1.4
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
--- gdb-7.4.1/gdb/xtensa-linux-nat.c.orig 2012-10-19 16:23:06.908165323 -0700
|
||||
+++ gdb-7.4.1/gdb/xtensa-linux-nat.c 2012-10-19 16:35:30.792134876 -0700
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "gdb_wait.h"
|
||||
#include <fcntl.h>
|
||||
#include <sys/procfs.h>
|
||||
-#include <sys/ptrace.h>
|
||||
+#include <asm/ptrace.h>
|
||||
|
||||
#include "gregset.h"
|
||||
#include "xtensa-tdep.h"
|
||||
--- gdb-7.4.1/gdb/gdbserver/linux-xtensa-low.c.orig 2012-10-19 16:24:06.260162894 -0700
|
||||
+++ gdb-7.4.1/gdb/gdbserver/linux-xtensa-low.c 2012-10-19 16:36:07.920133357 -0700
|
||||
@@ -23,7 +23,7 @@
|
||||
/* Defined in auto-generated file reg-xtensa.c. */
|
||||
void init_registers_xtensa (void);
|
||||
|
||||
-#include <sys/ptrace.h>
|
||||
+#include <asm/ptrace.h>
|
||||
#include <xtensa-config.h>
|
||||
|
||||
#include "xtensa-xtregs.c"
|
||||
@@ -1,19 +0,0 @@
|
||||
--- gdb-7.4.1/gdb/xtensa-tdep.h.orig 2012-10-30 11:40:23.546448594 -0700
|
||||
+++ gdb-7.4.1/gdb/xtensa-tdep.h 2012-10-30 11:41:43.078445337 -0700
|
||||
@@ -17,6 +17,7 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
+#include <stdint.h>
|
||||
|
||||
/* XTENSA_TDEP_VERSION can/should be changed along with XTENSA_CONFIG_VERSION
|
||||
whenever the "tdep" structure changes in an incompatible way. */
|
||||
@@ -84,7 +85,7 @@
|
||||
/* Xtensa ELF core file register set representation ('.reg' section).
|
||||
Copied from target-side ELF header <xtensa/elf.h>. */
|
||||
|
||||
-typedef unsigned long xtensa_elf_greg_t;
|
||||
+typedef uint32_t xtensa_elf_greg_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
@@ -0,0 +1,60 @@
|
||||
From e671835b7afc90b3ff201b79f07a6fb67797bc5c Mon Sep 17 00:00:00 2001
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Mon, 20 Jan 2014 09:53:12 +0200
|
||||
Subject: [PATCH] gdb: xtensa: fix linux ptrace includes
|
||||
|
||||
Currently, xtensa code using the Linux ptrace interface only include
|
||||
sys/ptrace.h. This file comes from the C library (glibc and uClibc,
|
||||
at least), and includes a declaration of the ptrace() functions, along
|
||||
with some cross architecture constants that are mostly copied from the
|
||||
file located at include/uapi/linux/ptrace.h in recent Linux kernels.
|
||||
|
||||
For xtensa specific constants like PTRACE_GETXTREGS and
|
||||
PTRACE_SETXTREGS the asm/ptrace.h include from the Linux kernel UAPI
|
||||
is needed. The code in gdbserver xtensa specific part doesn't call
|
||||
ptrace() directly, so we can remove the unneeded sys/ptrace.h include.
|
||||
The gdb xtensa specific code needs both headers, since it calls
|
||||
ptrace().
|
||||
|
||||
gdb/
|
||||
* xtensa-linux-nat.c: Include asm/ptrace.h.
|
||||
|
||||
gdb/gdbserver/
|
||||
* linux-xtensa-low.c: Include asm/ptrace.h instead of
|
||||
sys/ptrace.h.
|
||||
---
|
||||
Backported from: e671835b7afc90b3ff201b79f07a6fb67797bc5c
|
||||
Changes to Changelog files are dropped.
|
||||
|
||||
gdb/gdbserver/linux-xtensa-low.c | 2 +-
|
||||
gdb/xtensa-linux-nat.c | 1 +
|
||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gdb/gdbserver/linux-xtensa-low.c b/gdb/gdbserver/linux-xtensa-low.c
|
||||
index 7db97a9..479b65b 100644
|
||||
--- a/gdb/gdbserver/linux-xtensa-low.c
|
||||
+++ b/gdb/gdbserver/linux-xtensa-low.c
|
||||
@@ -24,7 +24,7 @@
|
||||
void init_registers_xtensa (void);
|
||||
extern const struct target_desc *tdesc_xtensa;
|
||||
|
||||
-#include <sys/ptrace.h>
|
||||
+#include <asm/ptrace.h>
|
||||
#include <xtensa-config.h>
|
||||
|
||||
#include "xtensa-xtregs.c"
|
||||
diff --git a/gdb/xtensa-linux-nat.c b/gdb/xtensa-linux-nat.c
|
||||
index 2372e79..9340c62 100644
|
||||
--- a/gdb/xtensa-linux-nat.c
|
||||
+++ b/gdb/xtensa-linux-nat.c
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/procfs.h>
|
||||
#include <sys/ptrace.h>
|
||||
+#include <asm/ptrace.h>
|
||||
|
||||
#include "gregset.h"
|
||||
#include "xtensa-tdep.h"
|
||||
--
|
||||
1.8.1.4
|
||||
|
||||
42
package/gdb/7.5.1/gdb-101-xtensa-fix-on-64-bit-hosts.patch
Normal file
42
package/gdb/7.5.1/gdb-101-xtensa-fix-on-64-bit-hosts.patch
Normal file
@@ -0,0 +1,42 @@
|
||||
From 54bff650843cacd3c17a0afdb0fe32e15e1b65b0 Mon Sep 17 00:00:00 2001
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Wed, 22 Jan 2014 15:02:29 +0200
|
||||
Subject: [PATCH] gdb: xtensa: fix on 64-bit hosts
|
||||
|
||||
On 64-bit hosts unsigned long is 64 bit. Use uint32_t instead.
|
||||
|
||||
gdb/
|
||||
2014-01-22 Baruch Siach <baruch@tkos.co.il>
|
||||
|
||||
* xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
|
||||
---
|
||||
Backported from: 54bff650843cacd3c17a0afdb0fe32e15e1b65b0
|
||||
Changes to Changelog files are dropped and #include <stdint.h> is added.
|
||||
|
||||
gdb/xtensa-tdep.h | 3 +-
|
||||
1 file changed, 2 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gdb/xtensa-tdep.h b/gdb/xtensa-tdep.h
|
||||
index 968b9d2..d7ba562 100644
|
||||
--- a/gdb/xtensa-tdep.h
|
||||
+++ b/gdb/xtensa-tdep.h
|
||||
@@ -17,6 +17,7 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
+#include <stdint.h>
|
||||
|
||||
/* XTENSA_TDEP_VERSION can/should be changed along with XTENSA_CONFIG_VERSION
|
||||
whenever the "tdep" structure changes in an incompatible way. */
|
||||
@@ -84,7 +84,7 @@ typedef enum
|
||||
/* Xtensa ELF core file register set representation ('.reg' section).
|
||||
Copied from target-side ELF header <xtensa/elf.h>. */
|
||||
|
||||
-typedef unsigned long xtensa_elf_greg_t;
|
||||
+typedef uint32_t xtensa_elf_greg_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
--
|
||||
1.8.1.4
|
||||
|
||||
@@ -17,27 +17,20 @@ choice
|
||||
prompt "GDB debugger Version"
|
||||
depends on !BR2_arc
|
||||
depends on !BR2_microblaze
|
||||
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_5
|
||||
help
|
||||
Select the version of gdb you wish to use.
|
||||
|
||||
config BR2_GDB_VERSION_6_6
|
||||
bool "gdb 6.6"
|
||||
depends on BR2_bfin
|
||||
|
||||
config BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
|
||||
depends on BR2_avr32
|
||||
bool "gdb 6.7.1-avr32-2.1.5"
|
||||
|
||||
config BR2_GDB_VERSION_7_4
|
||||
bool "gdb 7.4.x"
|
||||
depends on !BR2_bfin
|
||||
|
||||
config BR2_GDB_VERSION_7_5
|
||||
bool "gdb 7.5.x"
|
||||
depends on !BR2_bfin
|
||||
|
||||
endchoice
|
||||
|
||||
@@ -47,8 +40,6 @@ endif
|
||||
config BR2_GDB_VERSION
|
||||
string
|
||||
depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
|
||||
default "6.6a" if BR2_GDB_VERSION_6_6 || \
|
||||
(!BR2_PACKAGE_HOST_GDB && BR2_bfin)
|
||||
default "6.7.1-avr32-2.1.5" if BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 || \
|
||||
(!BR2_PACKAGE_HOST_GDB && BR2_avr32)
|
||||
default "arc-4.8-R3" if BR2_arc
|
||||
|
||||
@@ -51,7 +51,6 @@ HOST_GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
|
||||
endif
|
||||
|
||||
GDB_CONF_ENV = \
|
||||
ac_cv_prog_MAKEINFO=missing \
|
||||
ac_cv_type_uintptr_t=yes \
|
||||
gt_cv_func_gettext_libintl=yes \
|
||||
ac_cv_func_dcgettext=yes \
|
||||
@@ -116,6 +115,10 @@ HOST_GDB_CONF_OPT = \
|
||||
|
||||
ifeq ($(GDB_FROM_GIT),y)
|
||||
HOST_GDB_DEPENDENCIES += host-texinfo
|
||||
else
|
||||
# don't generate documentation
|
||||
GDB_CONF_ENV += ac_cv_prog_MAKEINFO=missing
|
||||
HOST_GDB_CONF_ENV += ac_cv_prog_MAKEINFO=missing
|
||||
endif
|
||||
|
||||
# legacy $arch-linux-gdb symlink
|
||||
|
||||
@@ -17,6 +17,14 @@ GPM_DEPENDENCIES = host-bison
|
||||
# built. CPPFLAGS is used to pass the right include path to dependency rules.
|
||||
GPM_CONF_ENV = CPPFLAGS="$(TARGET_CPPFLAGS) -I$(@D)/src/headers/"
|
||||
|
||||
# For some reason, Microblaze gcc does not define __ELF__, which gpm
|
||||
# configure script uses to determine whether the architecture uses ELF
|
||||
# binaries and therefore can build shared libraries. We fix this by
|
||||
# telling GPM that ELF is used on Microblaze.
|
||||
ifeq ($(BR2_microblaze),y)
|
||||
GPM_CONF_ENV += itz_cv_sys_elf=yes
|
||||
endif
|
||||
|
||||
# gpm and ncurses have a circular dependency. As gpm function GPM_Wgetch()
|
||||
# (requiring ncurses) is not recommended for use by ncurses people themselves
|
||||
# and as it's better to have gpm support in ncurses that the contrary, we force
|
||||
|
||||
@@ -207,6 +207,7 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS4
|
||||
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
|
||||
depends on BR2_LARGEFILE # pulseaudio -> libsndfile
|
||||
depends on BR2_USE_MMU # pulseaudio
|
||||
select BR2_PACKAGE_PULSEAUDIO
|
||||
bool "pulseaudio"
|
||||
|
||||
|
||||
@@ -303,6 +303,7 @@ comment "gdkpixbuf needs a toolchain w/ wchar, threads"
|
||||
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
|
||||
depends on BR2_LARGEFILE # pulseaudio -> libsndfile
|
||||
depends on BR2_USE_MMU # pulseaudio
|
||||
select BR2_PACKAGE_PULSEAUDIO
|
||||
bool "pulseaudio"
|
||||
help
|
||||
|
||||
@@ -9,9 +9,12 @@ HTTPING_SOURCE = httping-$(HTTPING_VERSION).tgz
|
||||
HTTPING_SITE = http://www.vanheusden.com/httping
|
||||
HTTPING_LICENSE = GPLv2
|
||||
HTTPING_LICENSE_FILES = license.txt
|
||||
HTTPING_LDFLAGS = $(if $(BR2_NEEDS_GETTEXT),-lintl) $(TARGET_LDFLAGS)
|
||||
HTTPING_LDFLAGS = $(TARGET_LDFLAGS) \
|
||||
$(if $(BR2_NEEDS_GETTEXT),-lintl) \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),-liconv)
|
||||
HTTPING_DEPENDENCIES = host-gettext \
|
||||
$(if $(BR2_NEEDS_GETTEXT),gettext) \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),libiconv) \
|
||||
$(if $(BR2_PACKAGE_OPENSSL),openssl) \
|
||||
$(if $(BR2_PACKAGE_FFTW),fftw)
|
||||
HTTPING_MAKE_OPT = $(TARGET_CONFIGURE_OPTS) \
|
||||
|
||||
@@ -8,6 +8,8 @@ HWDATA_VERSION = 0.230
|
||||
HWDATA_SOURCE = hwdata_$(HWDATA_VERSION).orig.tar.gz
|
||||
HWDATA_PATCH = hwdata_$(HWDATA_VERSION)-1.diff.gz
|
||||
HWDATA_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/h/hwdata/
|
||||
HWDATA_LICENSE = GPLv2+ or XFree86 1.0 license
|
||||
HWDATA_LICENSE_FILES = COPYING LICENSE
|
||||
|
||||
define HWDATA_INSTALL_TARGET_CMDS
|
||||
install -D -m 644 $(@D)/pci.ids $(TARGET_DIR)/usr/share/hwdata/pci.ids
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
From 8f8f73265b281b0a01f1b6bfe8ec189b24fe75c0 Mon Sep 17 00:00:00 2001
|
||||
From: Romain Naour <romain.naour@openwide.fr>
|
||||
Date: Sun, 18 May 2014 20:44:26 +0200
|
||||
Subject: [PATCH 1/1] Remove magick-install-data-local target.
|
||||
|
||||
The magick-baseconfig.h is already installed by install-magickincarchHEADERS target.
|
||||
This cause a race condition by calling install command twice to copy the same file at the same location at the same time.
|
||||
|
||||
Fixes:
|
||||
http://autobuild.buildroot.net/results/d34/d34077ce582866c50bbd90de10bbe593e39463f1/build-end.log
|
||||
|
||||
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
|
||||
---
|
||||
Makefile.am | 4 ++--
|
||||
magick/Makefile.am | 12 ------------
|
||||
2 files changed, 2 insertions(+), 14 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 0741336..f9598b6 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -184,9 +184,9 @@ all-local: $(MAGICKPP_LOCAL_TARGETS) $(PERLMAGICK_ALL_LOCAL_TARGETS) $(MAINTAINE
|
||||
|
||||
install-exec-local: $(PERLMAGICK_INSTALL_EXEC_LOCAL_TARGETS)
|
||||
|
||||
-install-data-local: $(MAGICK_INSTALL_DATA_LOCAL_TARGETS) $(PERLMAGICK_INSTALL_DATA_LOCAL_TARGETS) $(HTML_INSTALL_DATA_TARGETS)
|
||||
+install-data-local: $(PERLMAGICK_INSTALL_DATA_LOCAL_TARGETS) $(HTML_INSTALL_DATA_TARGETS)
|
||||
|
||||
-uninstall-local: $(MAGICK_UNINSTALL_LOCAL_TARGETS) $(PERLMAGICK_UNINSTALL_LOCAL_TARGETS) $(HTML_UNINSTALL_DATA_TARGETS)
|
||||
+uninstall-local: $(PERLMAGICK_UNINSTALL_LOCAL_TARGETS) $(HTML_UNINSTALL_DATA_TARGETS)
|
||||
|
||||
clean-local: $(PERLMAGICK_CLEAN_LOCAL_TARGETS)
|
||||
|
||||
diff --git a/magick/Makefile.am b/magick/Makefile.am
|
||||
index 4c6360b..2e389f2 100644
|
||||
--- a/magick/Makefile.am
|
||||
+++ b/magick/Makefile.am
|
||||
@@ -471,15 +471,3 @@ MAGICK_EXTRA_DIST = \
|
||||
magick/nt-feature.c \
|
||||
magick/vms.c \
|
||||
magick/xwdfile.h_vms
|
||||
-
|
||||
-# Install magick-baseconfig.h
|
||||
-MAGICK_INSTALL_DATA_LOCAL_TARGETS = magick-install-data-local
|
||||
-magick-install-data-local:
|
||||
- $(mkinstalldirs) $(DESTDIR)$(magickincarchdir)
|
||||
- $(INSTALL_HEADER) magick/magick-baseconfig.h $(DESTDIR)$(magickincarchdir)/magick-baseconfig.h
|
||||
-
|
||||
-# Uninstall magick-config.h
|
||||
-MAGICK_UNINSTALL_LOCAL_TARGETS = magick-uninstall-local
|
||||
-magick-uninstall-local:
|
||||
- rm -f $(DESTDIR)$(magickincarchdir)/magick-baseconfig.h
|
||||
-
|
||||
--
|
||||
1.9.0
|
||||
|
||||
@@ -6,6 +6,7 @@ config BR2_PACKAGE_IPRUTILS
|
||||
select BR2_PACKAGE_NCURSES_TARGET_MENU
|
||||
select BR2_PACKAGE_LIBSYSFS
|
||||
select BR2_PACKAGE_PCIUTILS
|
||||
depends on !BR2_bfin # pciutils
|
||||
help
|
||||
System utilities for IBM Power RAID devices
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ config BR2_PACKAGE_IPSEC_TOOLS
|
||||
bool "ipsec-tools"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_FLEX
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
This package is required to support IPSec for Linux 2.6+
|
||||
|
||||
|
||||
@@ -2,7 +2,9 @@ config BR2_PACKAGE_JACK2
|
||||
bool "jack2"
|
||||
depends on BR2_LARGEFILE # libsndfile
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_arc # missing compiler intrinsics
|
||||
select BR2_PACKAGE_LIBSAMPLERATE
|
||||
select BR2_PACKAGE_LIBSNDFILE
|
||||
select BR2_PACKAGE_ALSA_LIB
|
||||
@@ -20,5 +22,7 @@ config BR2_PACKAGE_JACK2
|
||||
http://jackaudio.org/
|
||||
|
||||
comment "jack2 needs a toolchain w/ largefile, threads, C++"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_arc
|
||||
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
@@ -7,23 +7,24 @@
|
||||
JACK2_VERSION = ab409a65df95bc261ff72b52d6b3f4a65cf3266a
|
||||
JACK2_SITE = $(call github,jackaudio,jack2,$(JACK2_VERSION))
|
||||
JACK2_LICENSE = GPLv2+ (jack server), LGPLv2.1+ (jack library)
|
||||
JACK2_DEPENDENCIES = libsamplerate libsndfile alsa-lib
|
||||
JACK2_DEPENDENCIES = libsamplerate libsndfile alsa-lib host-python
|
||||
|
||||
define JACK2_CONFIGURE_CMDS
|
||||
(cd $(@D); \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
./waf configure \
|
||||
$(HOST_DIR)/usr/bin/python2 ./waf configure \
|
||||
--prefix=/usr \
|
||||
--alsa \
|
||||
)
|
||||
--alsa \
|
||||
)
|
||||
endef
|
||||
|
||||
define JACK2_BUILD_CMDS
|
||||
(cd $(@D); ./waf build -j $(PARALLEL_JOBS))
|
||||
(cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS))
|
||||
endef
|
||||
|
||||
define JACK2_INSTALL_TARGET_CMDS
|
||||
(cd $(@D); ./waf --destdir=$(TARGET_DIR) install)
|
||||
(cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) \
|
||||
install)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
@@ -4,6 +4,7 @@ config BR2_PACKAGE_LESSTIF
|
||||
select BR2_PACKAGE_XLIB_LIBXT
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT
|
||||
select BR2_PACKAGE_FREETYPE
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
lesstif is the Hungry Programmers' version of OSF/Motif
|
||||
|
||||
|
||||
32
package/libdvdnav/libdvdnav-01-fix-os2-support.patch
Normal file
32
package/libdvdnav/libdvdnav-01-fix-os2-support.patch
Normal file
@@ -0,0 +1,32 @@
|
||||
configure: fix build on NIOS II platform
|
||||
|
||||
NIOS II is a CPU architecture from Altera, which uses 'nios2' as the
|
||||
architecture part of the tuple. Unfortunately, 'nios2' matches the
|
||||
current '*os2*' test done by libdvdnav's configure script to detect
|
||||
the OS/2 operating system. This leads to build issues as the build
|
||||
process of libdvdnav then tries to use OS/2 specific compiler
|
||||
options, that do not exist in the gcc used for Linux/NIOS2.
|
||||
|
||||
To fix this, this patch makes the test for OS/2 a little bit more
|
||||
specific: in the case of the OS/2 operating system, the OS part of the
|
||||
tuple contains just 'os2' (confirmed by looking at config.guess and
|
||||
config.sub in the gnuconfig project). So using '*-os2-*' will properly
|
||||
match the OS/2 operating system but not the NIOS II architecture.
|
||||
|
||||
Upstream-status: not needed, newer upstream versions no longer have
|
||||
this test
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/configure.ac
|
||||
===================================================================
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -166,7 +166,7 @@
|
||||
*cygwin*)
|
||||
LDFLAGS="-no-undefined $LDFLAGS"
|
||||
;;
|
||||
- *os2*)
|
||||
+ *-os2-*)
|
||||
LDFLAGS="-no-undefined -Zbin-files $LDFLAGS"
|
||||
;;
|
||||
*)
|
||||
31
package/libdvdread/libdvdread-01-fix-os2-support.patch
Normal file
31
package/libdvdread/libdvdread-01-fix-os2-support.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
configure: fix build on NIOS II platform
|
||||
|
||||
NIOS II is a CPU architecture from Altera, which uses 'nios2' as the
|
||||
architecture part of the tuple. Unfortunately, 'nios2' matches the
|
||||
current '*os2*' test done by libdvdread's configure script to detect
|
||||
the OS/2 operating system. This leads to build issues as the build
|
||||
process of libdvdread then tries to use OS/2 specific compiler
|
||||
options, that do not exist in the gcc used for Linux/NIOS2.
|
||||
|
||||
To fix this, this patch makes the test for OS/2 a little bit more
|
||||
specific: in the case of the OS/2 operating system, the OS part of the
|
||||
tuple contains just 'os2' (confirmed by looking at config.guess and
|
||||
config.sub in the gnuconfig project). So using '*-os2-*' will properly
|
||||
match the OS/2 operating system but not the NIOS II architecture.
|
||||
|
||||
Upstream-status: submitted
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/configure.ac
|
||||
===================================================================
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -146,7 +146,7 @@
|
||||
*cygwin*)
|
||||
LDFLAGS="-no-undefined $LDFLAGS"
|
||||
;;
|
||||
- *os2*)
|
||||
+ *-os2-*)
|
||||
LDFLAGS="-no-undefined -Zbin-files $LDFLAGS"
|
||||
;;
|
||||
*)
|
||||
@@ -30,8 +30,12 @@ LIBNSS_BUILD_VARS = MOZILLA_CLIENT=1 \
|
||||
OS_TEST="$(ARCH)"
|
||||
|
||||
ifeq ($(BR2_ARCH_IS_64),y)
|
||||
# MIPS64 n32 is treated as a 32-bit architecture by libnss.
|
||||
# See: https://bugzilla.mozilla.org/show_bug.cgi?id=1010730
|
||||
ifeq ($(BR2_MIPS_NABI32),)
|
||||
LIBNSS_BUILD_VARS += USE_64=1
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
define LIBNSS_BUILD_CMDS
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
From 24484e80b3e329c9edee1995e102f8612eedb79c Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Date: Tue, 13 May 2014 23:32:27 +0200
|
||||
Subject: [PATCH] Add AO_REQUIRE_CAS to fix build on ARM < v6
|
||||
|
||||
ARM earlier than ARMv6, such as ARMv4 and ARMv5 do not provide
|
||||
optimize atomic operations in libatomic_ops. Since libunwind is using
|
||||
such operations, it should define AO_REQUIRE_CAS before including
|
||||
<atomic_ops.h> so that libatomic_ops knows it should use emulated
|
||||
atomic operations instead (even though they are obviously a lot more
|
||||
expensive).
|
||||
|
||||
Also, while real atomic operations are all inline functions and
|
||||
therefore linking against libatomic_ops was not required, the emulated
|
||||
atomic operations actually require linking against libatomic_ops, so
|
||||
the commented AC_CHECK_LIB test in acinclude.m4 is uncommented to make
|
||||
sure we link against libatomic_ops.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
acinclude.m4 | 8 +-------
|
||||
include/libunwind_i.h | 1 +
|
||||
2 files changed, 2 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/acinclude.m4 b/acinclude.m4
|
||||
index 497f7c2..9c15af1 100644
|
||||
--- a/acinclude.m4
|
||||
+++ b/acinclude.m4
|
||||
@@ -22,11 +22,5 @@ fi])
|
||||
AC_DEFUN([CHECK_ATOMIC_OPS],
|
||||
[dnl Check whether the system has the atomic_ops package installed.
|
||||
AC_CHECK_HEADERS(atomic_ops.h)
|
||||
-#
|
||||
-# Don't link against libatomic_ops for now. We don't want libunwind
|
||||
-# to depend on libatomic_ops.so. Fortunately, none of the platforms
|
||||
-# we care about so far need libatomic_ops.a (everything is done via
|
||||
-# inline macros).
|
||||
-#
|
||||
-# AC_CHECK_LIB(atomic_ops, main)
|
||||
+ AC_CHECK_LIB(atomic_ops, main)
|
||||
])
|
||||
diff --git a/include/libunwind_i.h b/include/libunwind_i.h
|
||||
index 23f615e..deabdfd 100644
|
||||
--- a/include/libunwind_i.h
|
||||
+++ b/include/libunwind_i.h
|
||||
@@ -95,6 +95,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
(pthread_mutex_unlock != NULL ? pthread_mutex_unlock (l) : 0)
|
||||
|
||||
#ifdef HAVE_ATOMIC_OPS_H
|
||||
+# define AO_REQUIRE_CAS
|
||||
# include <atomic_ops.h>
|
||||
static inline int
|
||||
cmpxchg_ptr (void *addr, void *old, void *new)
|
||||
--
|
||||
1.9.2
|
||||
|
||||
@@ -9,5 +9,10 @@ LIBUNWIND_SITE = http://download.savannah.gnu.org/releases/libunwind
|
||||
LIBUNWIND_INSTALL_STAGING = YES
|
||||
LIBUNWIND_LICENSE_FILES = COPYING
|
||||
LIBUNWIND_LICENSE = MIT
|
||||
LIBUNWIND_AUTORECONF = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y)
|
||||
LIBUNWIND_DEPENDENCIES = libatomic_ops
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBV4L
|
||||
bool "libv4l"
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_JPEG
|
||||
help
|
||||
libv4l is an accompanying collection of libraries that adds a thin
|
||||
@@ -61,3 +62,4 @@ endif
|
||||
|
||||
comment "libv4l needs a toolchain w/ largefile, threads"
|
||||
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU
|
||||
|
||||
@@ -145,13 +145,13 @@ endchoice
|
||||
config BR2_DEFAULT_KERNEL_HEADERS
|
||||
string
|
||||
default "3.0.101" if BR2_KERNEL_HEADERS_3_0
|
||||
default "3.2.58" if BR2_KERNEL_HEADERS_3_2
|
||||
default "3.4.89" if BR2_KERNEL_HEADERS_3_4
|
||||
default "3.2.59" if BR2_KERNEL_HEADERS_3_2
|
||||
default "3.4.91" if BR2_KERNEL_HEADERS_3_4
|
||||
default "3.8.13" if BR2_KERNEL_HEADERS_3_8
|
||||
default "3.9.11" if BR2_KERNEL_HEADERS_3_9
|
||||
default "3.10.39" if BR2_KERNEL_HEADERS_3_10
|
||||
default "3.10.40" if BR2_KERNEL_HEADERS_3_10
|
||||
default "3.11.10" if BR2_KERNEL_HEADERS_3_11
|
||||
default "3.12.19" if BR2_KERNEL_HEADERS_3_12
|
||||
default "3.12.20" if BR2_KERNEL_HEADERS_3_12
|
||||
default "3.13.11" if BR2_KERNEL_HEADERS_3_13
|
||||
default "3.14.3" if BR2_KERNEL_HEADERS_3_14
|
||||
default "3.14.4" if BR2_KERNEL_HEADERS_3_14
|
||||
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||
|
||||
@@ -49,7 +49,8 @@ endef
|
||||
define LSOF_CONFIGURE_CMDS
|
||||
(cd $(@D) ; \
|
||||
echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" \
|
||||
LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 ./Configure linux)
|
||||
LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 \
|
||||
LINUX_CLIB=-DGLIBCV=2 ./Configure linux)
|
||||
$(LSOF_CONFIGURE_WCHAR_FIXUPS)
|
||||
$(LSOF_CONFIGURE_LOCALE_FIXUPS)
|
||||
endef
|
||||
|
||||
@@ -8,6 +8,7 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_USE_MMU # libglib2
|
||||
depends on BR2_LARGEFILE # util-linux
|
||||
depends on BR2_UCLIBC_VERSION_SNAPSHOT || BR2_TOOLCHAIN_USES_GLIBC # posix_fallocate
|
||||
help
|
||||
Babeltrace is part of the LTTng 2.x project.
|
||||
|
||||
@@ -25,7 +26,8 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
|
||||
|
||||
http://lttng.org
|
||||
|
||||
comment "lttng-babeltrace needs a toolchain w/ wchar, threads, largefile"
|
||||
comment "lttng-babeltrace needs a uclibc snapshot or (e)glib toolchain w/ wchar, threads, largefile"
|
||||
depends on BR2_PACKAGE_LTTNG_TOOLS
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_USE_WCHAR || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| !BR2_UCLIBC_VERSION_SNAPSHOT || !BR2_TOOLCHAIN_USES_GLIBC
|
||||
|
||||
@@ -14,6 +14,8 @@ LUA_INSTALL_STAGING = YES
|
||||
LUA_LICENSE = MIT
|
||||
LUA_LICENSE_FILES = COPYRIGHT
|
||||
|
||||
LUA_PROVIDES = luainterpreter
|
||||
|
||||
LUA_CFLAGS = -Wall -fPIC -DLUA_USE_POSIX
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUA_5_2),y)
|
||||
|
||||
22
package/luajit/luajit-06-install-so.patch
Normal file
22
package/luajit/luajit-06-install-so.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
fix the following runtime error :
|
||||
luajit: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory
|
||||
|
||||
by creating two symbolic links:
|
||||
libluajit-5.1.so -> libluajit-5.1.so.2.0.3
|
||||
libluajit-5.1.so.2 -> libluajit-5.1.so.2.0.3
|
||||
|
||||
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
|
||||
|
||||
Index: b/Makefile
|
||||
===================================================================
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -56,7 +56,7 @@
|
||||
INSTALL_STATIC= $(INSTALL_LIB)/$(INSTALL_ANAME)
|
||||
INSTALL_DYN= $(INSTALL_LIB)/$(INSTALL_SONAME)
|
||||
INSTALL_SHORT1= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
|
||||
-INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
|
||||
+INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT).$(MAJVER)
|
||||
INSTALL_T= $(INSTALL_BIN)/$(INSTALL_TNAME)
|
||||
INSTALL_TSYM= $(INSTALL_BIN)/$(INSTALL_TSYMNAME)
|
||||
INSTALL_PC= $(INSTALL_PKGCONFIG)/$(INSTALL_PCNAME)
|
||||
@@ -12,6 +12,8 @@ LUAJIT_LICENSE_FILES = COPYRIGHT
|
||||
|
||||
LUAJIT_INSTALL_STAGING = YES
|
||||
|
||||
LUAJIT_PROVIDES = luainterpreter
|
||||
|
||||
ifneq ($(BR2_LARGEFILE),y)
|
||||
LUAJIT_NO_LARGEFILE = TARGET_LFSFLAGS=
|
||||
endif
|
||||
|
||||
@@ -36,6 +36,7 @@ config BR2_PACKAGE_MATCHBOX_COMMON_PDA
|
||||
config BR2_PACKAGE_MATCHBOX_KEYBOARD
|
||||
bool "Matchbox Virtual Keyboard"
|
||||
select BR2_PACKAGE_XLIB_LIBXTST
|
||||
select BR2_PACKAGE_XLIB_LIBXFT if !BR2_PACKAGE_CAIRO
|
||||
help
|
||||
Virtual Keyboard
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ MATCHBOX_KEYBOARD_SOURCE = matchbox-keyboard-$(MATCHBOX_KEYBOARD_VERSION).tar.bz
|
||||
MATCHBOX_KEYBOARD_SITE = http://downloads.yoctoproject.org/releases/matchbox/matchbox-keyboard/$(MATCHBOX_KEYBOARD_VERSION)
|
||||
MATCHBOX_KEYBOARD_LICENSE = GPLv2+
|
||||
MATCHBOX_KEYBOARD_LICENSE_FILES = COPYING
|
||||
MATCHBOX_KEYBOARD_DEPENDENCIES = matchbox-lib matchbox-fakekey
|
||||
MATCHBOX_KEYBOARD_DEPENDENCIES = host-pkgconf matchbox-lib matchbox-fakekey expat
|
||||
|
||||
# Workaround bug in configure script
|
||||
MATCHBOX_KEYBOARD_CONF_ENV = expat=yes
|
||||
@@ -22,8 +22,9 @@ MATCHBOX_KEYBOARD_POST_INSTALL_TARGET_HOOKS += MATCHBOX_KEYBOARD_POST_INSTALL_FI
|
||||
|
||||
################################################################################
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PANGO),y)
|
||||
MATCHBOX_PKEYBOARD_CONF_OPT += --enable-pango
|
||||
ifeq ($(BR2_PACKAGE_CAIRO),y)
|
||||
MATCHBOX_KEYBOARD_CONF_OPT += --enable-cairo
|
||||
MATCHBOX_KEYBOARD_DEPENDENCIES += cairo
|
||||
else
|
||||
MATCHBOX_KEYBOARD_DEPENDENCIES += xlib_libXft
|
||||
endif
|
||||
|
||||
@@ -13,6 +13,8 @@ MESA3D_AUTORECONF = YES
|
||||
|
||||
MESA3D_INSTALL_STAGING = YES
|
||||
|
||||
MESA3D_PROVIDES =
|
||||
|
||||
MESA3D_DEPENDENCIES = \
|
||||
expat \
|
||||
host-bison \
|
||||
@@ -71,6 +73,7 @@ ifeq ($(MESA3D_DRI_DRIVERS-y),)
|
||||
MESA3D_CONF_OPT += \
|
||||
--without-dri-drivers
|
||||
else
|
||||
MESA3D_PROVIDES += libgl
|
||||
MESA3D_CONF_OPT += \
|
||||
--enable-dri \
|
||||
--enable-shared-glapi \
|
||||
@@ -85,6 +88,7 @@ endif
|
||||
MESA3D_CONF_OPT += --enable-opengl
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
|
||||
MESA3D_PROVIDES += libegl
|
||||
# egl depends on gbm, gbm depends on udev
|
||||
MESA3D_DEPENDENCIES += udev
|
||||
MESA3D_EGL_PLATFORMS = drm
|
||||
@@ -105,6 +109,7 @@ MESA3D_CONF_OPT += \
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_ES),y)
|
||||
MESA3D_PROVIDES += libgles
|
||||
MESA3D_CONF_OPT += --enable-gles1 --enable-gles2
|
||||
else
|
||||
MESA3D_CONF_OPT += --disable-gles1 --disable-gles2
|
||||
|
||||
@@ -14,6 +14,7 @@ MIDORI_DEPENDENCIES = \
|
||||
host-intltool \
|
||||
host-pkgconf \
|
||||
host-vala \
|
||||
host-python \
|
||||
libgtk2 \
|
||||
libsexy \
|
||||
webkit \
|
||||
@@ -30,18 +31,18 @@ define MIDORI_CONFIGURE_CMDS
|
||||
$(MIDORI_WITHOUT_X11)
|
||||
(cd $(@D); \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
./waf configure \
|
||||
$(HOST_DIR)/usr/bin/python2 ./waf configure \
|
||||
--prefix=/usr \
|
||||
--disable-libnotify \
|
||||
)
|
||||
endef
|
||||
|
||||
define MIDORI_BUILD_CMDS
|
||||
(cd $(@D); ./waf build -j $(PARALLEL_JOBS))
|
||||
(cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS))
|
||||
endef
|
||||
|
||||
define MIDORI_INSTALL_TARGET_CMDS
|
||||
(cd $(@D); ./waf --destdir=$(TARGET_DIR) install)
|
||||
(cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) install)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_MONIT
|
||||
bool "monit"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Monit is a free open source utility for managing and
|
||||
monitoring, processes, programs, files, directories and
|
||||
@@ -11,4 +12,5 @@ config BR2_PACKAGE_MONIT
|
||||
http://mmonit.com/monit/
|
||||
|
||||
comment "monit needs a toolchain w/ threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -48,6 +48,7 @@ config BR2_PACKAGE_MPD_PULSEAUDIO
|
||||
bool "pulseaudio"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
|
||||
depends on BR2_LARGEFILE # pulseaudio -> libsndfile
|
||||
depends on BR2_USE_MMU # pulseaudio
|
||||
select BR2_PACKAGE_PULSEAUDIO
|
||||
help
|
||||
Enable pulseaudio output support.
|
||||
|
||||
13
package/mplayer/mplayer-0004-add-arc-support.patch
Normal file
13
package/mplayer/mplayer-0004-add-arc-support.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
--- mplayer-1.1/configure 2013-12-03 00:32:10.815571460 -0800
|
||||
+++ mplayer-1.1-arc/configure 2013-11-29 00:34:29.238297709 -0800
|
||||
@@ -2492,6 +2492,10 @@
|
||||
generic)
|
||||
arch='generic'
|
||||
;;
|
||||
+ arc)
|
||||
+ arch='arc'
|
||||
+ iproc='arc'
|
||||
+ ;;
|
||||
|
||||
*)
|
||||
echo "The architecture of your CPU ($host_arch) is not supported by this configure script"
|
||||
@@ -21,4 +21,4 @@ endif
|
||||
|
||||
MTR_POST_PATCH_HOOKS += MTR_DISABLE_RES_NINIT
|
||||
|
||||
$(eval $(call autotools-package))
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -33,6 +33,14 @@ MYSQL_CONF_OPT = \
|
||||
--enable-thread-safe-client \
|
||||
--disable-mysql-maintainer-mode
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
MYSQL_DEPENDENCIES += openssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
MYSQL_DEPENDENCIES += zlib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MYSQL_SERVER),y)
|
||||
MYSQL_DEPENDENCIES += host-mysql host-bison
|
||||
HOST_MYSQL_DEPENDENCIES =
|
||||
|
||||
@@ -24,6 +24,8 @@ NETSNMP_CONF_OPT = --with-persistent-directory=/var/lib/snmp \
|
||||
--with-out-mib-modules="$(call qstrip,$(BR2_PACKAGE_NETSNMP_WITHOUT_MIB_MODULES))" \
|
||||
--with-out-transports="Unix" \
|
||||
--disable-manuals
|
||||
NETSNMP_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true install
|
||||
NETSNMP_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install
|
||||
NETSNMP_MAKE = $(MAKE1)
|
||||
NETSNMP_CONFIG_SCRIPTS = net-snmp-config
|
||||
|
||||
@@ -48,34 +50,35 @@ else
|
||||
NETSNMP_CONF_OPT += --without-openssl
|
||||
endif
|
||||
|
||||
# Docs
|
||||
NETSNMP_CONF_OPT += --disable-manuals
|
||||
|
||||
ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_MIBS),y)
|
||||
NETSNMP_CONF_OPT += --disable-mib-loading
|
||||
NETSNMP_CONF_OPT += --disable-mibs
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING),y)
|
||||
NETSNMP_CONF_OPT += --disable-debugging
|
||||
endif
|
||||
|
||||
# Remove IPv6 MIBs if there's no IPv6
|
||||
ifneq ($(BR2_INET_IPV6),y)
|
||||
define NETSNMP_REMOVE_MIBS_IPV6
|
||||
rm -f $(TARGET_DIR)/usr/share/snmp/mibs/IPV6*
|
||||
endef
|
||||
|
||||
NETSNMP_POST_INSTALL_TARGET_HOOKS += NETSNMP_REMOVE_MIBS_IPV6
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING),y)
|
||||
NETSNMP_CONF_OPT += --disable-debugging
|
||||
endif
|
||||
|
||||
define NETSNMP_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||
DESTDIR=$(TARGET_DIR) install
|
||||
$(INSTALL) -D -m 0755 package/netsnmp/S59snmpd \
|
||||
$(TARGET_DIR)/etc/init.d/S59snmpd
|
||||
define NETSNMP_REMOVE_BLOAT_MIBS
|
||||
for mib in $(NETSNMP_BLOAT_MIBS); do \
|
||||
rm -f $(TARGET_DIR)/usr/share/snmp/mibs/$$mib-MIB.txt; \
|
||||
done
|
||||
$(NETSNMP_REMOVE_MIBS_IPV6)
|
||||
endef
|
||||
|
||||
NETSNMP_POST_INSTALL_TARGET_HOOKS += NETSNMP_REMOVE_BLOAT_MIBS
|
||||
|
||||
define NETSNMP_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D -m 0755 package/netsnmp/S59snmpd \
|
||||
$(TARGET_DIR)/etc/init.d/S59snmpd
|
||||
endef
|
||||
|
||||
define NETSNMP_STAGING_NETSNMP_CONFIG_FIXUP
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_NEWT
|
||||
bool "newt"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_USE_MMU # slang
|
||||
select BR2_PACKAGE_SLANG
|
||||
select BR2_PACKAGE_POPT
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||
@@ -10,4 +11,5 @@ config BR2_PACKAGE_NEWT
|
||||
http://www.redhat.com/
|
||||
|
||||
comment "newt needs a toolchain w/ wchar"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR
|
||||
|
||||
43
package/nodejs/nodejs-0003-use-python-variable.patch
Normal file
43
package/nodejs/nodejs-0003-use-python-variable.patch
Normal file
@@ -0,0 +1,43 @@
|
||||
Use a python variable instead of hardcoding Python
|
||||
|
||||
The nodejs build system uses python in a number of locations. However,
|
||||
there are some locations where it hardcodes 'python' as the Python
|
||||
interpreter. However, this causes problems when we need to use python2
|
||||
instead of just python.
|
||||
|
||||
This patch fixes that by using the python variable already in place in
|
||||
the nodejs build system.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/deps/v8/tools/gyp/v8.gyp
|
||||
===================================================================
|
||||
--- a/deps/v8/tools/gyp/v8.gyp
|
||||
+++ b/deps/v8/tools/gyp/v8.gyp
|
||||
@@ -792,7 +792,7 @@
|
||||
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
|
||||
],
|
||||
'action': [
|
||||
- 'python',
|
||||
+ '<(python)',
|
||||
'../../tools/js2c.py',
|
||||
'<@(_outputs)',
|
||||
'CORE',
|
||||
@@ -810,7 +810,7 @@
|
||||
'<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
|
||||
],
|
||||
'action': [
|
||||
- 'python',
|
||||
+ '<(python)',
|
||||
'../../tools/js2c.py',
|
||||
'<@(_outputs)',
|
||||
'EXPERIMENTAL',
|
||||
@@ -840,7 +840,7 @@
|
||||
'<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
|
||||
],
|
||||
'action': [
|
||||
- 'python',
|
||||
+ '<(python)',
|
||||
'../../tools/gen-postmortem-metadata.py',
|
||||
'<@(_outputs)',
|
||||
'<@(heapobject_files)'
|
||||
@@ -19,8 +19,6 @@ endif
|
||||
|
||||
# nodejs build system is based on python, but only support python-2.6 or
|
||||
# python-2.7. So, we have to enforce PYTHON interpreter to be python2.
|
||||
# However, few build scripts hard-code 'python' as the interpreter to be
|
||||
# invoked; so we have to manually fix them.
|
||||
define HOST_NODEJS_CONFIGURE_CMDS
|
||||
# Build with the static, built-in OpenSSL which is supplied as part of
|
||||
# the nodejs source distribution. This is needed on the host because
|
||||
@@ -35,8 +33,6 @@ define HOST_NODEJS_CONFIGURE_CMDS
|
||||
--without-dtrace \
|
||||
--without-etw \
|
||||
)
|
||||
$(SED) "s@'python',@'$(HOST_DIR)/usr/bin/python2',@" \
|
||||
$(@D)/deps/v8/tools/gyp/v8.gyp
|
||||
endef
|
||||
|
||||
define HOST_NODEJS_BUILD_CMDS
|
||||
@@ -81,8 +77,6 @@ define NODEJS_CONFIGURE_CMDS
|
||||
$(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \
|
||||
--dest-os=linux \
|
||||
)
|
||||
$(SED) "s@'python',@'$(HOST_DIR)/usr/bin/python2',@" \
|
||||
$(@D)/deps/v8/tools/gyp/v8.gyp
|
||||
endef
|
||||
|
||||
define NODEJS_BUILD_CMDS
|
||||
|
||||
@@ -189,12 +189,14 @@ config BR2_PACKAGE_OPENCV_WITH_V4L
|
||||
bool "v4l support"
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # libv4l fork
|
||||
select BR2_PACKAGE_LIBV4L
|
||||
help
|
||||
Enable Video 4 Linux support.
|
||||
|
||||
comment "v4l support needs a toolchain w/ largefile, threads"
|
||||
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU
|
||||
|
||||
comment "Install options"
|
||||
|
||||
|
||||
@@ -60,6 +60,9 @@ config BR2_PACKAGE_OPENPOWERLINK_82573
|
||||
config BR2_PACKAGE_OPENPOWERLINK_8255x
|
||||
bool "Intel 8255x"
|
||||
|
||||
config BR2_PACKAGE_OPENPOWERLINK_I210
|
||||
bool "Intel I210"
|
||||
|
||||
config BR2_PACKAGE_OPENPOWERLINK_RTL8139
|
||||
bool "Realtek RTL-8139"
|
||||
|
||||
|
||||
@@ -5,9 +5,8 @@
|
||||
################################################################################
|
||||
|
||||
OPENPOWERLINK_VERSION = V1.08.4
|
||||
OPENPOWERLINK_SOURCE = openPOWERLINK-$(OPENPOWERLINK_VERSION).zip
|
||||
OPENPOWERLINK_SITE = http://downloads.sourceforge.net/project/openpowerlink/openPOWERLINK/V1.8.4
|
||||
|
||||
OPENPOWERLINK_SITE = http://git.code.sf.net/p/openpowerlink/code
|
||||
OPENPOWERLINK_SITE_METHOD = git
|
||||
OPENPOWERLINK_LICENSE = BSD-2c, GPLv2
|
||||
OPENPOWERLINK_LICENSE_FILES = license.txt
|
||||
OPENPOWERLINK_INSTALL_STAGING = YES
|
||||
@@ -52,10 +51,12 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENPOWERLINK_82573),y)
|
||||
OPENPOWERLINK_CONF_OPT += -DCFG_POWERLINK_EDRV=82573
|
||||
else ifeq ($(BR2_PACKAGE_OPENPOWERLINK_RTL8139),y)
|
||||
OPENPOWERLINK_CONF_OPT += -DCFG_POWERLINK_EDRV=8139
|
||||
else ifeq ($(BR2_PACKAGE_OPENPOWERLINK_8255x),y)
|
||||
OPENPOWERLINK_CONF_OPT += -DCFG_POWERLINK_EDRV=8255x
|
||||
else ifeq ($(BR2_PACKAGE_OPENPOWERLINK_I210),y)
|
||||
OPENPOWERLINK_CONF_OPT += -DCFG_POWERLINK_EDRV=I210
|
||||
else ifeq ($(BR2_PACKAGE_OPENPOWERLINK_RTL8139),y)
|
||||
OPENPOWERLINK_CONF_OPT += -DCFG_POWERLINK_EDRV=8139
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENPOWERLINK_MN),y)
|
||||
@@ -89,11 +90,4 @@ else
|
||||
OPENPOWERLINK_CONF_OPT += -DCFG_X86_DEMO_LINUX_KERNEL=OFF
|
||||
endif
|
||||
|
||||
define OPENPOWERLINK_EXTRACT_CMDS
|
||||
$(RM) -rf $(OPENPOWERLINK_DIR)
|
||||
unzip -q -d $(BUILD_DIR)/ $(DL_DIR)/$(OPENPOWERLINK_SOURCE)
|
||||
test -d $(OPENPOWERLINK_DIR) || \
|
||||
mv $(BUILD_DIR)/$(subst .zip,,$(OPENPOWERLINK_SOURCE)) $(OPENPOWERLINK_DIR)
|
||||
endef
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user