Compare commits
57
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3f3342a581 | ||
|
|
60cc46321d | ||
|
|
f01f2cde09 | ||
|
|
c5a153b668 | ||
|
|
b7b9426ccc | ||
|
|
9acd598bcc | ||
|
|
0af371be3a | ||
|
|
7540fe0c50 | ||
|
|
911406d11b | ||
|
|
85ef34d35a | ||
|
|
2a59854aa7 | ||
|
|
08fe324b8b | ||
|
|
c6b4a5fcc4 | ||
|
|
5787cf2516 | ||
|
|
814e99d21a | ||
|
|
3380da69c5 | ||
|
|
9194be9f3a | ||
|
|
247592ed00 | ||
|
|
0490a09fd7 | ||
|
|
f0d995cafd | ||
|
|
9624685030 | ||
|
|
07144093d4 | ||
|
|
6e1174c268 | ||
|
|
b5527d006b | ||
|
|
10a0715dd5 | ||
|
|
59679785e8 | ||
|
|
f9d311edc6 | ||
|
|
3e7d9a73b9 | ||
|
|
3c87cc9e42 | ||
|
|
4ab21916e1 | ||
|
|
7d02cc629c | ||
|
|
65778b8700 | ||
|
|
e0c8e18ed1 | ||
|
|
285f648658 | ||
|
|
7f338c69c6 | ||
|
|
84c700c8d9 | ||
|
|
0db34529f4 | ||
|
|
8389b62352 | ||
|
|
b6b718ca4b | ||
|
|
7dfe8c19e9 | ||
|
|
def633c4c5 | ||
|
|
781ce19d74 | ||
|
|
30706f9252 | ||
|
|
cfac2c01c3 | ||
|
|
602c76cb8b | ||
|
|
71b9a17c6e | ||
|
|
156633ace8 | ||
|
|
5883703bcd | ||
|
|
71664e775c | ||
|
|
25ab35697e | ||
|
|
51ad7ed676 | ||
|
|
b7e4eb68e0 | ||
|
|
27a82980e6 | ||
|
|
2e8e1d640f | ||
|
|
cc72cf2ca6 | ||
|
|
7a9407a5fc | ||
|
|
718248385c |
@@ -1,3 +1,24 @@
|
||||
2016.05-rc2, Released May 17th, 2016
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Rootfs overlay handling now refuses to overwrite
|
||||
/{usr,bin,sbin,lib} symlinks from BR2_ROOTFS_MERGED_USR option
|
||||
even if these directories are present in the overlay.
|
||||
|
||||
External toolchain: Unbreak user provided libraries deployment
|
||||
(BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS) handling after refactoring.
|
||||
|
||||
QEMU coldfire: Fix for signal handling kernel issue, enable
|
||||
networking support.
|
||||
|
||||
Updated/fixed packages: android-tools, assimp, boost, gcc,
|
||||
glibc, glmark2, gmrender-resurrect, go, go-bootstrap, iputils,
|
||||
jack2, kodi-screensaver-asterwave, kodi-screensaver-rsxs,
|
||||
kodi-visualisation-shadertoy, libarchive, libinput, libpjsip,
|
||||
mali-t76x, mtr, nginx, opencv, openvpn, python-coherence,
|
||||
qt5multimeda, quagga, samba4, sg3-utils, stress-ng, turbolua
|
||||
|
||||
2016.05-rc1, Released May 10th, 2016
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
@@ -694,8 +694,8 @@ config BR2_COMPILER_PARANOID_UNSAFE_PATH
|
||||
unsafe paths are encountered.
|
||||
|
||||
Note that this mechanism is available for both the internal
|
||||
toolchain (through gcc and binutils patches) and external
|
||||
toolchain backends (through the external toolchain wrapper).
|
||||
toolchain (through the toolchain wrapper and binutils patches)
|
||||
and external toolchain backends (through the toolchain wrapper).
|
||||
|
||||
endmenu
|
||||
|
||||
|
||||
@@ -145,6 +145,17 @@ endif
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2016.05"
|
||||
|
||||
config BR2_PACKAGE_OPENVPN_CRYPTO_POLARSSL
|
||||
bool "openvpn polarssl crypto backend removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The OpenVPN polarssl crypto backend option has been removed.
|
||||
Version from 2.3.10 onwards need polarssl >= 1.3.8 but aren't
|
||||
compatible with mbedtls (polarssl) series 2.x which is the
|
||||
version provided in buildroot. And both can't coexist.
|
||||
It now uses OpenSSL as the only option.
|
||||
|
||||
|
||||
config BR2_PACKAGE_NGINX_HTTP_SPDY_MODULE
|
||||
bool "nginx http spdy module removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
@@ -41,7 +41,7 @@ else # umask
|
||||
all:
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2016.05-rc1
|
||||
export BR2_VERSION := 2016.05-rc2
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
@@ -660,7 +660,7 @@ endif
|
||||
|
||||
@$(foreach d, $(call qstrip,$(BR2_ROOTFS_OVERLAY)), \
|
||||
$(call MESSAGE,"Copying overlay $(d)"); \
|
||||
rsync -a --ignore-times $(RSYNC_VCS_EXCLUSIONS) \
|
||||
rsync -a --ignore-times --keep-dirlinks $(RSYNC_VCS_EXCLUSIONS) \
|
||||
--chmod=u=rwX,go=rX --exclude .empty --exclude '*~' \
|
||||
$(d)/ $(TARGET_DIR)$(sep))
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ Build all components:
|
||||
|
||||
You will find in ./output/images/ the following files:
|
||||
- imx6ul-14x14-evk.dtb
|
||||
- rootfs.ext2
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- u-boot.imx
|
||||
|
||||
@@ -19,3 +19,10 @@ CONFIG_SERIAL_MCF_BAUDRATE=115200
|
||||
CONFIG_SERIAL_MCF_CONSOLE=y
|
||||
CONFIG_BOOTPARAM=y
|
||||
CONFIG_BOOTPARAM_STRING="console=ttyS0,115200"
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_NET_VENDOR_FREESCALE=y
|
||||
CONFIG_FEC=y
|
||||
|
||||
@@ -0,0 +1,100 @@
|
||||
From a95517992a37488c0bc8b629c47c570e580e407d Mon Sep 17 00:00:00 2001
|
||||
From: Greg Ungerer <gerg@uclinux.org>
|
||||
Date: Mon, 15 Feb 2016 16:36:29 +1000
|
||||
Subject: m68k: Use conventional function parameters for do_sigreturn
|
||||
|
||||
Create conventional stack parameters for the calls to do_sigreturn and
|
||||
do_rt_sigreturn. The current C code for do_sigreturn and do_rt_sigreturn
|
||||
dig into the stack to create local pointers to the saved switch stack
|
||||
and the pt_regs structs.
|
||||
|
||||
The motivation for this change is a problem with non-MMU targets that
|
||||
have broken signal return paths on newer versions of gcc. It appears as
|
||||
though gcc has determined that the pointers into the saved stack structs,
|
||||
and the saved structs themselves, are function parameters and updates to
|
||||
them will be lost on function return, so they are optimized away. This
|
||||
results in large parts of restore_sigcontext() and mangle_kernel_stack()
|
||||
functions being removed. Of course this results in non-functional code
|
||||
causing kernel oops. This problem has been observed with gcc version
|
||||
5.2 and 5.3, and probably exists in earlier versions as well.
|
||||
|
||||
Using conventional stack parameter pointers passed to these functions has
|
||||
the advantage of the code here not needing to know the exact details of
|
||||
how the underlying entry handler layed these structs out on the stack.
|
||||
So the rather ugly pointer setup casting and arg referencing can be
|
||||
removed.
|
||||
|
||||
The resulting code after this change is a few bytes larger (due to the
|
||||
overhead of creating the stack args and their tear down). Not being hot
|
||||
paths I don't think this is too much of a problem here.
|
||||
|
||||
An alternative solution is to put a barrier() in the do_sigreturn() code,
|
||||
but this doesn't feel quite as clean as this solution.
|
||||
|
||||
This change has been compile tested on all defconfigs, and run tested on
|
||||
Atari (through aranym), ColdFire with MMU (M5407EVB) and ColdFire with
|
||||
no-MMU (QEMU and M5208EVB).
|
||||
|
||||
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
|
||||
Acked-by: Andreas Schwab <schwab@linux-m68k.org>
|
||||
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
|
||||
---
|
||||
arch/m68k/kernel/entry.S | 6 ++++++
|
||||
arch/m68k/kernel/signal.c | 8 ++------
|
||||
2 files changed, 8 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/arch/m68k/kernel/entry.S b/arch/m68k/kernel/entry.S
|
||||
index b54ac7a..97cd3ea 100644
|
||||
--- a/arch/m68k/kernel/entry.S
|
||||
+++ b/arch/m68k/kernel/entry.S
|
||||
@@ -71,13 +71,19 @@ ENTRY(__sys_vfork)
|
||||
|
||||
ENTRY(sys_sigreturn)
|
||||
SAVE_SWITCH_STACK
|
||||
+ movel %sp,%sp@- | switch_stack pointer
|
||||
+ pea %sp@(SWITCH_STACK_SIZE+4) | pt_regs pointer
|
||||
jbsr do_sigreturn
|
||||
+ addql #8,%sp
|
||||
RESTORE_SWITCH_STACK
|
||||
rts
|
||||
|
||||
ENTRY(sys_rt_sigreturn)
|
||||
SAVE_SWITCH_STACK
|
||||
+ movel %sp,%sp@- | switch_stack pointer
|
||||
+ pea %sp@(SWITCH_STACK_SIZE+4) | pt_regs pointer
|
||||
jbsr do_rt_sigreturn
|
||||
+ addql #8,%sp
|
||||
RESTORE_SWITCH_STACK
|
||||
rts
|
||||
|
||||
diff --git a/arch/m68k/kernel/signal.c b/arch/m68k/kernel/signal.c
|
||||
index af1c4f3..2dcee3a 100644
|
||||
--- a/arch/m68k/kernel/signal.c
|
||||
+++ b/arch/m68k/kernel/signal.c
|
||||
@@ -737,10 +737,8 @@ badframe:
|
||||
return 1;
|
||||
}
|
||||
|
||||
-asmlinkage int do_sigreturn(unsigned long __unused)
|
||||
+asmlinkage int do_sigreturn(struct pt_regs *regs, struct switch_stack *sw)
|
||||
{
|
||||
- struct switch_stack *sw = (struct switch_stack *) &__unused;
|
||||
- struct pt_regs *regs = (struct pt_regs *) (sw + 1);
|
||||
unsigned long usp = rdusp();
|
||||
struct sigframe __user *frame = (struct sigframe __user *)(usp - 4);
|
||||
sigset_t set;
|
||||
@@ -764,10 +762,8 @@ badframe:
|
||||
return 0;
|
||||
}
|
||||
|
||||
-asmlinkage int do_rt_sigreturn(unsigned long __unused)
|
||||
+asmlinkage int do_rt_sigreturn(struct pt_regs *regs, struct switch_stack *sw)
|
||||
{
|
||||
- struct switch_stack *sw = (struct switch_stack *) &__unused;
|
||||
- struct pt_regs *regs = (struct pt_regs *) (sw + 1);
|
||||
unsigned long usp = rdusp();
|
||||
struct rt_sigframe __user *frame = (struct rt_sigframe __user *)(usp - 4);
|
||||
sigset_t set;
|
||||
--
|
||||
cgit v0.12
|
||||
|
||||
@@ -9,6 +9,8 @@ BR2_SYSTEM_DHCP="eth0"
|
||||
BR2_TARGET_ROOTFS_INITRAMFS=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
|
||||
BR2_GLOBAL_PATCH_DIR="board/qemu/m68k-mcf5208/patches/"
|
||||
|
||||
# Linux headers same as kernel, a 4.5 series
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5=y
|
||||
|
||||
@@ -24,7 +26,5 @@ BR2_LINUX_KERNEL_VMLINUX=y
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
||||
|
||||
# use minimal busybox with hush
|
||||
# use minimal busybox with hush and networking tools
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config"
|
||||
# mdev does not work correctly
|
||||
BR2_ROOTFS_DEVICE_CREATION_STATIC=y
|
||||
|
||||
@@ -42,37 +42,37 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2016.05-rc1</b></h3>
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2016.05-rc2</b></h3>
|
||||
<div class="row mt centered">
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2016.05-rc1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2016.05-rc2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2016.05-rc1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2016.05-rc2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2016.05-rc1.tar.gz">buildroot-2016.05-rc1.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2016.05-rc1.tar.gz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2016.05-rc2.tar.gz">buildroot-2016.05-rc2.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2016.05-rc2.tar.gz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2016.05-rc1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2016.05-rc2.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2016.05-rc1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2016.05-rc2.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2016.05-rc1.tar.bz2">buildroot-2016.05-rc1.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2016.05-rc1.tar.bz2.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2016.05-rc2.tar.bz2">buildroot-2016.05-rc2.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2016.05-rc2.tar.bz2.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
+24
-1
@@ -9,6 +9,28 @@
|
||||
<h2>News</h2>
|
||||
<ul class="timeline">
|
||||
|
||||
<li class="timeline-inverted">
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
<div class="timeline-heading">
|
||||
<h4 class="timeline-title">2016.05-rc2 released</h4>
|
||||
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>17 May 2016</small></p>
|
||||
</div>
|
||||
<div class="timeline-body">
|
||||
<p>Another week, another release candidate with more cleanups
|
||||
and build fixes. See
|
||||
the <a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2016.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-2016.05-rc2.tar.bz2">2016.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>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
@@ -20,7 +42,8 @@
|
||||
<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=2016.05-rc1">CHANGES</a>
|
||||
file for details.
|
||||
file for details and read the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2016-May/160897.html">announcement</a>.
|
||||
</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
|
||||
+2
-2
@@ -27,7 +27,7 @@ choice
|
||||
prompt "Kernel version"
|
||||
|
||||
config BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
bool "Latest version (4.5.3)"
|
||||
bool "Latest version (4.5.4)"
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
bool "Custom version"
|
||||
@@ -110,7 +110,7 @@ config BR2_LINUX_KERNEL_CUSTOM_LOCAL_PATH
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "4.5.3" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "4.5.4" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
|
||||
if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
Fix build on big endian systems
|
||||
|
||||
The usb_linux_client.c file defines cpu_to_le16/32 by using the C
|
||||
library htole16/32 function calls. However, cpu_to_le16/32 are used
|
||||
when initializing structures, i.e in a context where a function call
|
||||
is not allowed.
|
||||
|
||||
It works fine on little endian systems because htole16/32 are defined
|
||||
by the C library as no-ops. But on big-endian systems, they are
|
||||
actually doing something, which might involve calling a function,
|
||||
causing build failures.
|
||||
|
||||
To solve this, we simply open-code cpu_to_le16/32 in a way that allows
|
||||
them to be used when initializing structures.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/core/adb/usb_linux_client.c
|
||||
===================================================================
|
||||
--- a/core/adb/usb_linux_client.c
|
||||
+++ b/core/adb/usb_linux_client.c
|
||||
@@ -34,8 +34,15 @@
|
||||
#define MAX_PACKET_SIZE_FS 64
|
||||
#define MAX_PACKET_SIZE_HS 512
|
||||
|
||||
-#define cpu_to_le16(x) htole16(x)
|
||||
-#define cpu_to_le32(x) htole32(x)
|
||||
+#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
+# define cpu_to_le16(x) (x)
|
||||
+# define cpu_to_le32(x) (x)
|
||||
+#else
|
||||
+# define cpu_to_le16(x) ((((x) >> 8) & 0xffu) | (((x) & 0xffu) << 8))
|
||||
+# define cpu_to_le32(x) \
|
||||
+ ((((x) & 0xff000000u) >> 24) | (((x) & 0x00ff0000u) >> 8) | \
|
||||
+ (((x) & 0x0000ff00u) << 8) | (((x) & 0x000000ffu) << 24))
|
||||
+#endif
|
||||
|
||||
struct usb_handle
|
||||
{
|
||||
Index: b/core/adbd/usb_linux_client.c
|
||||
===================================================================
|
||||
--- a/core/adbd/usb_linux_client.c
|
||||
+++ b/core/adbd/usb_linux_client.c
|
||||
@@ -34,8 +34,15 @@
|
||||
#define MAX_PACKET_SIZE_FS 64
|
||||
#define MAX_PACKET_SIZE_HS 512
|
||||
|
||||
-#define cpu_to_le16(x) htole16(x)
|
||||
-#define cpu_to_le32(x) htole32(x)
|
||||
+#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
+# define cpu_to_le16(x) (x)
|
||||
+# define cpu_to_le32(x) (x)
|
||||
+#else
|
||||
+# define cpu_to_le16(x) ((((x) >> 8) & 0xffu) | (((x) & 0xffu) << 8))
|
||||
+# define cpu_to_le32(x) \
|
||||
+ ((((x) & 0xff000000u) >> 24) | (((x) & 0x00ff0000u) >> 8) | \
|
||||
+ (((x) & 0x0000ff00u) << 8) | (((x) & 0x000000ffu) << 24))
|
||||
+#endif
|
||||
|
||||
struct usb_handle
|
||||
{
|
||||
@@ -0,0 +1,36 @@
|
||||
Fix static linking of adb/adbd
|
||||
|
||||
Both adb and adbd use OpenSSL, which indirectly uses zlib. Since
|
||||
adb/adbd also use zlib directly -lz is included in the linker flags,
|
||||
but not at the right position to ensure that static linking works: to
|
||||
make it possible for OpenSSL symbols to see zlib symbols, -lz must
|
||||
appear after -lcrypto.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/debian/makefiles/adb.mk
|
||||
===================================================================
|
||||
--- a/debian/makefiles/adb.mk
|
||||
+++ b/debian/makefiles/adb.mk
|
||||
@@ -41,7 +41,7 @@
|
||||
CPPFLAGS+= -I$(SRCDIR)/core/adb
|
||||
CPPFLAGS+= -I$(SRCDIR)/core/include
|
||||
|
||||
-LIBS+= -lc -lpthread -lz -lcrypto
|
||||
+LIBS+= -lc -lpthread -lcrypto -lz
|
||||
|
||||
OBJS= $(SRCS:.c=.o)
|
||||
|
||||
Index: b/debian/makefiles/adbd.mk
|
||||
===================================================================
|
||||
--- a/debian/makefiles/adbd.mk
|
||||
+++ b/debian/makefiles/adbd.mk
|
||||
@@ -44,7 +44,7 @@
|
||||
CPPFLAGS+= -I$(SRCDIR)/core/adbd
|
||||
CPPFLAGS+= -I$(SRCDIR)/core/include
|
||||
|
||||
-LIBS+= -lc -lpthread -lz -lcrypto -lcrypt
|
||||
+LIBS+= -lc -lpthread -lcrypto -lz -lcrypt
|
||||
|
||||
OBJS= $(patsubst %, %.o, $(basename $(SRCS)))
|
||||
|
||||
@@ -1,40 +1,60 @@
|
||||
config BR2_PACKAGE_ANDROID_TOOLS
|
||||
bool "android-tools"
|
||||
select BR2_PACKAGE_ANDROID_TOOLS_ADBD if \
|
||||
!BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT && \
|
||||
!BR2_PACKAGE_ANDROID_TOOLS_ADB
|
||||
help
|
||||
This package contains the fastboot and adb utilities, that
|
||||
can be used to interact with target devices using of these
|
||||
protocols.
|
||||
bool "android-tools"
|
||||
# Technically, fastboot could build on noMMU systems. But
|
||||
# since we need at least one of the three sub-options enabled,
|
||||
# and adb/adbd can't be built on noMMU systems, and fastboot
|
||||
# has some complicated dependencies, we simply make the whole
|
||||
# package not available on noMMU platforms.
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_ANDROID_TOOLS_ADBD if \
|
||||
!BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT && \
|
||||
!BR2_PACKAGE_ANDROID_TOOLS_ADB
|
||||
help
|
||||
This package contains the fastboot and adb utilities, that
|
||||
can be used to interact with target devices using of these
|
||||
protocols.
|
||||
|
||||
if BR2_PACKAGE_ANDROID_TOOLS
|
||||
|
||||
config BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT
|
||||
bool "fastboot"
|
||||
select BR2_PACKAGE_LIBSELINUX
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
This option will build and install the fastboot utility for
|
||||
the target, which can be used to reflash other target devices
|
||||
implementing the fastboot protocol.
|
||||
bool "fastboot"
|
||||
select BR2_PACKAGE_LIBSELINUX
|
||||
select BR2_PACKAGE_ZLIB
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux
|
||||
depends on !BR2_STATIC_LIBS # libselinux
|
||||
depends on !BR2_arc # libselinux
|
||||
help
|
||||
This option will build and install the fastboot utility for
|
||||
the target, which can be used to reflash other target devices
|
||||
implementing the fastboot protocol.
|
||||
|
||||
comment "fastboot needs a toolchain w/ threads, dynamic library"
|
||||
depends on !BR2_arc
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
|
||||
config BR2_PACKAGE_ANDROID_TOOLS_ADB
|
||||
bool "adb"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
This option will build and install the adb utility for the
|
||||
target, which can be used to interact with other target
|
||||
devices implementing the ADB protocol.
|
||||
bool "adb"
|
||||
depends on BR2_USE_MMU # uses fork()
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
This option will build and install the adb utility for the
|
||||
target, which can be used to interact with other target
|
||||
devices implementing the ADB protocol.
|
||||
|
||||
config BR2_PACKAGE_ANDROID_TOOLS_ADBD
|
||||
bool "adbd"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
This option will build and install the adbd utility for the
|
||||
target, which can be used to interact with a host machine
|
||||
implementing the ADB protocol.
|
||||
bool "adbd"
|
||||
depends on BR2_USE_MMU # uses fork()
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
This option will build and install the adbd utility for the
|
||||
target, which can be used to interact with a host machine
|
||||
implementing the ADB protocol.
|
||||
|
||||
endif
|
||||
|
||||
comment "android-tools needs a toolchain w/ threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
config BR2_PACKAGE_HOST_ANDROID_TOOLS
|
||||
bool "host android-tools"
|
||||
select BR2_PACKAGE_ANDROID_TOOLS_ADB if \
|
||||
!BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT
|
||||
help
|
||||
This package contains the fastboot and adb utilities, that
|
||||
can be used to interact with target devices using of these
|
||||
protocols.
|
||||
bool "host android-tools"
|
||||
select BR2_PACKAGE_HOST_ANDROID_TOOLS_ADB if \
|
||||
!BR2_PACKAGE_HOST_ANDROID_TOOLS_FASTBOOT
|
||||
help
|
||||
This package contains the fastboot and adb utilities, that
|
||||
can be used to interact with target devices using of these
|
||||
protocols.
|
||||
|
||||
if BR2_PACKAGE_HOST_ANDROID_TOOLS
|
||||
|
||||
config BR2_PACKAGE_HOST_ANDROID_TOOLS_FASTBOOT
|
||||
bool "fastboot"
|
||||
help
|
||||
This option will build and install the fastboot utility for
|
||||
the host, which can be used to reflash target devices
|
||||
implementing the fastboot protocol.
|
||||
bool "fastboot"
|
||||
help
|
||||
This option will build and install the fastboot utility for
|
||||
the host, which can be used to reflash target devices
|
||||
implementing the fastboot protocol.
|
||||
|
||||
config BR2_PACKAGE_HOST_ANDROID_TOOLS_ADB
|
||||
bool "adb"
|
||||
help
|
||||
This option will build and install the adb utility for the
|
||||
host, which can be used to interact with target devices
|
||||
implementing the ADB protocol.
|
||||
bool "adb"
|
||||
help
|
||||
This option will build and install the adb utility for the
|
||||
host, which can be used to interact with target devices
|
||||
implementing the ADB protocol.
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
config BR2_PACKAGE_ASSIMP
|
||||
bool "assimp"
|
||||
# All gcc versions affected by
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71124, that
|
||||
# cause an infinite loop in gcc when building this package.
|
||||
depends on !BR2_microblaze
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
@@ -11,4 +15,5 @@ config BR2_PACKAGE_ASSIMP
|
||||
http://www.assimp.org
|
||||
|
||||
comment "assimp needs a toolchain w/ C++"
|
||||
depends on !BR2_microblaze
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
Disable fenv.h in certain configurations
|
||||
|
||||
The boost build system does not properly test whether fenv.h is
|
||||
available, and if it is, if it supports all the features used by
|
||||
Boost. This causes build failures with uClibc (reported upstream at
|
||||
https://svn.boost.org/trac/boost/ticket/11756) but also with glibc on
|
||||
specific architectures that don't have a full fenv implementation,
|
||||
such as NIOSII or Microblaze.
|
||||
|
||||
To address this, we forcefully disable the use of fenv support in the
|
||||
affected configurations.
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
[Thomas: add Microblaze/NIOSII exclusions.]
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/boost/config/platform/linux.hpp
|
||||
===================================================================
|
||||
--- a/boost/config/platform/linux.hpp
|
||||
+++ b/boost/config/platform/linux.hpp
|
||||
@@ -47,6 +47,16 @@
|
||||
#endif
|
||||
|
||||
//
|
||||
+// uClibc has no support for fenv.h, and also a few architectures
|
||||
+// don't have fenv.h support at all (or incomplete support) even with
|
||||
+// glibc.
|
||||
+
|
||||
+//
|
||||
+#if defined(__UCLIBC__) || defined(__nios2__) || defined(__microblaze__)
|
||||
+# define BOOST_NO_FENV_H
|
||||
+#endif
|
||||
+
|
||||
+//
|
||||
// If glibc is past version 2 then we definitely have
|
||||
// gettimeofday, earlier versions may or may not have it:
|
||||
//
|
||||
@@ -1,26 +0,0 @@
|
||||
Disable fenv.h support for uClibc-based toolchains.
|
||||
|
||||
The boost build system does not recognize the fact that fenv.h is an
|
||||
optional module in uClibc and tries to use it even if UCLIBC_HAS_FENV
|
||||
is disabled. This patch disables fenv support completely when compiling
|
||||
with a uClibc-based toolchain. Bug was reported upstream:
|
||||
https://svn.boost.org/trac/boost/ticket/11756
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
|
||||
--- boost_1_60_0.org/boost/config/platform/linux.hpp 2015-12-08 19:55:19.000000000 +0100
|
||||
+++ boost_1_60_0/boost/config/platform/linux.hpp 2016-02-06 12:35:25.692754553 +0100
|
||||
@@ -47,6 +47,13 @@
|
||||
#endif
|
||||
|
||||
//
|
||||
+// uClibc has no support for fenv.h
|
||||
+//
|
||||
+#if defined(__UCLIBC__)
|
||||
+# define BOOST_NO_FENV_H
|
||||
+#endif
|
||||
+
|
||||
+//
|
||||
// If glibc is past version 2 then we definitely have
|
||||
// gettimeofday, earlier versions may or may not have it:
|
||||
//
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Busybox version: 1.24.1
|
||||
# Sat Mar 12 15:36:27 2016
|
||||
# Busybox version: 1.24.2
|
||||
# Mon May 9 18:42:38 2016
|
||||
#
|
||||
CONFIG_HAVE_DOT_CONFIG=y
|
||||
|
||||
@@ -364,9 +364,9 @@ CONFIG_DEFAULT_SETFONT_DIR=""
|
||||
#
|
||||
# CONFIG_MKTEMP is not set
|
||||
# CONFIG_PIPE_PROGRESS is not set
|
||||
# CONFIG_RUN_PARTS is not set
|
||||
# CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS is not set
|
||||
# CONFIG_FEATURE_RUN_PARTS_FANCY is not set
|
||||
CONFIG_RUN_PARTS=y
|
||||
CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y
|
||||
CONFIG_FEATURE_RUN_PARTS_FANCY=y
|
||||
CONFIG_START_STOP_DAEMON=y
|
||||
CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y
|
||||
CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y
|
||||
@@ -384,7 +384,7 @@ CONFIG_WHICH=y
|
||||
# CONFIG_FEATURE_DIFF_DIR is not set
|
||||
# CONFIG_ED is not set
|
||||
# CONFIG_PATCH is not set
|
||||
# CONFIG_SED is not set
|
||||
CONFIG_SED=y
|
||||
# CONFIG_VI is not set
|
||||
CONFIG_FEATURE_VI_MAX_LEN=0
|
||||
# CONFIG_FEATURE_VI_8BIT is not set
|
||||
@@ -759,14 +759,14 @@ CONFIG_FEATURE_BEEP_LENGTH_MS=0
|
||||
# CONFIG_NAMEIF is not set
|
||||
# CONFIG_FEATURE_NAMEIF_EXTENDED is not set
|
||||
# CONFIG_NBDCLIENT is not set
|
||||
# CONFIG_NC is not set
|
||||
# CONFIG_NC_SERVER is not set
|
||||
CONFIG_NC=y
|
||||
CONFIG_NC_SERVER=y
|
||||
# CONFIG_NC_EXTRA is not set
|
||||
# CONFIG_NC_110_COMPAT is not set
|
||||
# CONFIG_PING is not set
|
||||
CONFIG_PING=y
|
||||
# CONFIG_PING6 is not set
|
||||
# CONFIG_FEATURE_FANCY_PING is not set
|
||||
# CONFIG_WGET is not set
|
||||
CONFIG_WGET=y
|
||||
# CONFIG_FEATURE_WGET_STATUSBAR is not set
|
||||
# CONFIG_FEATURE_WGET_AUTHENTICATION is not set
|
||||
# CONFIG_FEATURE_WGET_LONG_OPTIONS is not set
|
||||
@@ -806,23 +806,23 @@ CONFIG_HOSTNAME=y
|
||||
# CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set
|
||||
# CONFIG_FEATURE_HTTPD_PROXY is not set
|
||||
# CONFIG_FEATURE_HTTPD_GZIP is not set
|
||||
# CONFIG_IFCONFIG is not set
|
||||
# CONFIG_FEATURE_IFCONFIG_STATUS is not set
|
||||
CONFIG_IFCONFIG=y
|
||||
CONFIG_FEATURE_IFCONFIG_STATUS=y
|
||||
# CONFIG_FEATURE_IFCONFIG_SLIP is not set
|
||||
# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
|
||||
# CONFIG_FEATURE_IFCONFIG_HW is not set
|
||||
# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
|
||||
CONFIG_FEATURE_IFCONFIG_HW=y
|
||||
CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y
|
||||
# CONFIG_IFENSLAVE is not set
|
||||
# CONFIG_IFPLUGD is not set
|
||||
# CONFIG_IFUPDOWN is not set
|
||||
CONFIG_IFUPDOWN_IFSTATE_PATH=""
|
||||
# CONFIG_FEATURE_IFUPDOWN_IP is not set
|
||||
# CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN is not set
|
||||
CONFIG_IFUPDOWN=y
|
||||
CONFIG_IFUPDOWN_IFSTATE_PATH="/var/run/ifstate"
|
||||
CONFIG_FEATURE_IFUPDOWN_IP=y
|
||||
CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN=y
|
||||
# CONFIG_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN is not set
|
||||
# CONFIG_FEATURE_IFUPDOWN_IPV4 is not set
|
||||
CONFIG_FEATURE_IFUPDOWN_IPV4=y
|
||||
# CONFIG_FEATURE_IFUPDOWN_IPV6 is not set
|
||||
# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set
|
||||
# CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP is not set
|
||||
CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP=y
|
||||
# CONFIG_INETD is not set
|
||||
# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set
|
||||
# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set
|
||||
@@ -830,37 +830,37 @@ CONFIG_IFUPDOWN_IFSTATE_PATH=""
|
||||
# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set
|
||||
# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set
|
||||
# CONFIG_FEATURE_INETD_RPC is not set
|
||||
# CONFIG_IP is not set
|
||||
# CONFIG_FEATURE_IP_ADDRESS is not set
|
||||
# CONFIG_FEATURE_IP_LINK is not set
|
||||
# CONFIG_FEATURE_IP_ROUTE is not set
|
||||
CONFIG_FEATURE_IP_ROUTE_DIR=""
|
||||
CONFIG_IP=y
|
||||
CONFIG_FEATURE_IP_ADDRESS=y
|
||||
CONFIG_FEATURE_IP_LINK=y
|
||||
CONFIG_FEATURE_IP_ROUTE=y
|
||||
CONFIG_FEATURE_IP_ROUTE_DIR="/etc/iproute2"
|
||||
# CONFIG_FEATURE_IP_TUNNEL is not set
|
||||
# CONFIG_FEATURE_IP_RULE is not set
|
||||
# CONFIG_FEATURE_IP_SHORT_FORMS is not set
|
||||
CONFIG_FEATURE_IP_SHORT_FORMS=y
|
||||
# CONFIG_FEATURE_IP_RARE_PROTOCOLS is not set
|
||||
# CONFIG_IPADDR is not set
|
||||
# CONFIG_IPLINK is not set
|
||||
# CONFIG_IPROUTE is not set
|
||||
CONFIG_IPADDR=y
|
||||
CONFIG_IPLINK=y
|
||||
CONFIG_IPROUTE=y
|
||||
# CONFIG_IPTUNNEL is not set
|
||||
# CONFIG_IPRULE is not set
|
||||
# CONFIG_IPCALC is not set
|
||||
# CONFIG_FEATURE_IPCALC_FANCY is not set
|
||||
# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set
|
||||
# CONFIG_NETSTAT is not set
|
||||
CONFIG_NETSTAT=y
|
||||
# CONFIG_FEATURE_NETSTAT_WIDE is not set
|
||||
# CONFIG_FEATURE_NETSTAT_PRG is not set
|
||||
CONFIG_FEATURE_NETSTAT_PRG=y
|
||||
# CONFIG_NSLOOKUP is not set
|
||||
# CONFIG_NTPD is not set
|
||||
# CONFIG_FEATURE_NTPD_SERVER is not set
|
||||
# CONFIG_FEATURE_NTPD_CONF is not set
|
||||
# CONFIG_PSCAN is not set
|
||||
# CONFIG_ROUTE is not set
|
||||
CONFIG_ROUTE=y
|
||||
# CONFIG_SLATTACH is not set
|
||||
# CONFIG_TCPSVD is not set
|
||||
# CONFIG_TELNET is not set
|
||||
# CONFIG_FEATURE_TELNET_TTYPE is not set
|
||||
# CONFIG_FEATURE_TELNET_AUTOLOGIN is not set
|
||||
CONFIG_TELNET=y
|
||||
CONFIG_FEATURE_TELNET_TTYPE=y
|
||||
CONFIG_FEATURE_TELNET_AUTOLOGIN=y
|
||||
# CONFIG_TELNETD is not set
|
||||
# CONFIG_FEATURE_TELNETD_STANDALONE is not set
|
||||
# CONFIG_FEATURE_TELNETD_INETD_WAIT is not set
|
||||
@@ -885,16 +885,16 @@ CONFIG_FEATURE_IP_ROUTE_DIR=""
|
||||
# CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY is not set
|
||||
# CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC is not set
|
||||
CONFIG_DHCPD_LEASES_FILE=""
|
||||
# CONFIG_UDHCPC is not set
|
||||
CONFIG_UDHCPC=y
|
||||
# CONFIG_FEATURE_UDHCPC_ARPING is not set
|
||||
# CONFIG_FEATURE_UDHCPC_SANITIZEOPT is not set
|
||||
CONFIG_FEATURE_UDHCPC_SANITIZEOPT=y
|
||||
# CONFIG_FEATURE_UDHCP_PORT is not set
|
||||
CONFIG_UDHCP_DEBUG=0
|
||||
CONFIG_UDHCP_DEBUG=9
|
||||
# CONFIG_FEATURE_UDHCP_RFC3397 is not set
|
||||
# CONFIG_FEATURE_UDHCP_8021Q is not set
|
||||
CONFIG_UDHCPC_DEFAULT_SCRIPT=""
|
||||
CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=0
|
||||
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS=""
|
||||
CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"
|
||||
CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
|
||||
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n"
|
||||
# CONFIG_UDPSVD is not set
|
||||
# CONFIG_VCONFIG is not set
|
||||
# CONFIG_ZCIP is not set
|
||||
|
||||
@@ -1,166 +0,0 @@
|
||||
Fetched from Xilinx gcc git at https://github.com/Xilinx/gcc
|
||||
|
||||
From 23c35173490ac2d6348a668dfc9c1a6eb62171f2 Mon Sep 17 00:00:00 2001
|
||||
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
|
||||
Date: Mon, 18 Jun 2012 20:18:13 +0200
|
||||
Subject: [PATCH] [Patch, microblaze]: Enable DWARF exception handling support.
|
||||
|
||||
Changelog
|
||||
|
||||
2013-03-18 Edgar E. Iglesias <edgar.iglesias@xilinx.com>
|
||||
David Holsgrove <david.holsgrove@xilinx.com>
|
||||
|
||||
* common/config/microblaze/microblaze-common.c: Remove
|
||||
TARGET_EXCEPT_UNWIND_INFO definition.
|
||||
* config/microblaze/microblaze-protos.h: Add
|
||||
microblaze_eh_return prototype.
|
||||
* gcc/config/microblaze/microblaze.c: (microblaze_must_save_register,
|
||||
microblaze_expand_epilogue, microblaze_return_addr): Handle
|
||||
calls_eh_return
|
||||
(microblaze_eh_return): New function.
|
||||
* gcc/config/microblaze/microblaze.h: Define RETURN_ADDR_OFFSET,
|
||||
EH_RETURN_DATA_REGNO, MB_EH_STACKADJ_REGNUM, EH_RETURN_STACKADJ_RTX,
|
||||
ASM_PREFERRED_EH_DATA_FORMAT
|
||||
* gcc/config/microblaze/microblaze.md: Define eh_return pattern.
|
||||
|
||||
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
|
||||
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
|
||||
---
|
||||
gcc/common/config/microblaze/microblaze-common.c | 3 ---
|
||||
gcc/config/microblaze/microblaze-protos.h | 1 +
|
||||
gcc/config/microblaze/microblaze.c | 29 ++++++++++++++++++++----
|
||||
gcc/config/microblaze/microblaze.h | 15 ++++++++++++
|
||||
gcc/config/microblaze/microblaze.md | 11 +++++++++
|
||||
5 files changed, 52 insertions(+), 7 deletions(-)
|
||||
|
||||
Index: b/gcc/common/config/microblaze/microblaze-common.c
|
||||
===================================================================
|
||||
--- a/gcc/common/config/microblaze/microblaze-common.c
|
||||
+++ b/gcc/common/config/microblaze/microblaze-common.c
|
||||
@@ -37,7 +37,4 @@
|
||||
#undef TARGET_OPTION_OPTIMIZATION_TABLE
|
||||
#define TARGET_OPTION_OPTIMIZATION_TABLE microblaze_option_optimization_table
|
||||
|
||||
-#undef TARGET_EXCEPT_UNWIND_INFO
|
||||
-#define TARGET_EXCEPT_UNWIND_INFO sjlj_except_unwind_info
|
||||
-
|
||||
struct gcc_targetm_common targetm_common = TARGETM_COMMON_INITIALIZER;
|
||||
Index: b/gcc/config/microblaze/microblaze-protos.h
|
||||
===================================================================
|
||||
--- a/gcc/config/microblaze/microblaze-protos.h
|
||||
+++ b/gcc/config/microblaze/microblaze-protos.h
|
||||
@@ -57,6 +57,7 @@
|
||||
extern int symbol_mentioned_p (rtx);
|
||||
extern int label_mentioned_p (rtx);
|
||||
extern bool microblaze_cannot_force_const_mem (machine_mode, rtx);
|
||||
+extern void microblaze_eh_return (rtx op0);
|
||||
#endif /* RTX_CODE */
|
||||
|
||||
/* Declare functions in microblaze-c.c. */
|
||||
Index: b/gcc/config/microblaze/microblaze.c
|
||||
===================================================================
|
||||
--- a/gcc/config/microblaze/microblaze.c
|
||||
+++ b/gcc/config/microblaze/microblaze.c
|
||||
@@ -1924,6 +1924,11 @@
|
||||
if (frame_pointer_needed && (regno == HARD_FRAME_POINTER_REGNUM))
|
||||
return 1;
|
||||
|
||||
+ if (crtl->calls_eh_return
|
||||
+ && regno == MB_ABI_SUB_RETURN_ADDR_REGNUM) {
|
||||
+ return 1;
|
||||
+ }
|
||||
+
|
||||
if (!crtl->is_leaf)
|
||||
{
|
||||
if (regno == MB_ABI_SUB_RETURN_ADDR_REGNUM)
|
||||
@@ -1951,6 +1956,13 @@
|
||||
return 1;
|
||||
}
|
||||
|
||||
+ if (crtl->calls_eh_return
|
||||
+ && (regno == EH_RETURN_DATA_REGNO (0)
|
||||
+ || regno == EH_RETURN_DATA_REGNO (1)))
|
||||
+ {
|
||||
+ return 1;
|
||||
+ }
|
||||
+
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -3027,6 +3039,12 @@
|
||||
emit_insn (gen_addsi3 (stack_pointer_rtx, stack_pointer_rtx, fsiz_rtx));
|
||||
}
|
||||
|
||||
+ if (crtl->calls_eh_return)
|
||||
+ emit_insn (gen_addsi3 (stack_pointer_rtx,
|
||||
+ stack_pointer_rtx,
|
||||
+ gen_rtx_raw_REG (SImode,
|
||||
+ MB_EH_STACKADJ_REGNUM)));
|
||||
+
|
||||
emit_jump_insn (gen_return_internal (gen_rtx_REG (Pmode, GP_REG_FIRST +
|
||||
MB_ABI_SUB_RETURN_ADDR_REGNUM)));
|
||||
}
|
||||
@@ -3324,10 +3342,13 @@
|
||||
if (count != 0)
|
||||
return NULL_RTX;
|
||||
|
||||
- return gen_rtx_PLUS (Pmode,
|
||||
- get_hard_reg_initial_val (Pmode,
|
||||
- MB_ABI_SUB_RETURN_ADDR_REGNUM),
|
||||
- GEN_INT (8));
|
||||
+ return get_hard_reg_initial_val (Pmode,
|
||||
+ MB_ABI_SUB_RETURN_ADDR_REGNUM);
|
||||
+}
|
||||
+
|
||||
+void microblaze_eh_return (rtx op0)
|
||||
+{
|
||||
+ emit_insn (gen_movsi(gen_rtx_MEM(Pmode, stack_pointer_rtx), op0));
|
||||
}
|
||||
|
||||
/* Queue an .ident string in the queue of top-level asm statements.
|
||||
Index: b/gcc/config/microblaze/microblaze.h
|
||||
===================================================================
|
||||
--- a/gcc/config/microblaze/microblaze.h
|
||||
+++ b/gcc/config/microblaze/microblaze.h
|
||||
@@ -184,6 +184,21 @@
|
||||
#define INCOMING_RETURN_ADDR_RTX \
|
||||
gen_rtx_REG (VOIDmode, GP_REG_FIRST + MB_ABI_SUB_RETURN_ADDR_REGNUM)
|
||||
|
||||
+/* Specifies the offset from INCOMING_RETURN_ADDR_RTX and the actual return PC. */
|
||||
+#define RETURN_ADDR_OFFSET (8)
|
||||
+
|
||||
+/* Describe how we implement __builtin_eh_return. */
|
||||
+#define EH_RETURN_DATA_REGNO(N) (((N) < 2) ? MB_ABI_FIRST_ARG_REGNUM + (N) : INVALID_REGNUM)
|
||||
+
|
||||
+#define MB_EH_STACKADJ_REGNUM MB_ABI_INT_RETURN_VAL2_REGNUM
|
||||
+#define EH_RETURN_STACKADJ_RTX gen_rtx_REG (Pmode, MB_EH_STACKADJ_REGNUM)
|
||||
+
|
||||
+/* Select a format to encode pointers in exception handling data. CODE
|
||||
+ is 0 for data, 1 for code labels, 2 for function pointers. GLOBAL is
|
||||
+ true if the symbol may be affected by dynamic relocations. */
|
||||
+#define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL) \
|
||||
+ ((flag_pic || GLOBAL) ? DW_EH_PE_aligned : DW_EH_PE_absptr)
|
||||
+
|
||||
/* Use DWARF 2 debugging information by default. */
|
||||
#define DWARF2_DEBUGGING_INFO
|
||||
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
|
||||
Index: b/gcc/config/microblaze/microblaze.md
|
||||
===================================================================
|
||||
--- a/gcc/config/microblaze/microblaze.md
|
||||
+++ b/gcc/config/microblaze/microblaze.md
|
||||
@@ -2324,4 +2324,15 @@
|
||||
(set_attr "mode" "SI")
|
||||
(set_attr "length" "4")])
|
||||
|
||||
+; This is used in compiling the unwind routines.
|
||||
+(define_expand "eh_return"
|
||||
+ [(use (match_operand 0 "general_operand" ""))]
|
||||
+ ""
|
||||
+ "
|
||||
+{
|
||||
+ microblaze_eh_return(operands[0]);
|
||||
+ DONE;
|
||||
+}")
|
||||
+
|
||||
(include "sync.md")
|
||||
+
|
||||
@@ -38,6 +38,8 @@ config BR2_GLIBC_VERSION_2_22
|
||||
bool "2.22"
|
||||
# No support for pthread barriers on < v9 ISA
|
||||
depends on !BR2_sparc
|
||||
# Too old to build with gcc >= 6.x
|
||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
||||
|
||||
config BR2_GLIBC_VERSION_2_23
|
||||
bool "2.23"
|
||||
|
||||
@@ -7,6 +7,7 @@ config BR2_PACKAGE_GLMARK2_EGL_GLES
|
||||
config BR2_PACKAGE_GLMARK2_GL
|
||||
bool
|
||||
default y
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
depends on BR2_PACKAGE_MESA3D_DRI_DRIVER
|
||||
|
||||
comment "glmark2 needs an OpenGL or an openGL ES and EGL backend provided by mesa3d"
|
||||
|
||||
@@ -3,6 +3,8 @@ config BR2_PACKAGE_GMRENDER_RESURRECT
|
||||
depends on BR2_USE_WCHAR # gstreamer1 -> libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer1 -> libglib2, libupnp
|
||||
depends on BR2_USE_MMU # gstreamer1
|
||||
# uses <error.h>
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL
|
||||
select BR2_PACKAGE_GSTREAMER1
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE # run-time only
|
||||
select BR2_PACKAGE_LIBUPNP
|
||||
@@ -11,6 +13,7 @@ config BR2_PACKAGE_GMRENDER_RESURRECT
|
||||
|
||||
https://github.com/hzeller/gmrender-resurrect
|
||||
|
||||
comment "gmrender-resurrect needs a toolchain w/ wchar, threads"
|
||||
comment "gmrender-resurrect needs an (e)glibc or uClibc toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
@@ -11,13 +11,20 @@ GO_BOOTSTRAP_SOURCE = go$(GO_BOOTSTRAP_VERSION).src.tar.gz
|
||||
GO_BOOTSTRAP_LICENSE = BSD-3c
|
||||
GO_BOOTSTRAP_LICENSE_FILES = LICENSE
|
||||
|
||||
# To build programs that need cgo support the toolchain needs to be
|
||||
# available, so the toolchain is not needed to build host-go-bootstrap
|
||||
# itself, but needed by other packages that depend on
|
||||
# host-go-bootstrap.
|
||||
HOST_GO_BOOTSTRAP_DEPENDENCIES = toolchain
|
||||
|
||||
HOST_GO_BOOTSTRAP_ROOT = $(HOST_DIR)/usr/lib/go-$(GO_BOOTSTRAP_VERSION)
|
||||
|
||||
HOST_GO_BOOTSTRAP_MAKE_ENV = \
|
||||
GOOS=linux \
|
||||
GOROOT_FINAL="$(HOST_GO_BOOTSTRAP_ROOT)" \
|
||||
GOROOT="$(@D)" \
|
||||
GOBIN="$(@D)/bin"
|
||||
GOBIN="$(@D)/bin" \
|
||||
CGO_ENABLED=0
|
||||
|
||||
define HOST_GO_BOOTSTRAP_BUILD_CMDS
|
||||
cd $(@D)/src && $(HOST_GO_BOOTSTRAP_MAKE_ENV) ./make.bash
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
config BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
|
||||
bool
|
||||
default y
|
||||
depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 || BR2_powerpc
|
||||
depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 || BR2_powerpc64 || BR2_powerpc64le
|
||||
depends on !BR2_ARM_CPU_ARMV4
|
||||
|
||||
+3
-1
@@ -26,8 +26,10 @@ else ifeq ($(BR2_i386),y)
|
||||
GO_GOARCH = 386
|
||||
else ifeq ($(BR2_x86_64),y)
|
||||
GO_GOARCH = amd64
|
||||
else ifeq ($(BR2_powerpc),y)
|
||||
else ifeq ($(BR2_powerpc64),y)
|
||||
GO_GOARCH = ppc64
|
||||
else ifeq ($(BR2_powerpc64le),y)
|
||||
GO_GOARCH = ppc64le
|
||||
endif
|
||||
|
||||
HOST_GO_DEPENDENCIES = host-go-bootstrap
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 73de246aee1fd3cd69b1341a0c4e1b4acfa655fe6f7363fd9424824aa8bf5a57 iputils-3a86a2542c6fe29413c439bebeae11ec8a57ec7c.tar.gz
|
||||
sha256 08b9f686fcc874f75b465f90f3e831aa9ac1f2e043f4bb61e6d99868e8869025 iputils-31d947cf7156cf78d3f57e0bd82b33e6f6ece6b4.tar.gz
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# and IPv6 updates.
|
||||
# http://www.spinics.net/lists/netdev/msg279881.html
|
||||
|
||||
IPUTILS_VERSION = 3a86a2542c6fe29413c439bebeae11ec8a57ec7c
|
||||
IPUTILS_VERSION = 31d947cf7156cf78d3f57e0bd82b33e6f6ece6b4
|
||||
IPUTILS_SITE = $(call github,iputils,iputils,$(IPUTILS_VERSION))
|
||||
IPUTILS_LICENSE = GPLv2+, BSD-3c, BSD-4c
|
||||
# Only includes a license file for BSD
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
From 4b2c73ad056aa327dc3b505410da68cf384317ba Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Martin <s.martin49@gmail.com>
|
||||
Date: Mon, 16 May 2016 22:26:05 +0200
|
||||
Subject: [PATCH] Make backtrace support depends on execinfo.h existence
|
||||
|
||||
In some C-libraries (like uclibc), backtrace support is optional, so the
|
||||
execinfo.h file may not exist.
|
||||
|
||||
This change adds the check for execinfo.h header and conditionnaly enable
|
||||
backtrace support.
|
||||
|
||||
This issue has been triggered by Buildroot farms:
|
||||
http://autobuild.buildroot.org/results/391/391e71a988250ea66ec4dbee6f60fdce9eaf2766/build-end.log
|
||||
|
||||
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
||||
---
|
||||
dbus/sigsegv.c | 8 +++++++-
|
||||
wscript | 1 +
|
||||
2 files changed, 8 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dbus/sigsegv.c b/dbus/sigsegv.c
|
||||
index ee12f91..0b31d89 100644
|
||||
--- a/dbus/sigsegv.c
|
||||
+++ b/dbus/sigsegv.c
|
||||
@@ -27,7 +27,9 @@
|
||||
#include <stdio.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
-#include <execinfo.h>
|
||||
+#if defined(HAVE_EXECINFO_H)
|
||||
+# include <execinfo.h>
|
||||
+#endif /* defined(HAVE_EXECINFO_H) */
|
||||
#include <errno.h>
|
||||
#ifndef NO_CPP_DEMANGLE
|
||||
char * __cxa_demangle(const char * __mangled_name, char * __output_buffer, size_t * __length, int * __status);
|
||||
@@ -161,12 +163,16 @@ static void signal_segv(int signum, siginfo_t* info, void*ptr) {
|
||||
bp = (void**)bp[0];
|
||||
}
|
||||
#else
|
||||
+# if defined(HAVE_EXECINFO_H)
|
||||
jack_error("Stack trace (non-dedicated):");
|
||||
sz = backtrace(bt, 20);
|
||||
strings = backtrace_symbols(bt, sz);
|
||||
|
||||
for(i = 0; i < sz; ++i)
|
||||
jack_error("%s", strings[i]);
|
||||
+# else /* defined(HAVE_EXECINFO_H) */
|
||||
+ jack_error("Stack trace not available");
|
||||
+# endif /* defined(HAVE_EXECINFO_H) */
|
||||
#endif
|
||||
jack_error("End of stack trace");
|
||||
exit (-1);
|
||||
diff --git a/wscript b/wscript
|
||||
index aef4bd8..63ba3aa 100644
|
||||
--- a/wscript
|
||||
+++ b/wscript
|
||||
@@ -166,6 +166,7 @@ def configure(conf):
|
||||
if conf.env['BUILD_JACKDBUS'] != True:
|
||||
conf.fatal('jackdbus was explicitly requested but cannot be built')
|
||||
|
||||
+ conf.check_cc(header_name='execinfo.h', define_name="HAVE_EXECINFO_H", mandatory=False)
|
||||
conf.check_cc(header_name='samplerate.h', define_name="HAVE_SAMPLERATE")
|
||||
|
||||
if conf.is_defined('HAVE_SAMPLERATE'):
|
||||
--
|
||||
2.8.2
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
config BR2_PACKAGE_KODI_SCREENSAVER_ASTEROIDS
|
||||
bool "kodi-screensaver-asteroids"
|
||||
depends on BR2_PACKAGE_KODI_GL
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
help
|
||||
Asteroids screensaver for Kodi
|
||||
|
||||
https://github.com/notspiff/screensaver.asteroids
|
||||
|
||||
comment "kodi-screensaver-asteroids needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-screensaver-asteroids needs OpenGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
config BR2_PACKAGE_KODI_SCREENSAVER_ASTERWAVE
|
||||
bool "kodi-screensaver-asterwave"
|
||||
depends on BR2_PACKAGE_KODI_GL # libsoil
|
||||
depends on BR2_PACKAGE_HAS_LIBGL # libglu, libsoil
|
||||
select BR2_PACKAGE_LIBGLU
|
||||
select BR2_PACKAGE_LIBSOIL
|
||||
help
|
||||
AsterWave screensaver for Kodi
|
||||
|
||||
https://github.com/notspiff/screensaver.asterwave
|
||||
|
||||
comment "asterwave needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-screensaver-asterwave needs OpenGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
|
||||
KODI_SCREENSAVER_ASTERWAVE_VERSION = 0dc2c48dadb100954eef823e7e3a5f502ce65b1e
|
||||
KODI_SCREENSAVER_ASTERWAVE_SITE = $(call github,notspiff,screensaver.asterwave,$(KODI_SCREENSAVER_ASTERWAVE_VERSION))
|
||||
KODI_SCREENSAVER_ASTERWAVE_DEPENDENCIES = kodi libsoil
|
||||
KODI_SCREENSAVER_ASTERWAVE_DEPENDENCIES = kodi libglu libsoil
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
config BR2_PACKAGE_KODI_SCREENSAVER_BIOGENESIS
|
||||
bool "kodi-screensaver-biogenesis"
|
||||
depends on BR2_PACKAGE_KODI_GL
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
help
|
||||
BioGenesis screensaver for Kodi
|
||||
|
||||
https://github.com/notspiff/screensaver.biogenesis
|
||||
|
||||
comment "kodi-screensaver-biogenesis needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-screensaver-biogenesis needs OpenGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
config BR2_PACKAGE_KODI_SCREENSAVER_CPBLOBS
|
||||
bool "kodi-screensaver-cpblobs"
|
||||
depends on BR2_PACKAGE_KODI_GL # libsoil
|
||||
depends on BR2_PACKAGE_HAS_LIBGL # libsoil
|
||||
select BR2_PACKAGE_LIBSOIL
|
||||
help
|
||||
CpBlobs screensaver for Kodi
|
||||
|
||||
https://github.com/notspiff/screensaver.cpblobs
|
||||
|
||||
comment "cpblobs needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-screensaver-cpblobs needs OpenGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
config BR2_PACKAGE_KODI_SCREENSAVER_CRYSTALMORPH
|
||||
bool "kodi-screensaver-crystalmorph"
|
||||
depends on BR2_PACKAGE_KODI_GL # libglu
|
||||
depends on BR2_PACKAGE_HAS_LIBGL # libglu
|
||||
help
|
||||
CrystalMorph screensaver for Kodi
|
||||
|
||||
https://github.com/notspiff/screensaver.crystalmorph
|
||||
|
||||
comment "kodi-screensaver-crystalmorph needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-screensaver-crystalmorph needs OpenGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
config BR2_PACKAGE_KODI_SCREENSAVER_GREYNETIC
|
||||
bool "kodi-screensaver-greynetic"
|
||||
depends on BR2_PACKAGE_KODI_GL
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
help
|
||||
Greynetic screensaver for Kodi
|
||||
|
||||
https://github.com/notspiff/screensaver.greynetic
|
||||
|
||||
comment "kodi-screensaver-greynetic needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-screensaver-greynetic needs OpenGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
config BR2_PACKAGE_KODI_SCREENSAVER_MATRIXTRAILS
|
||||
bool "kodi-screensaver-matrixtrails"
|
||||
depends on BR2_PACKAGE_KODI_GL # libsoil
|
||||
depends on BR2_PACKAGE_HAS_LIBGL # libsoil
|
||||
select BR2_PACKAGE_LIBSOIL
|
||||
help
|
||||
Matrix trails screensaver for Kodi
|
||||
|
||||
https://github.com/notspiff/screensaver.matrixtrails
|
||||
|
||||
comment "matrixtrails needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-screensaver-matrixtrails needs OpenGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
config BR2_PACKAGE_KODI_SCREENSAVER_PINGPONG
|
||||
bool "kodi-screensaver-pingpong"
|
||||
depends on BR2_PACKAGE_KODI_GL
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
help
|
||||
Ping-pong screensaver for Kodi
|
||||
|
||||
https://github.com/notspiff/screensaver.pingpong
|
||||
|
||||
comment "kodi-screensaver-greynetic needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-screensaver-pingpong needs OpenGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
config BR2_PACKAGE_KODI_SCREENSAVER_PLANESTATE
|
||||
bool "kodi-screensaver-planestate"
|
||||
depends on BR2_PACKAGE_KODI_GL # libsoil
|
||||
depends on BR2_PACKAGE_HAS_LIBGL # libsoil
|
||||
select BR2_PACKAGE_LIBSOIL
|
||||
help
|
||||
PlaneState screensaver for Kodi
|
||||
|
||||
https://github.com/notspiff/screensaver.planestate
|
||||
|
||||
comment "planestate needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-screensaver-planestate needs OpenGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
config BR2_PACKAGE_KODI_SCREENSAVER_PYRO
|
||||
bool "kodi-screensaver-pyro"
|
||||
depends on BR2_PACKAGE_KODI_GL
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
help
|
||||
Pyro screensaver for Kodi
|
||||
|
||||
https://github.com/notspiff/screensaver.pyro
|
||||
|
||||
comment "kodi-screensaver-pyro needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-screensaver-pyro needs OpenGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
config BR2_PACKAGE_KODI_SCREENSAVER_RSXS
|
||||
bool "kodi-screensaver-rsxs"
|
||||
depends on BR2_PACKAGE_KODI_GL # libglu
|
||||
depends on BR2_PACKAGE_HAS_LIBGL # libglu
|
||||
depends on BR2_PACKAGE_XORG7 # xlib_libXmu
|
||||
select BR2_PACKAGE_XLIB_LIBXMU
|
||||
help
|
||||
RSXS screensaver add-ons for Kodi
|
||||
|
||||
https://github.com/notspiff/screensavers.rsxs
|
||||
|
||||
comment "kodi-screensaver-rsxs needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-screensaver-rsxs depends on X.org and needs OpenGL"
|
||||
depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -9,6 +9,6 @@ KODI_SCREENSAVER_RSXS_SITE = $(call github,notspiff,screensavers.rsxs,$(KODI_SCR
|
||||
KODI_SCREENSAVER_RSXS_LICENSE = GPLv3
|
||||
KODI_SCREENSAVER_RSXS_LICENSE_FILES = lib/rsxs-1.0/COPYING
|
||||
|
||||
KODI_SCREENSAVER_RSXS_DEPENDENCIES = kodi
|
||||
KODI_SCREENSAVER_RSXS_DEPENDENCIES = kodi xlib_libXmu
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
config BR2_PACKAGE_KODI_SCREENSAVER_STARS
|
||||
bool "kodi-screensaver-stars"
|
||||
depends on BR2_PACKAGE_KODI_GL
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
help
|
||||
Starfield screensaver for Kodi
|
||||
|
||||
https://github.com/notspiff/screensaver.stars
|
||||
|
||||
comment "kodi-screensaver-starts needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-screensaver-stars needs OpenGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
config BR2_PACKAGE_KODI_VISUALISATION_FISHBMC
|
||||
bool "kodi-visualisation-fishbmc"
|
||||
depends on BR2_PACKAGE_KODI_GL
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
help
|
||||
Fische visualiser for Kodi
|
||||
|
||||
https://github.com/notspiff/visualization.fishbmc
|
||||
|
||||
comment "fishbmc needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-visualisation-fishbmc needs OpenGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
config BR2_PACKAGE_KODI_VISUALISATION_FOUNTAIN
|
||||
bool "kodi-visualisation-fountain"
|
||||
depends on BR2_PACKAGE_KODI_GL # libsoil
|
||||
depends on BR2_PACKAGE_HAS_LIBGL # libsoil
|
||||
select BR2_PACKAGE_LIBSOIL
|
||||
help
|
||||
Fountain visualization for Kodi
|
||||
|
||||
https://github.com/notspiff/visualization.fountain
|
||||
|
||||
comment "fountain needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-visualisation-fountain needs OpenGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
config BR2_PACKAGE_KODI_VISUALISATION_GOOM
|
||||
bool "kodi-visualisation-goom"
|
||||
depends on BR2_PACKAGE_KODI_GL
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
help
|
||||
GOOM visualiser for Kodi
|
||||
|
||||
https://github.com/notspiff/visualization.goom
|
||||
|
||||
comment "kodi-visualization-goom needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_KODI_GL
|
||||
comment "kodi-visualization-goom needs OpenGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
config BR2_PACKAGE_KODI_VISUALISATION_SHADERTOY
|
||||
bool "kodi-visualisation-shadertoy"
|
||||
select BR2_PACKAGE_LIBGLEW if BR2_PACKAGE_HAS_LIBGL
|
||||
select BR2_PACKAGE_LIBPLATFORM
|
||||
help
|
||||
Shadertoy visualiser for Kodi
|
||||
|
||||
|
||||
@@ -10,4 +10,8 @@ KODI_VISUALISATION_SHADERTOY_LICENSE = GPLv2+
|
||||
KODI_VISUALISATION_SHADERTOY_LICENSE_FILES = src/main.cpp
|
||||
KODI_VISUALISATION_SHADERTOY_DEPENDENCIES = kodi libplatform
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGLEW),y)
|
||||
KODI_VISUALISATION_SHADERTOY_DEPENDENCIES += libglew
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
From d0331e8e5b05b475f20b1f3101fe1ad772d7e7e7 Mon Sep 17 00:00:00 2001
|
||||
From: Tim Kientzle <kientzle@acm.org>
|
||||
Date: Sun, 24 Apr 2016 17:13:45 -0700
|
||||
Subject: [PATCH] Issue #656: Fix CVE-2016-1541, VU#862384
|
||||
|
||||
When reading OS X metadata entries in Zip archives that were stored
|
||||
without compression, libarchive would use the uncompressed entry size
|
||||
to allocate a buffer but would use the compressed entry size to limit
|
||||
the amount of data copied into that buffer. Since the compressed
|
||||
and uncompressed sizes are provided by data in the archive itself,
|
||||
an attacker could manipulate these values to write data beyond
|
||||
the end of the allocated buffer.
|
||||
|
||||
This fix provides three new checks to guard against such
|
||||
manipulation and to make libarchive generally more robust when
|
||||
handling this type of entry:
|
||||
1. If an OS X metadata entry is stored without compression,
|
||||
abort the entire archive if the compressed and uncompressed
|
||||
data sizes do not match.
|
||||
2. When sanity-checking the size of an OS X metadata entry,
|
||||
abort this entry if either the compressed or uncompressed
|
||||
size is larger than 4MB.
|
||||
3. When copying data into the allocated buffer, check the copy
|
||||
size against both the compressed entry size and uncompressed
|
||||
entry size.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
---
|
||||
Status: from upstream https://github.com/libarchive/libarchive/issues/656
|
||||
|
||||
libarchive/archive_read_support_format_zip.c | 13 +++++++++++++
|
||||
1 file changed, 13 insertions(+)
|
||||
|
||||
diff --git a/libarchive/archive_read_support_format_zip.c b/libarchive/archive_read_support_format_zip.c
|
||||
index 0f8262c..0a0be96 100644
|
||||
--- a/libarchive/archive_read_support_format_zip.c
|
||||
+++ b/libarchive/archive_read_support_format_zip.c
|
||||
@@ -2778,6 +2778,11 @@ zip_read_mac_metadata(struct archive_read *a, struct archive_entry *entry,
|
||||
|
||||
switch(rsrc->compression) {
|
||||
case 0: /* No compression. */
|
||||
+ if (rsrc->uncompressed_size != rsrc->compressed_size) {
|
||||
+ archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT,
|
||||
+ "Malformed OS X metadata entry: inconsistent size");
|
||||
+ return (ARCHIVE_FATAL);
|
||||
+ }
|
||||
#ifdef HAVE_ZLIB_H
|
||||
case 8: /* Deflate compression. */
|
||||
#endif
|
||||
@@ -2798,6 +2803,12 @@ zip_read_mac_metadata(struct archive_read *a, struct archive_entry *entry,
|
||||
(intmax_t)rsrc->uncompressed_size);
|
||||
return (ARCHIVE_WARN);
|
||||
}
|
||||
+ if (rsrc->compressed_size > (4 * 1024 * 1024)) {
|
||||
+ archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT,
|
||||
+ "Mac metadata is too large: %jd > 4M bytes",
|
||||
+ (intmax_t)rsrc->compressed_size);
|
||||
+ return (ARCHIVE_WARN);
|
||||
+ }
|
||||
|
||||
metadata = malloc((size_t)rsrc->uncompressed_size);
|
||||
if (metadata == NULL) {
|
||||
@@ -2836,6 +2847,8 @@ zip_read_mac_metadata(struct archive_read *a, struct archive_entry *entry,
|
||||
bytes_avail = remaining_bytes;
|
||||
switch(rsrc->compression) {
|
||||
case 0: /* No compression. */
|
||||
+ if ((size_t)bytes_avail > metadata_bytes)
|
||||
+ bytes_avail = metadata_bytes;
|
||||
memcpy(mp, p, bytes_avail);
|
||||
bytes_used = (size_t)bytes_avail;
|
||||
metadata_bytes -= bytes_used;
|
||||
@@ -0,0 +1,34 @@
|
||||
From 0df21f54942dc82ddde4095824e7b65efb96d261 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Mon, 16 May 2016 13:32:07 +1000
|
||||
Subject: [PATCH] Add configure.ac check for static_assert
|
||||
|
||||
Part of C11, defined via assert.h.
|
||||
|
||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
Patch status: suggested upstream
|
||||
(https://lists.freedesktop.org/archives/wayland-devel/2016-May/028881.html)
|
||||
|
||||
configure.ac | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 602a86026544..28a5197cfa2e 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -55,6 +55,10 @@ AC_CHECK_DECL(TFD_CLOEXEC,[],
|
||||
AC_CHECK_DECL(CLOCK_MONOTONIC,[],
|
||||
[AC_MSG_ERROR("CLOCK_MONOTONIC is needed to compile libinput")],
|
||||
[[#include <time.h>]])
|
||||
+AC_CHECK_DECL(static_assert, [],
|
||||
+ [AC_DEFINE(static_assert(...), [/* */], [noop static_assert() replacement]),
|
||||
+ AC_MSG_RESULT([no])],
|
||||
+ [[#include <assert.h>]])
|
||||
|
||||
PKG_PROG_PKG_CONFIG()
|
||||
PKG_CHECK_MODULES(MTDEV, [mtdev >= 1.1.0])
|
||||
--
|
||||
2.8.1
|
||||
|
||||
@@ -13,12 +13,14 @@ LIBINPUT_LICENSE = MIT
|
||||
LIBINPUT_LICENSE_FILES = COPYING
|
||||
# Tests need fork, so just disable them everywhere.
|
||||
LIBINPUT_CONF_OPTS = --disable-tests --disable-libwacom
|
||||
# Patching configure.ac
|
||||
LIBINPUT_AUTORECONF = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
|
||||
LIBINPUT_CONF_OPTS += --enable-event-gui
|
||||
LIBINPUT_DEPENDENCIES += libgtk3
|
||||
else
|
||||
LIBINOUT_CONF_OPTS += --disable-event-gui
|
||||
LIBINPUT_CONF_OPTS += --disable-event-gui
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -11,6 +11,7 @@ LIBPJSIP_DEPENDENCIES = libsrtp
|
||||
LIBPJSIP_LICENSE = GPLv2+
|
||||
LIBPJSIP_LICENSE_FILES = COPYING
|
||||
LIBPJSIP_INSTALL_STAGING = YES
|
||||
LIBPJSIP_MAKE = $(MAKE1)
|
||||
|
||||
LIBPJSIP_CONF_ENV = \
|
||||
LD="$(TARGET_CC)" \
|
||||
|
||||
@@ -214,13 +214,13 @@ config BR2_DEFAULT_KERNEL_HEADERS
|
||||
default "3.4.112" if BR2_KERNEL_HEADERS_3_4
|
||||
default "3.10.101" if BR2_KERNEL_HEADERS_3_10
|
||||
default "3.12.59" if BR2_KERNEL_HEADERS_3_12
|
||||
default "3.14.68" if BR2_KERNEL_HEADERS_3_14
|
||||
default "3.18.32" if BR2_KERNEL_HEADERS_3_18
|
||||
default "3.14.69" if BR2_KERNEL_HEADERS_3_14
|
||||
default "3.18.33" if BR2_KERNEL_HEADERS_3_18
|
||||
default "3.19.8" if BR2_KERNEL_HEADERS_3_19
|
||||
default "4.0.9" if BR2_KERNEL_HEADERS_4_0
|
||||
default "4.1.23" if BR2_KERNEL_HEADERS_4_1
|
||||
default "4.1.24" if BR2_KERNEL_HEADERS_4_1
|
||||
default "4.2.8" if BR2_KERNEL_HEADERS_4_2
|
||||
default "4.3.6" if BR2_KERNEL_HEADERS_4_3
|
||||
default "4.4.9" if BR2_KERNEL_HEADERS_4_4
|
||||
default "4.5.3" if BR2_KERNEL_HEADERS_4_5
|
||||
default "4.4.10" if BR2_KERNEL_HEADERS_4_4
|
||||
default "4.5.4" if BR2_KERNEL_HEADERS_4_5
|
||||
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
MALI_T76X_VERSION = r5p0-06rel0
|
||||
MALI_T76X_SOURCE = mali-t76x_$(MALI_T76X_VERSION)_linux_1+fbdev.tar.gz
|
||||
MALI_T76X_SITE = http://malideveloper.arm.com/downloads/drivers/binary/$(MALI_T76X_VERSION)
|
||||
|
||||
MALI_T76X_DEPENDENCIES = mesa3d-headers
|
||||
MALI_T76X_INSTALL_STAGING = YES
|
||||
MALI_T76X_PROVIDES = libegl libgles
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 12a6a94c0ec04d508de27eda5f5ba91f50d4b5fe74a98aca0973e2c16a42555a mtr-66de3ecbab28b054b868a73fbb57f30549d770ac.tar.gz
|
||||
+1
-11
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MTR_VERSION = v0.86
|
||||
MTR_VERSION = 66de3ecbab28b054b868a73fbb57f30549d770ac
|
||||
MTR_SITE = $(call github,traviscross,mtr,$(MTR_VERSION))
|
||||
MTR_AUTORECONF = YES
|
||||
MTR_CONF_OPTS = --without-gtk
|
||||
@@ -12,14 +12,4 @@ MTR_DEPENDENCIES = host-pkgconf $(if $(BR2_PACKAGE_NCURSES),ncurses)
|
||||
MTR_LICENSE = GPLv2
|
||||
MTR_LICENSE_FILES = COPYING
|
||||
|
||||
# uClibc has res_ninit but not res_nmkquery
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
||||
define MTR_DISABLE_RES_NINIT
|
||||
$(SED) 's/#ifdef res_ninit/#if 0/' \
|
||||
$(@D)/dns.c
|
||||
endef
|
||||
endif
|
||||
|
||||
MTR_POST_PATCH_HOOKS += MTR_DISABLE_RES_NINIT
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From fe05ccf80afe5de33d4f9c5e5545390c450bcd2d Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Martin <s.martin49@gmail.com>
|
||||
Date: Thu, 24 Apr 2014 23:27:32 +0200
|
||||
Subject: [PATCH 1/5] auto/type/sizeof: rework autotest to be cross-compilation
|
||||
Subject: [PATCH] auto/type/sizeof: rework autotest to be cross-compilation
|
||||
friendly
|
||||
|
||||
Rework the sizeof test to do the checks at compile time instead of at
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From ef72be22ad6d58e230f75553d80b470b80c3303a Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Martin <s.martin49@gmail.com>
|
||||
Date: Sun, 4 May 2014 00:40:49 +0200
|
||||
Subject: [PATCH 2/5] auto/feature: add mechanism allowing to force feature run
|
||||
Subject: [PATCH] auto/feature: add mechanism allowing to force feature run
|
||||
test result
|
||||
|
||||
Whenever a feature needs to run a test, the ngx_feature_run_force_result
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 71939b727a8fa9f722934700948a5b68960f6183 Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Martin <s.martin49@gmail.com>
|
||||
Date: Thu, 29 May 2014 18:52:10 +0200
|
||||
Subject: [PATCH 3/5] auto/*: set ngx_feature_run_force_result for each feature
|
||||
Subject: [PATCH] auto/*: set ngx_feature_run_force_result for each feature
|
||||
requiring run test
|
||||
|
||||
Each feature requiring a run test has a matching preset variable (called
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
From 5d281572d0afbf69d934737e1ee4c553670a46cc Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Martin <s.martin49@gmail.com>
|
||||
Date: Thu, 29 May 2014 19:22:27 +0200
|
||||
Subject: [PATCH 4/5] auto/lib/libxslt/conf: allow to override ngx_feature_path
|
||||
and ngx_feature_libs
|
||||
|
||||
Because libxml2 headers are not in /usr/include by default, hardcoding the
|
||||
include directory to /usr/include/libxml2 does not play well when
|
||||
cross-compiling, or if libxml2 has been installed somewhere else.
|
||||
|
||||
This patch allows to define/override the libxslt include directory, and
|
||||
the libxslt libs flags.
|
||||
|
||||
Being able to override the include location is especially useful when
|
||||
cross-compiling to prevent gcc from complaining about unsafe include
|
||||
location for cross-compilation (-Wpoision-system-directories).
|
||||
|
||||
So far, this warning is only triggered by libxslt.
|
||||
|
||||
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
||||
---
|
||||
auto/lib/libxslt/conf | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/auto/lib/libxslt/conf b/auto/lib/libxslt/conf
|
||||
index bc19d83..386f1a0 100644
|
||||
--- a/auto/lib/libxslt/conf
|
||||
+++ b/auto/lib/libxslt/conf
|
||||
@@ -12,8 +12,8 @@
|
||||
#include <libxslt/xsltInternals.h>
|
||||
#include <libxslt/transform.h>
|
||||
#include <libxslt/xsltutils.h>"
|
||||
- ngx_feature_path="/usr/include/libxml2"
|
||||
- ngx_feature_libs="-lxml2 -lxslt"
|
||||
+ ngx_feature_path="${ngx_feature_path_libxslt:=/usr/include/libxml2}"
|
||||
+ ngx_feature_libs="${ngx_feature_libs_libxslt:=-lxml2 -lxslt}"
|
||||
ngx_feature_test="xmlParserCtxtPtr ctxt = NULL;
|
||||
xsltStylesheetPtr sheet = NULL;
|
||||
xmlDocPtr doc;
|
||||
--
|
||||
1.9.2
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From 211b9f19a3a62826fadef55d2f89d6f66fbf4aa6 Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Martin <s.martin49@gmail.com>
|
||||
Date: Thu, 29 May 2014 19:22:27 +0200
|
||||
Subject: [PATCH] auto/lib/libxslt/conf: use pkg-config
|
||||
|
||||
Change to using pkg-config to find the path to libxslt and its
|
||||
dependencies.
|
||||
|
||||
Signed-off-by: Martin Bark <martin@barkynet.com>
|
||||
---
|
||||
auto/lib/libxslt/conf | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/auto/lib/libxslt/conf b/auto/lib/libxslt/conf
|
||||
index 3a0f37b..3c2a60e 100644
|
||||
--- a/auto/lib/libxslt/conf
|
||||
+++ b/auto/lib/libxslt/conf
|
||||
@@ -12,8 +12,8 @@
|
||||
#include <libxslt/xsltInternals.h>
|
||||
#include <libxslt/transform.h>
|
||||
#include <libxslt/xsltutils.h>"
|
||||
- ngx_feature_path="/usr/include/libxml2"
|
||||
- ngx_feature_libs="-lxml2 -lxslt"
|
||||
+ ngx_feature_path="$(${PKG_CONFIG:=pkg-config} --cflags-only-I libxslt|sed 's/-I//g')"
|
||||
+ ngx_feature_libs="$(${PKG_CONFIG:=pkg-config} --libs libxslt)"
|
||||
ngx_feature_test="xmlParserCtxtPtr ctxt = NULL;
|
||||
xsltStylesheetPtr sheet = NULL;
|
||||
xmlDocPtr doc;
|
||||
--
|
||||
2.8.2
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 08617a8d29ee22831175697555558fec8f52772c Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Martin <s.martin49@gmail.com>
|
||||
Date: Sun, 1 Jun 2014 16:05:04 +0200
|
||||
Subject: [PATCH 5/5] auto/unix: make sys_nerr guessing cross-friendly
|
||||
Subject: [PATCH] auto/unix: make sys_nerr guessing cross-friendly
|
||||
|
||||
This patch replaces the default sys_nerr runtest with a test done at
|
||||
buildtime.
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From 756556d127da291cad8a2c007a89124a692aef7f Mon Sep 17 00:00:00 2001
|
||||
From: Martin Bark <martin@barkynet.com>
|
||||
Date: Fri, 6 May 2016 14:48:31 +0100
|
||||
Subject: [PATCH] auto/lib/openssl/conf: use pkg-config
|
||||
|
||||
Change to using pkg-config to find the path to openssl and its
|
||||
dependencies.
|
||||
|
||||
Signed-off-by: Martin Bark <martin@barkynet.com>
|
||||
---
|
||||
auto/lib/openssl/conf | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/auto/lib/openssl/conf b/auto/lib/openssl/conf
|
||||
index 39d9602..995c6f3 100644
|
||||
--- a/auto/lib/openssl/conf
|
||||
+++ b/auto/lib/openssl/conf
|
||||
@@ -50,8 +50,8 @@ else
|
||||
ngx_feature_name="NGX_OPENSSL"
|
||||
ngx_feature_run=no
|
||||
ngx_feature_incs="#include <openssl/ssl.h>"
|
||||
- ngx_feature_path=
|
||||
- ngx_feature_libs="-lssl -lcrypto $NGX_LIBDL"
|
||||
+ ngx_feature_path="$(${PKG_CONFIG:=pkg-config} --cflags-only-I openssl|sed 's/-I//g')"
|
||||
+ ngx_feature_libs="$(${PKG_CONFIG:=pkg-config} --libs openssl)"
|
||||
ngx_feature_test="SSL_CTX_set_options(NULL, 0)"
|
||||
. auto/feature
|
||||
|
||||
--
|
||||
2.8.2
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From fd9885fe5fef5826034547ca6be7299863f99769 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Bark <martin@barkynet.com>
|
||||
Date: Fri, 6 May 2016 14:48:49 +0100
|
||||
Subject: [PATCH] auto/lib/libgd/conf: use pkg-config
|
||||
|
||||
Change to using pkg-config to find the path to libgd and its
|
||||
dependencies.
|
||||
|
||||
Signed-off-by: Martin Bark <martin@barkynet.com>
|
||||
---
|
||||
auto/lib/libgd/conf | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/auto/lib/libgd/conf b/auto/lib/libgd/conf
|
||||
index 6e4e91c..1c536a2 100644
|
||||
--- a/auto/lib/libgd/conf
|
||||
+++ b/auto/lib/libgd/conf
|
||||
@@ -7,8 +7,8 @@
|
||||
ngx_feature_name=
|
||||
ngx_feature_run=no
|
||||
ngx_feature_incs="#include <gd.h>"
|
||||
- ngx_feature_path=
|
||||
- ngx_feature_libs="-lgd"
|
||||
+ ngx_feature_path="$(${GDLIB_CONFIG:=gdlib-config} --includedir)"
|
||||
+ ngx_feature_libs="$(${GDLIB_CONFIG:=gdlib-config} --libs)"
|
||||
ngx_feature_test="gdImagePtr img = gdImageCreateFromGifPtr(1, NULL);"
|
||||
. auto/feature
|
||||
|
||||
--
|
||||
2.8.2
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
From 8dc9dffc1f99ac951865f3135dfb5061a08d1f85 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Bark <martin@barkynet.com>
|
||||
Date: Fri, 6 May 2016 16:29:17 +0100
|
||||
Subject: [PATCH] src/os/unix/ngx_linux_config.h: only include dlfcn.h if
|
||||
available
|
||||
|
||||
Signed-off-by: Martin Bark <martin@barkynet.com>
|
||||
---
|
||||
src/os/unix/ngx_linux_config.h | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h
|
||||
index 2f6129d..4244086 100644
|
||||
--- a/src/os/unix/ngx_linux_config.h
|
||||
+++ b/src/os/unix/ngx_linux_config.h
|
||||
@@ -55,10 +55,12 @@
|
||||
#include <crypt.h>
|
||||
#include <sys/utsname.h> /* uname() */
|
||||
|
||||
-#include <dlfcn.h>
|
||||
+#include <ngx_auto_config.h>
|
||||
|
||||
|
||||
-#include <ngx_auto_config.h>
|
||||
+#if (NGX_HAVE_DLOPEN)
|
||||
+#include <dlfcn.h>
|
||||
+#endif
|
||||
|
||||
|
||||
#if (NGX_HAVE_POSIX_SEM)
|
||||
--
|
||||
2.8.2
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
menuconfig BR2_PACKAGE_NGINX
|
||||
bool "nginx"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_LIBATOMIC_OPS if BR2_sparc_v8 || BR2_sparc_leon3
|
||||
help
|
||||
nginx is an HTTP and reverse proxy server, as well as a mail proxy
|
||||
server.
|
||||
|
||||
+17
-5
@@ -8,12 +8,12 @@ NGINX_VERSION = 1.10.0
|
||||
NGINX_SITE = http://nginx.org/download
|
||||
NGINX_LICENSE = BSD-2c
|
||||
NGINX_LICENSE_FILES = LICENSE
|
||||
NGINX_DEPENDENCIES = host-pkgconf
|
||||
|
||||
NGINX_CONF_OPTS = \
|
||||
--crossbuild=Linux::$(BR2_ARCH) \
|
||||
--with-cc="$(TARGET_CC)" \
|
||||
--with-cpp="$(TARGET_CC)" \
|
||||
--with-cc-opt="$(TARGET_CFLAGS)" \
|
||||
--with-ld-opt="$(TARGET_LDFLAGS)" \
|
||||
--with-ipv6
|
||||
|
||||
@@ -35,7 +35,6 @@ NGINX_CONF_ENV += \
|
||||
ngx_force_c99_have_variadic_macros=yes \
|
||||
ngx_force_gcc_have_variadic_macros=yes \
|
||||
ngx_force_gcc_have_atomic=yes \
|
||||
ngx_force_have_libatomic=no \
|
||||
ngx_force_have_epoll=yes \
|
||||
ngx_force_have_sendfile=yes \
|
||||
ngx_force_have_sendfile64=yes \
|
||||
@@ -67,6 +66,17 @@ NGINX_CONF_OPTS += \
|
||||
$(if $(BR2_PACKAGE_NGINX_FILE_AIO),--with-file-aio) \
|
||||
$(if $(BR2_PACKAGE_NGINX_THREADS),--with-threads)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y)
|
||||
NGINX_DEPENDENCIES += libatomic_ops
|
||||
NGINX_CONF_OPTS += --with-libatomic
|
||||
NGINX_CONF_ENV += ngx_force_have_libatomic=yes
|
||||
ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y)
|
||||
NGINX_CFLAGS += "-DAO_NO_SPARC_V9"
|
||||
endif
|
||||
else
|
||||
NGINX_CONF_ENV += ngx_force_have_libatomic=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||
NGINX_DEPENDENCIES += pcre
|
||||
NGINX_CONF_OPTS += --with-pcre
|
||||
@@ -118,8 +128,6 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_NGINX_HTTP_XSLT_MODULE),y)
|
||||
NGINX_DEPENDENCIES += libxml2 libxslt
|
||||
NGINX_CONF_OPTS += --with-http_xslt_module
|
||||
NGINX_CONF_ENV += \
|
||||
ngx_feature_path_libxslt=$(STAGING_DIR)/usr/include/libxml2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NGINX_HTTP_IMAGE_FILTER_MODULE),y)
|
||||
@@ -236,7 +244,11 @@ endef
|
||||
NGINX_PRE_CONFIGURE_HOOKS += NGINX_DISABLE_WERROR
|
||||
|
||||
define NGINX_CONFIGURE_CMDS
|
||||
cd $(@D) ; $(NGINX_CONF_ENV) ./configure $(NGINX_CONF_OPTS)
|
||||
cd $(@D) ; $(NGINX_CONF_ENV) \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
GDLIB_CONFIG=$(STAGING_DIR)/usr/bin/gdlib-config \
|
||||
./configure $(NGINX_CONF_OPTS) \
|
||||
--with-cc-opt="$(TARGET_CFLAGS) $(NGINX_CFLAGS)"
|
||||
endef
|
||||
|
||||
define NGINX_BUILD_CMDS
|
||||
|
||||
@@ -51,15 +51,20 @@ config BR2_PACKAGE_OPENCV_LIB_FLANN
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_GPU
|
||||
bool "gpu"
|
||||
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # opencv libphoto
|
||||
select BR2_PACKAGE_OPENCV_LIB_CALIB3D
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV_LIB_LEGACY
|
||||
select BR2_PACKAGE_OPENCV_LIB_OBJDETECT
|
||||
select BR2_PACKAGE_OPENCV_LIB_PHOTO
|
||||
select BR2_PACKAGE_OPENCV_LIB_VIDEO
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
Include opencv_gpu module into the OpenCV build.
|
||||
|
||||
comment "gpu module needs a toolchain w/ dynamic libraries"
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
||||
bool "highgui"
|
||||
default y
|
||||
@@ -109,6 +114,7 @@ config BR2_PACKAGE_OPENCV_LIB_OBJDETECT
|
||||
config BR2_PACKAGE_OPENCV_LIB_PHOTO
|
||||
bool "photo"
|
||||
default y
|
||||
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Binutils 2.25 nios2 issue
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
help
|
||||
Include opencv_photo module into the OpenCV build.
|
||||
@@ -156,6 +162,7 @@ config BR2_PACKAGE_OPENCV_LIB_VIDEO
|
||||
config BR2_PACKAGE_OPENCV_LIB_VIDEOSTAB
|
||||
bool "videostab"
|
||||
default y
|
||||
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # opencv libphoto
|
||||
select BR2_PACKAGE_OPENCV_LIB_CALIB3D
|
||||
select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
|
||||
select BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
||||
@@ -165,13 +172,21 @@ config BR2_PACKAGE_OPENCV_LIB_VIDEOSTAB
|
||||
help
|
||||
Include opencv_videostab module into the OpenCV build.
|
||||
|
||||
if !BR2_STATIC_LIBS
|
||||
|
||||
comment "Test sets"
|
||||
|
||||
config BR2_PACKAGE_OPENCV_BUILD_TESTS
|
||||
bool "build tests"
|
||||
|
||||
config BR2_PACKAGE_OPENCV_BUILD_PERF_TESTS
|
||||
bool "build performance tests"
|
||||
|
||||
endif
|
||||
|
||||
comment "Tests sets need a toolchain w/ dynamic libraries"
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
comment "3rd party support"
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_FFMPEG
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_OPENVPN
|
||||
bool "openvpn"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
help
|
||||
OpenVPN is a full-featured SSL VPN solution which can
|
||||
accomodate a wide range of configurations, including road
|
||||
@@ -33,24 +34,4 @@ config BR2_PACKAGE_OPENVPN_PWSAVE
|
||||
Allow --askpass and --auth-user-pass passwords to be read
|
||||
from a file.
|
||||
|
||||
choice
|
||||
prompt "Crypto backend"
|
||||
default BR2_PACKAGE_OPENVPN_CRYPTO_OPENSSL
|
||||
help
|
||||
Select the cryptographic library to use.
|
||||
|
||||
config BR2_PACKAGE_OPENVPN_CRYPTO_OPENSSL
|
||||
bool "OpenSSL"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
help
|
||||
Enable TLS-based key exchange and OpenSSL crypto support.
|
||||
|
||||
config BR2_PACKAGE_OPENVPN_CRYPTO_POLARSSL
|
||||
bool "PolarSSL"
|
||||
select BR2_PACKAGE_POLARSSL
|
||||
help
|
||||
Enable TLS-based key exchange and PolarSSL crypto support.
|
||||
|
||||
endchoice
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 52f16bef3a02369682f1464fbd2821070c98d0bd993f4c46c764e87375abdcc1 openvpn-2.3.9.tar.xz
|
||||
sha256 0f5f1ca1dc5743fa166d93dd4ec952f014b5f33bafd88f0ea34b455cae1434a7 openvpn-2.3.11.tar.xz
|
||||
|
||||
@@ -4,15 +4,16 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENVPN_VERSION = 2.3.9
|
||||
OPENVPN_VERSION = 2.3.11
|
||||
OPENVPN_SOURCE = openvpn-$(OPENVPN_VERSION).tar.xz
|
||||
OPENVPN_SITE = http://swupdate.openvpn.net/community/releases
|
||||
OPENVPN_DEPENDENCIES = host-pkgconf
|
||||
OPENVPN_DEPENDENCIES = host-pkgconf openssl
|
||||
OPENVPN_LICENSE = GPLv2
|
||||
OPENVPN_LICENSE_FILES = COPYRIGHT.GPL
|
||||
OPENVPN_CONF_OPTS = \
|
||||
--disable-plugin-auth-pam \
|
||||
--enable-iproute2 \
|
||||
--with-crypto-library=openssl \
|
||||
$(if $(BR2_STATIC_LIBS),--disable-plugins)
|
||||
OPENVPN_CONF_ENV = IFCONFIG=/sbin/ifconfig \
|
||||
NETSTAT=/bin/netstat \
|
||||
@@ -47,16 +48,6 @@ else
|
||||
OPENVPN_CONF_OPTS += --disable-password-save
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENVPN_CRYPTO_OPENSSL),y)
|
||||
OPENVPN_CONF_OPTS += --with-crypto-library=openssl
|
||||
OPENVPN_DEPENDENCIES += openssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENVPN_CRYPTO_POLARSSL),y)
|
||||
OPENVPN_CONF_OPTS += --with-crypto-library=polarssl
|
||||
OPENVPN_DEPENDENCIES += polarssl
|
||||
endif
|
||||
|
||||
define OPENVPN_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 755 $(@D)/src/openvpn/openvpn \
|
||||
$(TARGET_DIR)/usr/sbin/openvpn
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
From 3cf8d89cbb44b5c7a0693d0b5d665e68acc3927c Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Klausner <wiz@NetBSD.org>
|
||||
Date: Tue, 10 May 2016 00:14:33 +0200
|
||||
Subject: [PATCH] Fix twisted detection.
|
||||
|
||||
Addresses https://github.com/coherence-project/Coherence/issues/25
|
||||
|
||||
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
|
||||
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
|
||||
---
|
||||
coherence/__init__.py | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/coherence/__init__.py b/coherence/__init__.py
|
||||
index 2e4e8f1..4c4d73d 100644
|
||||
--- a/coherence/__init__.py
|
||||
+++ b/coherence/__init__.py
|
||||
@@ -24,8 +24,6 @@ try:
|
||||
if twisted_version < Version("twisted", 2, 5, 0):
|
||||
raise ImportError("Twisted >= 2.5 is required. Please install it.")
|
||||
|
||||
- if twisted_web_version < Version("twisted.web", 2, 5, 0):
|
||||
- raise ImportError("Twisted.Web >= 2.5 is required. Please install it")
|
||||
except ImportError, exc:
|
||||
# log error to stderr, might be useful for debugging purpose
|
||||
for arg in exc.args:
|
||||
--
|
||||
2.8.1
|
||||
|
||||
@@ -3,6 +3,7 @@ config BR2_PACKAGE_QT5MULTIMEDIA
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_QT5BASE_NETWORK
|
||||
select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE_OPENGL
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
@@ -10,7 +10,15 @@ QUAGGA_SITE = http://download.savannah.gnu.org/releases/quagga
|
||||
QUAGGA_DEPENDENCIES = host-gawk
|
||||
QUAGGA_LICENSE = GPLv2+
|
||||
QUAGGA_LICENSE_FILES = COPYING
|
||||
QUAGGA_CONF_OPTS = --program-transform-name=''
|
||||
|
||||
# We need to override the sysconf and localstate directories so that
|
||||
# quagga can create files as the quagga user without extra
|
||||
# intervention
|
||||
QUAGGA_CONF_OPTS = \
|
||||
--program-transform-name='' \
|
||||
--sysconfdir=/etc/quagga \
|
||||
--localstatedir=/var/run/quagga
|
||||
|
||||
# 0002-configure-fix-static-linking-with-readline.patch
|
||||
QUAGGA_AUTORECONF = YES
|
||||
|
||||
@@ -33,6 +41,20 @@ QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_ISISD),--enable-isisd,--disable-is
|
||||
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_BGP_ANNOUNCE),--enable-bgp-announce,--disable-bgp-announce)
|
||||
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_TCP_ZERBRA),--enable-tcp-zebra,--disable-tcp-zebra)
|
||||
|
||||
define QUAGGA_USERS
|
||||
quagga -1 quagga -1 * - - - Quagga priv drop user
|
||||
endef
|
||||
|
||||
# Set the permissions of /etc/quagga such that quagga (through vtysh)
|
||||
# can save the configuration - set the folder recursively as the files
|
||||
# need to be 600, and then set the folder (non-recursively) to 755 so
|
||||
# it can used. Quagga also needs to write to the folder as it moves
|
||||
# and creates, rather than overwriting.
|
||||
define QUAGGA_PERMISSIONS
|
||||
/etc/quagga r 600 quagga quagga - - - - -
|
||||
/etc/quagga d 755 quagga quagga - - - - -
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QUAGGA_SNMP),y)
|
||||
QUAGGA_CONF_ENV += ac_cv_path_NETSNMP_CONFIG=$(STAGING_DIR)/usr/bin/net-snmp-config
|
||||
QUAGGA_CONF_OPTS += --enable-snmp=agentx
|
||||
@@ -50,4 +72,9 @@ ifeq ($(BR2_arc),y)
|
||||
QUAGGA_CONF_OPTS += --disable-pie
|
||||
endif
|
||||
|
||||
define QUAGGA_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/quagga/quagga_tmpfiles.conf \
|
||||
$(TARGET_DIR)/usr/lib/tmpfiles.d/quagga.conf
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
d /var/run/quagga/ 1755 quagga quagga -
|
||||
@@ -165,6 +165,9 @@ define SAMBA4_INSTALL_INIT_SYSTEMD
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/smb.service
|
||||
ln -sf ../../../../usr/lib/systemd/system/winbind.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/winbind.service
|
||||
$(INSTALL) -D -m 644 $(@D)/packaging/systemd/samba.conf.tmp \
|
||||
$(TARGET_DIR)/etc/tmpfiles.d/samba.conf
|
||||
printf "d /var/log/samba 755 root root\n" >>$(TARGET_DIR)/etc/tmpfiles.d/samba.conf
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_SG3_UTILS
|
||||
bool "sg3-utils"
|
||||
depends on !BR2_bfin # symbol prefixing problems
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
Low level utilities for devices that use a SCSI command set.
|
||||
@@ -15,4 +16,5 @@ config BR2_PACKAGE_SG3_UTILS_PROGS
|
||||
endif
|
||||
|
||||
comment "sg3-utils needs a toolchain w/ threads"
|
||||
depends on !BR2_bfin
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 9d17dffafdf8dd71eb5c191973b65d4eb2964ecc31f1d01ad188fd03a0c49f6c stress-ng-0.04.16.tar.gz
|
||||
sha256 7af9759a37902ebf401f92fedeada0b82bcd1e3f4e9e10130177344f143470eb stress-ng-0.06.02.tar.gz
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
STRESS_NG_VERSION = 0.04.16
|
||||
STRESS_NG_VERSION = 0.06.02
|
||||
STRESS_NG_SITE = http://kernel.ubuntu.com/~cking/tarballs/stress-ng
|
||||
STRESS_NG_LICENSE = GPLv2+
|
||||
STRESS_NG_LICENSE_FILES = COPYING
|
||||
|
||||
@@ -12,9 +12,15 @@ TURBOLUA_LICENSE_FILES = LICENSE
|
||||
|
||||
TURBOLUA_MAKE_OPTS = \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
SSL=$(if $(BR2_PACKAGE_OPENSSL),openssl,none) \
|
||||
LUAJIT_VERSION="$(LUAJIT_VERSION)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
TURBOLUA_MAKE_OPTS += SSL=openssl
|
||||
TURBOLUA_DEPENDENCIES += openssl
|
||||
else
|
||||
TURBOLUA_MAKE_OPTS += SSL=none
|
||||
endif
|
||||
|
||||
define TURBOLUA_BUILD_CMDS
|
||||
$(MAKE) $(TURBOLUA_MAKE_OPTS) -C $(@D) all
|
||||
endef
|
||||
|
||||
@@ -90,7 +90,7 @@ ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||
TOOLCHAIN_EXTERNAL_LIBS += libstdc++.so.*
|
||||
endif
|
||||
|
||||
TOOLCHAIN_EXTERNAL_LIBS += $(call qstrip,$(BR2_TOOLCHAIN_EXTRA_TOOLCHAIN_EXTERNAL_LIBS))
|
||||
TOOLCHAIN_EXTERNAL_LIBS += $(call qstrip,$(BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS))
|
||||
|
||||
# Details about sysroot directory selection.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user