mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-09 06:10:17 +03:00
Compare commits
59 Commits
2018.11-rc
...
2018.11-rc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc89c1a834 | ||
|
|
6d688e2132 | ||
|
|
43e6de35e9 | ||
|
|
be3fa4bed7 | ||
|
|
5682ba9363 | ||
|
|
446a6f91b2 | ||
|
|
143241e0a5 | ||
|
|
fb80f71d94 | ||
|
|
00d63a153d | ||
|
|
c91e7da5cf | ||
|
|
75c81a12f6 | ||
|
|
11d96cdeb9 | ||
|
|
9803d84873 | ||
|
|
6f9887a9d3 | ||
|
|
28b725d27e | ||
|
|
ef3deade61 | ||
|
|
aa9d77c851 | ||
|
|
36385f87f3 | ||
|
|
906903ce4a | ||
|
|
1e5fceeb06 | ||
|
|
e91ed50c39 | ||
|
|
7c11c42418 | ||
|
|
89fcb4cdb4 | ||
|
|
2c0c354a34 | ||
|
|
632e164a19 | ||
|
|
aa1879be7e | ||
|
|
f7abb62502 | ||
|
|
a18eb7f785 | ||
|
|
0b95043495 | ||
|
|
305e4487e5 | ||
|
|
3eb49f59d6 | ||
|
|
b95c93bdfd | ||
|
|
e8fc4364a4 | ||
|
|
915c136c5c | ||
|
|
2a9fa7e5e7 | ||
|
|
f3d4d2dbd5 | ||
|
|
e2da2e1e69 | ||
|
|
d65702b58a | ||
|
|
ebffca8ba4 | ||
|
|
06a7d3af66 | ||
|
|
4c9c70453c | ||
|
|
7b1238055c | ||
|
|
6a74acb6fb | ||
|
|
1c32e4c298 | ||
|
|
56825a6518 | ||
|
|
409d4c3fe9 | ||
|
|
6ec7fecb0b | ||
|
|
c9e3d5b6c5 | ||
|
|
cd0ca09e43 | ||
|
|
236a7d5d78 | ||
|
|
e86af4c396 | ||
|
|
2e57e835bf | ||
|
|
e9b70f96e8 | ||
|
|
fecf82a166 | ||
|
|
243118288f | ||
|
|
e311d8387d | ||
|
|
ce735b0c59 | ||
|
|
6a5e9a7ac6 | ||
|
|
956f05595f |
38
CHANGES
38
CHANGES
@@ -1,3 +1,41 @@
|
||||
2018.11-rc2, released November 21th, 2018
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
fs: Drop intermediate tarball from the filesystem handling to
|
||||
fix an issue with xattrs handling related to fakeroot. Ensure
|
||||
tarball target includes xattrs.
|
||||
|
||||
download: Fix confusion in git submodule handling if dl/ is a
|
||||
symlink.
|
||||
|
||||
genrandconfig: Fix missing newline in BR2_WGET handling,
|
||||
causing the following line to be ignored. This would affect
|
||||
BR2_ENABLE_DEBUG, BR2_INIT_BUSYBOX, BR2_INIT_SYSTEMD,
|
||||
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV, BR2_STATIC_LIBS or
|
||||
BR2_PACKAGE_PYTHON_PY_ONLY depending on the randomization.
|
||||
|
||||
show-build-order: Also include the dependencies of
|
||||
rootfs-common.
|
||||
|
||||
Fix a number of build issues in packages for the recently
|
||||
merged RISC-V architecture support.
|
||||
|
||||
Updated/fixed packages: dt-utils, easydbus, elfutils,
|
||||
flare-engine, flatcc, glibc, gstreamer, gstreamer1, imx-uuc,
|
||||
libassuan, libcorrect, libiscsi, libkrb5, libmicrohttpd,
|
||||
libnftnl, libnspr, libnss, libsemanage, libsigsegv, libv4l,
|
||||
ltp-testsuite, luv, luvi, make, ncmpc, netplug, openocd,
|
||||
prosody, qemu, rpm, sconeserver, shadowsocks-libev,
|
||||
supertuxcart, syslinux, systemd, trace-cmd, uclibc,
|
||||
uclibc-ng-test, vtun, webkitgtk, weston, wireshark, xen,
|
||||
xlib_libfontenc
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11086: download/git submodule breaks on symlinked dl folder
|
||||
#11216: Capabilities not applied to filesystem
|
||||
|
||||
2018.11-rc1, released November 9th, 2018
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
@@ -232,6 +232,12 @@ config BR2_KERNEL_HEADERS_4_17
|
||||
Version 4.17.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_LIBNFTNL_XML
|
||||
bool "libnftl no longer supports XML output"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
libnftnl removed integration with libmxml.
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2018.08"
|
||||
|
||||
|
||||
4
Makefile
4
Makefile
@@ -92,9 +92,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2018.11-rc1
|
||||
export BR2_VERSION := 2018.11-rc2
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1541800000
|
||||
BR2_VERSION_EPOCH = 1542786000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
From 1a74985b2a404639b08882c57f3147229605dfd5 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Tue, 19 Apr 2016 06:50:31 -0400
|
||||
Subject: [PATCH] extlinux: pull in sys/sysmacros.h for major/minor/makedev
|
||||
|
||||
These functions are defined in sys/sysmacros.h, so add the include to
|
||||
main.c. This is already handled correctly in mountinfo.c. Otherwise
|
||||
we get build failures like:
|
||||
|
||||
main.o: In function 'find_device_sysfs':
|
||||
extlinux/main.c:1131: undefined reference to 'minor'
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
|
||||
Signed-off-by: Alexander Sverdlin <alexader.sverdlin@gmail.com>
|
||||
---
|
||||
extlinux/main.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/extlinux/main.c b/extlinux/main.c
|
||||
index a7ebd49..ebff7ea 100644
|
||||
--- a/extlinux/main.c
|
||||
+++ b/extlinux/main.c
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <sysexits.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/vfs.h>
|
||||
--
|
||||
2.10.5.GIT
|
||||
|
||||
@@ -76,37 +76,37 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2018.11-rc1</b></h3>
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2018.11-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-2018.11-rc1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.11-rc2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2018.11-rc1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.11-rc2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2018.11-rc1.tar.gz">buildroot-2018.11-rc1.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.11-rc1.tar.gz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2018.11-rc2.tar.gz">buildroot-2018.11-rc2.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.11-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-2018.11-rc1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.11-rc2.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2018.11-rc1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2018.11-rc2.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2018.11-rc1.tar.bz2">buildroot-2018.11-rc1.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.11-rc1.tar.bz2.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2018.11-rc2.tar.bz2">buildroot-2018.11-rc2.tar.bz2</a></h3>
|
||||
<p><a href="/downloads/buildroot-2018.11-rc2.tar.bz2.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -9,6 +9,52 @@
|
||||
<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">2018.11-rc2 released</h4>
|
||||
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>21 November 2018</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=2018.11-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-2018.11-rc2.tar.bz2">2018.11-rc2
|
||||
release candidate</a>, and report any problems found to the
|
||||
<a href="support.html">mailing list</a> or
|
||||
<a href="https://bugs.buildroot.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">
|
||||
<div class="timeline-heading">
|
||||
<h4 class="timeline-title">2018.11-rc1 released</h4>
|
||||
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>9 November 2018</small></p>
|
||||
</div>
|
||||
<div class="timeline-body">
|
||||
<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=2018.11-rc1">CHANGES</a>
|
||||
file for details and/or read
|
||||
the <a href="http://lists.busybox.net/pipermail/buildroot/2018-November/235405.html">announcement</a>.
|
||||
</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2018.11-rc1.tar.bz2">2018.11-rc1
|
||||
release candidate</a>, and report any problems found to the
|
||||
<a href="support.html">mailing list</a> or
|
||||
<a href="https://bugs.buildroot.org">bug tracker</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="timeline-inverted">
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
|
||||
61
fs/common.mk
61
fs/common.mk
@@ -40,48 +40,21 @@ define ROOTFS_REPRODUCIBLE
|
||||
endef
|
||||
endif
|
||||
|
||||
ROOTFS_COMMON_TAR = $(FS_DIR)/rootfs.common.tar
|
||||
|
||||
# Command to create the common tarball from the base target directory.
|
||||
define ROOTFS_COMMON_TAR_CMD
|
||||
tar cf $(ROOTFS_COMMON_TAR) --numeric-owner \
|
||||
--exclude=$(notdir $(TARGET_DIR_WARNING_FILE)) \
|
||||
-C $(TARGET_DIR) .
|
||||
endef
|
||||
|
||||
# Command to extract the common tarball into the per-rootfs target directory
|
||||
define ROOTFS_COMMON_UNTAR_CMD
|
||||
mkdir -p $(TARGET_DIR)
|
||||
tar xf $(ROOTFS_COMMON_TAR) -C $(TARGET_DIR)
|
||||
endef
|
||||
|
||||
.PHONY: rootfs-common
|
||||
rootfs-common: $(ROOTFS_COMMON_TAR)
|
||||
|
||||
# Emulate being in a filesystem, so that we can have our own TARGET_DIR.
|
||||
ROOTFS_COMMON_TARGET_DIR = $(FS_DIR)/target
|
||||
|
||||
ROOTFS_COMMON_DEPENDENCIES = \
|
||||
host-fakeroot host-makedevs \
|
||||
$(BR2_TAR_HOST_DEPENDENCY) \
|
||||
$(if $(PACKAGES_USERS)$(ROOTFS_USERS_TABLES),host-mkpasswd)
|
||||
|
||||
$(ROOTFS_COMMON_TAR): ROOTFS=COMMON
|
||||
$(ROOTFS_COMMON_TAR): FAKEROOT_SCRIPT=$(FS_DIR)/fakeroot.fs
|
||||
$(ROOTFS_COMMON_TAR): $(ROOTFS_COMMON_DEPENDENCIES) target-finalize
|
||||
@$(call MESSAGE,"Generating common rootfs tarball")
|
||||
.PHONY: rootfs-common
|
||||
rootfs-common: $(ROOTFS_COMMON_DEPENDENCIES) target-finalize
|
||||
@$(call MESSAGE,"Generating root filesystems common tables")
|
||||
rm -rf $(FS_DIR)
|
||||
mkdir -p $(FS_DIR)
|
||||
rsync -auH $(BASE_TARGET_DIR)/ $(TARGET_DIR)
|
||||
echo '#!/bin/sh' > $(FAKEROOT_SCRIPT)
|
||||
echo "set -e" >> $(FAKEROOT_SCRIPT)
|
||||
echo "chown -h -R 0:0 $(TARGET_DIR)" >> $(FAKEROOT_SCRIPT)
|
||||
|
||||
$(call PRINTF,$(PACKAGES_USERS)) >> $(USERS_TABLE)
|
||||
ifneq ($(ROOTFS_USERS_TABLES),)
|
||||
cat $(ROOTFS_USERS_TABLES) >> $(USERS_TABLE)
|
||||
endif
|
||||
PATH=$(BR_PATH) $(TOPDIR)/support/scripts/mkusers $(USERS_TABLE) $(TARGET_DIR) >> $(FAKEROOT_SCRIPT)
|
||||
ifneq ($(ROOTFS_DEVICE_TABLES),)
|
||||
cat $(ROOTFS_DEVICE_TABLES) > $(FULL_DEVICE_TABLE)
|
||||
ifeq ($(BR2_ROOTFS_DEVICE_CREATION_STATIC),y)
|
||||
@@ -89,16 +62,6 @@ ifeq ($(BR2_ROOTFS_DEVICE_CREATION_STATIC),y)
|
||||
endif
|
||||
endif
|
||||
$(call PRINTF,$(PACKAGES_PERMISSIONS_TABLE)) >> $(FULL_DEVICE_TABLE)
|
||||
echo "$(HOST_DIR)/bin/makedevs -d $(FULL_DEVICE_TABLE) $(TARGET_DIR)" >> $(FAKEROOT_SCRIPT)
|
||||
$(foreach s,$(call qstrip,$(BR2_ROOTFS_POST_FAKEROOT_SCRIPT)),\
|
||||
echo "echo '$(TERM_BOLD)>>> Executing fakeroot script $(s)$(TERM_RESET)'" >> $(FAKEROOT_SCRIPT); \
|
||||
echo $(EXTRA_ENV) $(s) $(TARGET_DIR) $(BR2_ROOTFS_POST_SCRIPT_ARGS) >> $(FAKEROOT_SCRIPT)$(sep))
|
||||
$(foreach hook,$(ROOTFS_PRE_CMD_HOOKS),\
|
||||
$(call PRINTF,$($(hook))) >> $(FAKEROOT_SCRIPT)$(sep))
|
||||
$(call PRINTF,$(ROOTFS_COMMON_TAR_CMD)) >> $(FAKEROOT_SCRIPT)
|
||||
chmod a+x $(FAKEROOT_SCRIPT)
|
||||
PATH=$(BR_PATH) $(HOST_DIR)/bin/fakeroot -- $(FAKEROOT_SCRIPT)
|
||||
$(Q)rm -rf $(TARGET_DIR)
|
||||
|
||||
rootfs-common-show-depends:
|
||||
@echo $(ROOTFS_COMMON_DEPENDENCIES)
|
||||
@@ -147,9 +110,23 @@ $$(BINARIES_DIR)/rootfs.$(1): $$(ROOTFS_$(2)_DEPENDENCIES)
|
||||
@$$(call MESSAGE,"Generating root filesystem image rootfs.$(1)")
|
||||
rm -rf $$(ROOTFS_$(2)_DIR)
|
||||
mkdir -p $$(ROOTFS_$(2)_DIR)
|
||||
rsync -auH \
|
||||
--exclude=/$$(notdir $$(TARGET_DIR_WARNING_FILE)) \
|
||||
$$(BASE_TARGET_DIR)/ \
|
||||
$$(TARGET_DIR)
|
||||
|
||||
echo '#!/bin/sh' > $$(FAKEROOT_SCRIPT)
|
||||
echo "set -e" >> $$(FAKEROOT_SCRIPT)
|
||||
$$(call PRINTF,$$(ROOTFS_COMMON_UNTAR_CMD)) >> $$(FAKEROOT_SCRIPT)
|
||||
|
||||
echo "chown -h -R 0:0 $$(TARGET_DIR)" >> $$(FAKEROOT_SCRIPT)
|
||||
PATH=$$(BR_PATH) $$(TOPDIR)/support/scripts/mkusers $$(USERS_TABLE) $$(TARGET_DIR) >> $$(FAKEROOT_SCRIPT)
|
||||
echo "$$(HOST_DIR)/bin/makedevs -d $$(FULL_DEVICE_TABLE) $$(TARGET_DIR)" >> $$(FAKEROOT_SCRIPT)
|
||||
$$(foreach s,$$(call qstrip,$$(BR2_ROOTFS_POST_FAKEROOT_SCRIPT)),\
|
||||
echo "echo '$$(TERM_BOLD)>>> Executing fakeroot script $$(s)$$(TERM_RESET)'" >> $$(FAKEROOT_SCRIPT); \
|
||||
echo $$(EXTRA_ENV) $$(s) $$(TARGET_DIR) $$(BR2_ROOTFS_POST_SCRIPT_ARGS) >> $$(FAKEROOT_SCRIPT)$$(sep))
|
||||
$$(foreach hook,$$(ROOTFS_PRE_CMD_HOOKS),\
|
||||
$$(call PRINTF,$$($$(hook))) >> $$(FAKEROOT_SCRIPT)$$(sep))
|
||||
|
||||
$$(foreach hook,$$(ROOTFS_$(2)_PRE_GEN_HOOKS),\
|
||||
$$(call PRINTF,$$($$(hook))) >> $$(FAKEROOT_SCRIPT)$$(sep))
|
||||
$$(call PRINTF,$$(ROOTFS_REPRODUCIBLE)) >> $$(FAKEROOT_SCRIPT)
|
||||
@@ -171,7 +148,7 @@ rootfs-$(1): $$(BINARIES_DIR)/rootfs.$(1)
|
||||
|
||||
ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y)
|
||||
TARGETS_ROOTFS += rootfs-$(1)
|
||||
PACKAGES += $$(filter-out rootfs-%,$$(ROOTFS_$(2)_DEPENDENCIES))
|
||||
PACKAGES += $$(filter-out rootfs-%,$$(ROOTFS_$(2)_DEPENDENCIES) $$(ROOTFS_COMMON_DEPENDENCIES))
|
||||
endif
|
||||
|
||||
# Check for legacy POST_TARGETS rules
|
||||
|
||||
@@ -10,7 +10,7 @@ ROOTFS_TAR_DEPENDENCIES = $(BR2_TAR_HOST_DEPENDENCY)
|
||||
|
||||
define ROOTFS_TAR_CMD
|
||||
(cd $(TARGET_DIR); find -print0 | LC_ALL=C sort -z | \
|
||||
tar $(TAR_OPTS) -cf $@ --null --no-recursion -T - --numeric-owner)
|
||||
tar $(TAR_OPTS) -cf $@ --null --xattrs-include='*' --no-recursion -T - --numeric-owner)
|
||||
endef
|
||||
|
||||
$(eval $(rootfs))
|
||||
|
||||
@@ -120,7 +120,7 @@ endif
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "4.18.14" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "4.18.18" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "v4.4.138-cip25" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
|
||||
if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
|
||||
sha256 36c6d1360db9eab40270db6d292c259dd34d3dc06049d64afe3e4cfafb8562d3 linux-4.18.14.tar.xz
|
||||
sha256 34b361f815ad501268b6289dbb9b835dca1b1b470ad51cb8bc0f7c105588033d linux-4.18.18.tar.xz
|
||||
sha256 41026d713ba4f7a5e9d514b876ce4ed28a1d993c0c58b42b2a2597d6a0e83021 linux-4.16.18.tar.xz
|
||||
sha256 ee3f19a4ff8a42793c193e361e1d34fcc821a5ca9b58db41befb2b4df0e482be linux-4.14.76.tar.xz
|
||||
sha256 53730fc025ba330a6f4908a6a1e4cb86d821000c84167721680ccf1b37b26563 linux-4.9.133.tar.xz
|
||||
sha256 be0383d57c52a7ac6b1ca4d989a16a581f52ec9704ccf4ddf066b1b5b1313f87 linux-4.4.161.tar.xz
|
||||
sha256 9ddc7bc11cbea6475ac5abf18e01a143d7d506bece591e0dcb15c9452d3ed7d2 linux-4.14.80.tar.xz
|
||||
sha256 d39531e2df13cec1f998a5273d86f10db977409a778c0c7e56ef3d50c7262ec8 linux-4.9.136.tar.xz
|
||||
sha256 61b3d63a960a55046a7324d5724c262831952b223fe9ca02be0607f26d8f2ef4 linux-4.4.163.tar.xz
|
||||
sha256 6ad9389e55e0ea57768eae173747058a4487fa3630e10a7999cfec9f945e559c linux-4.1.52.tar.xz
|
||||
# From https://www.kernel.org/pub/linux/kernel/v3.x/sha256sums.asc
|
||||
sha256 ad96d797571496c969aa71bf5d08e9d2a8c84458090d29a120f1b2981185a99e linux-3.2.102.tar.xz
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 a3aae73da39fd46775de390b7babafb63767082da10870c01b6595c4c9762af6 dt-utils-v2018.05.0.tar.gz
|
||||
sha256 d0f53c76bc9f821a6506c8db3b623922d82570a017a9a40ad118bd7c957672b6 dt-utils-v2018.05.0.tar.gz
|
||||
sha256 a45932c79317d15116eadbf1c9c6fc59117ec3c4621db3a876066defa723963b COPYING
|
||||
|
||||
33
package/easydbus/0001-easydbus-is-a-C-project-file.patch
Normal file
33
package/easydbus/0001-easydbus-is-a-C-project-file.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
From a4bd47f593fbe55bd3ab17532e64be74aff5b29d Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sat, 17 Nov 2018 11:38:05 +0100
|
||||
Subject: [PATCH] easydbus is a C project file
|
||||
|
||||
Specify that easydbus is a C project file otherwise build will fail if
|
||||
no C++ compiler is found by cmake
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/486c3cd98124e7415dee2fd1463bd5e0fcc9ba91
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: https://github.com/mniestroj/easydbus/pull/2]
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 58ccb2d..575eb24 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
-project(easydbus)
|
||||
+project(easydbus C)
|
||||
|
||||
add_definitions("-Wall -Wextra -Wno-unused-parameter")
|
||||
set(CMAKE_C_FLAGS_RELEASE "-O2")
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://sourceware.org/elfutils/ftp/0.171/sha512.sum
|
||||
sha512 777be2d63ca9b11440bf358a33428d9ca974e2612a880934156c9f7194af596ed627c1ed2d48dbd47a3761c94913b8f39565f9dcb6b62c92bf229f04c96d5ee3 elfutils-0.171.tar.bz2
|
||||
# From https://sourceware.org/elfutils/ftp/0.174/sha512.sum
|
||||
sha512 696708309c2a9a076099748809ecdc0490f4a8a842b2efc1aae0d746e7c5a8b203743f5626739eff837216b0c052696516b2821f5d3cc3f2eef86597c96d42df elfutils-0.174.tar.bz2
|
||||
# Locally calculated
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING-GPLV2
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ELFUTILS_VERSION = 0.171
|
||||
ELFUTILS_VERSION = 0.174
|
||||
ELFUTILS_SOURCE = elfutils-$(ELFUTILS_VERSION).tar.bz2
|
||||
ELFUTILS_SITE = https://sourceware.org/elfutils/ftp/$(ELFUTILS_VERSION)
|
||||
ELFUTILS_INSTALL_STAGING = YES
|
||||
|
||||
@@ -14,4 +14,9 @@ FLARE_ENGINE_DEPENDENCIES += sdl2 sdl2_image sdl2_mixer sdl2_ttf
|
||||
# Don't use /usr/games and /usr/share/games
|
||||
FLARE_ENGINE_CONF_OPTS += -DBINDIR=bin -DDATADIR=share/flare
|
||||
|
||||
# Don't use the default Debug type as it adds -pg (gprof)
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||
FLARE_ENGINE_CONF_OPTS += -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
@@ -19,8 +19,9 @@ HOST_FLATCC_CONF_OPTS += -DFLATCC_TEST=OFF
|
||||
FLATCC_CONF_OPTS += -DFLATCC_INSTALL=ON
|
||||
HOST_FLATCC_CONF_OPTS += -DFLATCC_INSTALL=ON
|
||||
|
||||
# compiler is named flatcc or flatcc_d depending on BR2_ENABLE_DEBUG value
|
||||
define FLATCC_TARGET_REMOVE_FLATCC_COMPILER
|
||||
rm $(TARGET_DIR)/usr/bin/flatcc
|
||||
rm $(TARGET_DIR)/usr/bin/flatcc*
|
||||
endef
|
||||
|
||||
FLATCC_POST_INSTALL_TARGET_HOOKS += FLATCC_TARGET_REMOVE_FLATCC_COMPILER
|
||||
|
||||
@@ -3,6 +3,7 @@ config BR2_PACKAGE_IMX_UUC
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_arm # Only relevant for i.MX
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # usb_functionfs_descs_head_v2
|
||||
select BR2_PACKAGE_HOST_DOSFSTOOLS
|
||||
help
|
||||
This package provides the Universal Adapter user-space
|
||||
@@ -15,7 +16,8 @@ config BR2_PACKAGE_IMX_UUC
|
||||
This package is provided by Freescale/NXP as-is and doesn't
|
||||
have an upstream.
|
||||
|
||||
comment "imx-uuc needs a toolchain w/ threads"
|
||||
comment "imx-uuc needs a toolchain w/ threads, headers >= 3.18"
|
||||
depends on BR2_arm
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 1463e855d1229e6b6c02df2085f6bff5974bc061d13a61646b63675c160cba99 imx-uuc-2ae634281a39c82b6a8ee0fdcfbfbe42183ceb53.tar.gz
|
||||
sha256 ac4960b9dc53cfd09709951c4bf1f774567ff0918d0b216b480e1f7df8c6ee48 imx-uuc-79e9798eee9cd972d92ed2b18f170de856d153c9.tar.gz
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
IMX_UUC_VERSION = 2ae634281a39c82b6a8ee0fdcfbfbe42183ceb53
|
||||
IMX_UUC_SITE = $(call github,codeauroraforum,imx-uuc,$(IMX_UUC_VERSION))
|
||||
IMX_UUC_VERSION = 79e9798eee9cd972d92ed2b18f170de856d153c9
|
||||
IMX_UUC_SITE = $(call github,NXPmicro,imx-uuc,$(IMX_UUC_VERSION))
|
||||
IMX_UUC_LICENSE = GPL-2.0+
|
||||
IMX_UUC_LICENSE_FILES = COPYING
|
||||
|
||||
@@ -20,6 +20,7 @@ endef
|
||||
define IMX_UUC_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 755 $(@D)/uuc $(TARGET_DIR)/usr/bin/uuc
|
||||
$(INSTALL) -D -m 755 $(@D)/sdimage $(TARGET_DIR)/usr/bin/sdimage
|
||||
$(INSTALL) -D -m 755 $(@D)/ufb $(TARGET_DIR)/usr/bin/ufb
|
||||
dd if=/dev/zero of=$(TARGET_DIR)/fat bs=1M count=1
|
||||
$(HOST_DIR)/sbin/mkfs.vfat $(TARGET_DIR)/fat
|
||||
endef
|
||||
|
||||
@@ -31,10 +31,6 @@ GLIBC_ADD_TOOLCHAIN_DEPENDENCY = NO
|
||||
GLIBC_DEPENDENCIES = host-gcc-initial linux-headers host-bison host-gawk \
|
||||
$(BR2_MAKE_HOST_DEPENDENCY)
|
||||
|
||||
# glibc requires make >= 4.0 since 2.28 release.
|
||||
# https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html
|
||||
GLIBC_MAKE = $(BR2_MAKE)
|
||||
|
||||
GLIBC_SUBDIR = build
|
||||
|
||||
GLIBC_INSTALL_STAGING = YES
|
||||
@@ -82,6 +78,11 @@ ifeq ($(BR2_riscv),y)
|
||||
GLIBC_CONF_ENV += libc_cv_slibdir=/lib64 libc_cv_rtlddir=/lib
|
||||
endif
|
||||
|
||||
# glibc requires make >= 4.0 since 2.28 release.
|
||||
# https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html
|
||||
GLIBC_MAKE = $(BR2_MAKE)
|
||||
GLIBC_CONF_ENV += ac_cv_prog_MAKE="$(BR2_MAKE)"
|
||||
|
||||
# Even though we use the autotools-package infrastructure, we have to
|
||||
# override the default configure commands for several reasons:
|
||||
#
|
||||
|
||||
@@ -15,7 +15,7 @@ GSTREAMER_LICENSE_FILES = COPYING
|
||||
# Checking if unaligned memory access works correctly cannot be done when cross
|
||||
# compiling. For the following architectures there is no information available
|
||||
# in the configure script.
|
||||
ifeq ($(BR2_arc)$(BR2_xtensa)$(BR2_microblaze)$(BR2_nios2)$(BR2_or1k),y)
|
||||
ifeq ($(BR2_arc)$(BR2_xtensa)$(BR2_microblaze)$(BR2_nios2)$(BR2_or1k)$(BR2_riscv),y)
|
||||
GSTREAMER_CONF_ENV = as_cv_unaligned_access=no
|
||||
endif
|
||||
ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y)
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
From 58982c0d28f1eb385319307ee47bd6522c812f22 Mon Sep 17 00:00:00 2001
|
||||
From: Aurelien Jarno <aurelien@aurel32.net>
|
||||
Date: Sun, 15 Apr 2018 00:49:55 +0200
|
||||
Subject: [PATCH] gstconfig.h.in: initial RISC-V support
|
||||
|
||||
RISC-V supports unaligned accesses, but these might run extremely slowly
|
||||
depending on the implementation. Therefore set GST_HAVE_UNALIGNED_ACCESS
|
||||
to 0 on this architecture.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=795271
|
||||
|
||||
Upstream: https://gitlab.freedesktop.org/gstreamer/gstreamer/commit/8a156d1725ecd03f2e8cdc8874e081dda2d3b43d
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
gst/gstconfig.h.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gst/gstconfig.h.in b/gst/gstconfig.h.in
|
||||
index 6351c04da..33dfed1f6 100644
|
||||
--- a/gst/gstconfig.h.in
|
||||
+++ b/gst/gstconfig.h.in
|
||||
@@ -104,7 +104,7 @@
|
||||
* http://docs.oracle.com/cd/E19205-01/820-4155/c++_faq.html#Vers6
|
||||
* https://software.intel.com/en-us/node/583402
|
||||
*/
|
||||
-#if defined(__alpha__) || defined(__arc__) || defined(__arm__) || defined(__aarch64__) || defined(__bfin) || defined(__hppa__) || defined(__nios2__) || defined(__MICROBLAZE__) || defined(__mips__) || defined(__or1k__) || defined(__sh__) || defined(__SH4__) || defined(__sparc__) || defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) || defined(_M_ARM) || defined(_M_IA64) || defined(__xtensa__) || defined(__e2k__)
|
||||
+#if defined(__alpha__) || defined(__arc__) || defined(__arm__) || defined(__aarch64__) || defined(__bfin) || defined(__hppa__) || defined(__nios2__) || defined(__MICROBLAZE__) || defined(__mips__) || defined(__or1k__) || defined(__sh__) || defined(__SH4__) || defined(__sparc__) || defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) || defined(_M_ARM) || defined(_M_IA64) || defined(__xtensa__) || defined(__e2k__) || defined(__riscv)
|
||||
# define GST_HAVE_UNALIGNED_ACCESS 0
|
||||
#elif defined(__i386__) || defined(__i386) || defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__ppc__) || defined(__ppc64__) || defined(__powerpc__) || defined(__powerpc64__) || defined(__m68k__) || defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) || defined(__s390__) || defined(__s390x__) || defined(__zarch__)
|
||||
# define GST_HAVE_UNALIGNED_ACCESS 1
|
||||
--
|
||||
2.19.1
|
||||
|
||||
@@ -13,5 +13,6 @@ LIBASSUAN_INSTALL_STAGING = YES
|
||||
LIBASSUAN_DEPENDENCIES = libgpg-error
|
||||
LIBASSUAN_CONF_OPTS = \
|
||||
--with-gpg-error-prefix=$(STAGING_DIR)/usr
|
||||
LIBASSUAN_CONFIG_SCRIPTS = libassuan-config
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From 1a3bb66608b2f96407d14fe13b782626990060f1 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Tue, 20 Nov 2018 08:20:13 +0100
|
||||
Subject: [PATCH] CMakeLists.txt: conditionally use -fsanitize=address
|
||||
|
||||
Check that compiler supports -fsanitize=address before using it
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.net/results/221d6a418e75b39fe645c3a56cee676518d2cff6
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 2e8e07e..c3f71ce 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -17,7 +17,11 @@ if(COMPILER_SUPPORTS_WPEDANTIC)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wpedantic")
|
||||
endif()
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g3 -O0 -fsanitize=address")
|
||||
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g3 -O0")
|
||||
+ check_c_compiler_flag("-fsanitize=address -Werror" COMPILER_SUPPORTS_SANITIZE_ADDRESS)
|
||||
+ if(COMPILER_SUPPORTS_SANITIZE_ADDRESS)
|
||||
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address")
|
||||
+ endif()
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-no_pie,")
|
||||
else()
|
||||
if("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
From bffafc1c3003c2ee05d28eaa345e5854bc36014d Mon Sep 17 00:00:00 2001
|
||||
From: Paolo Bonzini <pbonzini@redhat.com>
|
||||
Date: Mon, 1 Oct 2018 14:16:14 +0200
|
||||
Subject: [PATCH] avoid truncation when logging message that includes target
|
||||
name
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Retrieved from:
|
||||
https://github.com/sahlberg/libiscsi/commit/bffafc1c3003c2ee05d28eaa345e5854bc36014d]
|
||||
---
|
||||
lib/logging.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/lib/logging.c b/lib/logging.c
|
||||
index be518fc5..61c74407 100644
|
||||
--- a/lib/logging.c
|
||||
+++ b/lib/logging.c
|
||||
@@ -73,9 +73,9 @@ iscsi_log_message(struct iscsi_context *iscsi, int level, const char *format, ..
|
||||
}
|
||||
|
||||
if (iscsi->target_name[0]) {
|
||||
- static char message2[1024];
|
||||
+ static char message2[1282];
|
||||
|
||||
- snprintf(message2, 1024, "%s [%s]", message, iscsi->target_name);
|
||||
+ snprintf(message2, 1282, "%s [%s]", message, iscsi->target_name);
|
||||
iscsi->log_fn(level, message2);
|
||||
}
|
||||
else
|
||||
24
package/libiscsi/0003-avoid-fallthrough.patch
Normal file
24
package/libiscsi/0003-avoid-fallthrough.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
From 679d0abe7c142df178a907397551c4d9695cc667 Mon Sep 17 00:00:00 2001
|
||||
From: Paolo Bonzini <pbonzini@redhat.com>
|
||||
Date: Mon, 1 Oct 2018 14:14:24 +0200
|
||||
Subject: [PATCH] avoid fallthrough
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Retrieved from:
|
||||
https://github.com/sahlberg/libiscsi/commit/679d0abe7c142df178a907397551c4d9695cc667]
|
||||
---
|
||||
lib/scsi-lowlevel.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/lib/scsi-lowlevel.c b/lib/scsi-lowlevel.c
|
||||
index 5ddd709c..747ce0c4 100644
|
||||
--- a/lib/scsi-lowlevel.c
|
||||
+++ b/lib/scsi-lowlevel.c
|
||||
@@ -1086,6 +1086,7 @@ scsi_maintenancein_datain_getfullsize(struct scsi_task *task)
|
||||
(task_get_uint8(task, 1) & 0x80) ? 12 : 0 +
|
||||
task_get_uint16(task, 2);
|
||||
}
|
||||
+ return -1;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
@@ -52,7 +52,14 @@ else
|
||||
LIBKRB5_CONF_OPTS += --without-readline
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
# gcc on riscv doesn't define _REENTRANT when -pthread is passed while
|
||||
# it should. Compensate this deficiency here otherwise libkrb5 configure
|
||||
# script doesn't find that thread support is enabled.
|
||||
ifeq ($(BR2_riscv),y)
|
||||
LIBKRB5_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_REENTRANT"
|
||||
endif
|
||||
else
|
||||
LIBKRB5_CONF_OPTS += --disable-thread-support
|
||||
endif
|
||||
|
||||
|
||||
@@ -11,10 +11,10 @@ LIBMICROHTTPD_INSTALL_STAGING = YES
|
||||
LIBMICROHTTPD_CONF_OPTS = --disable-curl --disable-examples
|
||||
LIBMICROHTTPD_CFLAGS = $(TARGET_CFLAGS) -std=c99
|
||||
|
||||
# gcc on arc doesn't define _REENTRANT when -pthread is passed while
|
||||
# gcc on arc and riscv doesn't define _REENTRANT when -pthread is passed while
|
||||
# it should. Compensate this deficiency here otherwise libmicrohttpd
|
||||
# configure script doesn't find that thread support is enabled.
|
||||
ifeq ($(BR2_arc),y)
|
||||
ifeq ($(BR2_arc)$(BR2_riscv),y)
|
||||
LIBMICROHTTPD_CFLAGS += -D_REENTRANT
|
||||
endif
|
||||
|
||||
|
||||
@@ -22,14 +22,4 @@ config BR2_PACKAGE_LIBNFTNL_JSON
|
||||
help
|
||||
Enable JSON parsing support
|
||||
|
||||
config BR2_PACKAGE_LIBNFTNL_XML
|
||||
bool "enable XML support"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_MXML
|
||||
help
|
||||
Enable XML parsing support
|
||||
|
||||
comment "libnftnl XML parsing support needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
endif
|
||||
|
||||
@@ -2,14 +2,16 @@ Add Nios-II support
|
||||
|
||||
[Gustavo: update for nspr 4.10.9]
|
||||
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
|
||||
[Fabrice: update for nspr 4.20]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
|
||||
Index: b/nspr/pr/include/md/_linux.cfg
|
||||
===================================================================
|
||||
--- a/nspr/pr/include/md/_linux.cfg
|
||||
+++ b/nspr/pr/include/md/_linux.cfg
|
||||
@@ -1017,6 +1017,51 @@
|
||||
#define PR_BYTES_PER_WORD_LOG2 2
|
||||
#define PR_BYTES_PER_DWORD_LOG2 3
|
||||
@@ -1112,6 +1112,51 @@
|
||||
#define PR_BYTES_PER_WORD_LOG2 3
|
||||
#define PR_BYTES_PER_DWORD_LOG2 3
|
||||
|
||||
+#elif defined(__nios2__)
|
||||
+
|
||||
@@ -64,9 +66,9 @@ Index: b/nspr/pr/include/md/_linux.h
|
||||
--- a/nspr/pr/include/md/_linux.h
|
||||
+++ b/nspr/pr/include/md/_linux.h
|
||||
@@ -57,6 +57,8 @@
|
||||
#define _PR_SI_ARCHITECTURE "m32r"
|
||||
#elif defined(__or1k__)
|
||||
#define _PR_SI_ARCHITECTURE "or1k"
|
||||
#define _PR_SI_ARCHITECTURE "riscv32"
|
||||
#elif defined(__riscv) && (__riscv_xlen == 64)
|
||||
#define _PR_SI_ARCHITECTURE "riscv64"
|
||||
+#elif defined(__nios2__)
|
||||
+#define _PR_SI_ARCHITECTURE "nios2"
|
||||
#else
|
||||
|
||||
@@ -2,12 +2,14 @@ Add Microblaze support
|
||||
|
||||
[Gustavo: update for nspr 4.10.9]
|
||||
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
|
||||
[Fabrice: update for nspr 4.20]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
|
||||
Index: b/nspr/pr/include/md/_linux.cfg
|
||||
===================================================================
|
||||
--- a/nspr/pr/include/md/_linux.cfg
|
||||
+++ b/nspr/pr/include/md/_linux.cfg
|
||||
@@ -1062,6 +1062,56 @@
|
||||
@@ -1157,6 +1157,56 @@
|
||||
#define PR_BYTES_PER_WORD_LOG2 2
|
||||
#define PR_BYTES_PER_DWORD_LOG2 3
|
||||
|
||||
@@ -69,9 +71,9 @@ Index: b/nspr/pr/include/md/_linux.h
|
||||
--- a/nspr/pr/include/md/_linux.h
|
||||
+++ b/nspr/pr/include/md/_linux.h
|
||||
@@ -57,6 +57,8 @@
|
||||
#define _PR_SI_ARCHITECTURE "m32r"
|
||||
#elif defined(__or1k__)
|
||||
#define _PR_SI_ARCHITECTURE "or1k"
|
||||
#define _PR_SI_ARCHITECTURE "riscv32"
|
||||
#elif defined(__riscv) && (__riscv_xlen == 64)
|
||||
#define _PR_SI_ARCHITECTURE "riscv64"
|
||||
+#elif defined(__microblaze__)
|
||||
+#define _PR_SI_ARCHITECTURE "microblaze"
|
||||
#elif defined(__nios2__)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From https://ftp.mozilla.org/pub/nspr/releases/v4.19/src/SHA256SUMS
|
||||
sha256 2ed95917fa2277910d1d1cf36030607dccc0ba522bba08e2af13c113dcd8f729 nspr-4.19.tar.gz
|
||||
# From https://ftp.mozilla.org/pub/nspr/releases/v4.20/src/SHA256SUMS
|
||||
sha256 2c8964913da89ffbaf464d49ce44d79e8804e1794ef9a8c52a7bff7224d1556e nspr-4.20.tar.gz
|
||||
# Locally calculated
|
||||
sha256 fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85 nspr/LICENSE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBNSPR_VERSION = 4.19
|
||||
LIBNSPR_VERSION = 4.20
|
||||
LIBNSPR_SOURCE = nspr-$(LIBNSPR_VERSION).tar.gz
|
||||
LIBNSPR_SITE = https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$(LIBNSPR_VERSION)/src
|
||||
LIBNSPR_SUBDIR = nspr
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_38_RTM/src/SHA256SUMS
|
||||
sha256 2c643d3c08d6935f4d325f40743719b6990aa25a79ec2f8f712c99d086672f62 nss-3.38.tar.gz
|
||||
# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_39_RTM/src/SHA256SUMS
|
||||
sha256 6be64dd76f212415cc8bc34343ac1e7389048db4db9a023a84873c411dc5864b nss-3.39.tar.gz
|
||||
# Locally calculated
|
||||
sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBNSS_VERSION = 3.38
|
||||
LIBNSS_VERSION = 3.39
|
||||
LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz
|
||||
LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src
|
||||
LIBNSS_DISTDIR = dist
|
||||
|
||||
@@ -31,7 +31,8 @@ HOST_LIBSEMANAGE_DEPENDENCIES = host-bison host-audit host-libsepol host-libseli
|
||||
HOST_LIBSEMANAGE_MAKE_OPTS += \
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
PREFIX=$(HOST_DIR) \
|
||||
SWIG_LIB="$(HOST_DIR)/share/swig/$(SWIG_VERSION)/"
|
||||
SWIG_LIB="$(HOST_DIR)/share/swig/$(SWIG_VERSION)/" \
|
||||
DEFAULT_SEMANAGE_CONF_LOCATION=$(HOST_DIR)/etc/selinux/semanage.conf
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||
HOST_LIBSEMANAGE_DEPENDENCIES += host-python3
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
From 4e6e6b52fe2f88584645a761bb342ac89d6c2860 Mon Sep 17 00:00:00 2001
|
||||
From: Bruno Haible <bruno@clisp.org>
|
||||
Date: Thu, 15 Mar 2018 19:01:27 +0100
|
||||
Subject: [PATCH] Improve support for Linux/RISC-V.
|
||||
|
||||
[Thomas: backported from upstream commit
|
||||
671b2528b55c57eda1a8fe5872ff1ef61014235f, drop ChangeLog changes.]
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
configure.ac | 3 +++
|
||||
src/Makefile.am | 1 +
|
||||
src/fault-linux-riscv64.h | 29 +++++++++++++++++++++++++++++
|
||||
3 files changed, 33 insertions(+)
|
||||
create mode 100644 src/fault-linux-riscv64.h
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 74ce6b4..9775cfb 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -428,6 +428,9 @@ if test -z "$CFG_FAULT" && test "$sv_cv_fault_posix" = yes; then
|
||||
powerpc* | rs6000)
|
||||
CFG_FAULT=fault-linux-powerpc.h
|
||||
;;
|
||||
+ riscv64)
|
||||
+ CFG_FAULT=fault-linux-riscv64.h
|
||||
+ ;;
|
||||
s390*)
|
||||
CFG_FAULT=fault-linux-s390.h
|
||||
;;
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 3afa398..9a9982f 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -42,6 +42,7 @@ noinst_HEADERS = \
|
||||
fault-linux-m68k.h fault-linux-m68k-old.h fault-linux-m68k-old.c \
|
||||
fault-linux-mips.h fault-linux-mips-old.h \
|
||||
fault-linux-powerpc.h fault-linux-powerpc-old.h \
|
||||
+ fault-linux-riscv64.h \
|
||||
fault-linux-s390.h fault-linux-s390-old.h \
|
||||
fault-linux-sh.h fault-linux-sh-old.h \
|
||||
fault-linux-sparc.h fault-linux-sparc-old.h \
|
||||
diff --git a/src/fault-linux-riscv64.h b/src/fault-linux-riscv64.h
|
||||
new file mode 100644
|
||||
index 0000000..14831bf
|
||||
--- /dev/null
|
||||
+++ b/src/fault-linux-riscv64.h
|
||||
@@ -0,0 +1,29 @@
|
||||
+/* Fault handler information. Linux/RISC-V 64-bit version.
|
||||
+ Copyright (C) 2018 Bruno Haible <bruno@clisp.org>
|
||||
+
|
||||
+ This program is free software; you can redistribute it and/or modify
|
||||
+ it under the terms of the GNU General Public License as published by
|
||||
+ the Free Software Foundation; either version 2, 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 "fault-posix-ucontext.h"
|
||||
+
|
||||
+/* See glibc/sysdeps/unix/sysv/linux/riscv/sys/ucontext.h
|
||||
+ and the definition of GET_STACK in
|
||||
+ glibc/sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h.
|
||||
+ Note that the 'mcontext_t' defined in
|
||||
+ glibc/sysdeps/unix/sysv/linux/riscv/sys/ucontext.h
|
||||
+ and the 'struct sigcontext' defined in
|
||||
+ glibc/sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h
|
||||
+ start with the same block of 32 general-purpose registers. */
|
||||
+
|
||||
+#define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.__gregs[REG_SP]
|
||||
--
|
||||
2.19.1
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From 9dd1989f5ae6cd3f2051732318e26bf742a4c89b Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Tue, 13 Nov 2018 22:24:03 +0100
|
||||
Subject: [PATCH] m4/stack-direction: RISC-V stack grows downward
|
||||
|
||||
While commit 671b2528b55c57eda1a8fe5872ff1ef61014235f ("Improve
|
||||
support for Linux/RISC-V") adds some support for the RISC-V
|
||||
architecture, it doesn't update m4/stack-direction.m4 to properly
|
||||
support cross-compiling libsigsegv for a RISC-V architecture.
|
||||
|
||||
According to
|
||||
https://riscv.org/wp-content/uploads/2015/01/riscv-calling.pdf: "In
|
||||
the standard RISC-V calling convention, the stack grows downward", so
|
||||
let's update m4/stack-direction.m4 accordingly.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
m4/stack-direction.m4 | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4
|
||||
index c373f1c..9504f88 100644
|
||||
--- a/m4/stack-direction.m4
|
||||
+++ b/m4/stack-direction.m4
|
||||
@@ -43,6 +43,7 @@ AC_DEFUN([SV_STACK_DIRECTION],
|
||||
pdp11 | \
|
||||
pj* | \
|
||||
powerpc* | rs6000 | \
|
||||
+ riscv* | \
|
||||
romp | \
|
||||
s390* | \
|
||||
sh* | \
|
||||
--
|
||||
2.19.1
|
||||
|
||||
@@ -10,5 +10,8 @@ LIBSIGSEGV_INSTALL_STAGING = YES
|
||||
LIBSIGSEGV_CONF_ENV = sv_cv_fault_posix=yes
|
||||
LIBSIGSEGV_LICENSE = GPL-2.0+
|
||||
LIBSIGSEGV_LICENSE_FILES = COPYING
|
||||
# 0001-Improve-support-for-Linux-RISC-V.patch
|
||||
# 0002-m4-stack-direction-RISC-V-stack-grows-downward.patch
|
||||
LIBSIGSEGV_AUTORECONF = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
76
package/libv4l/0004-v4l2-compliance-needs-fork.patch
Normal file
76
package/libv4l/0004-v4l2-compliance-needs-fork.patch
Normal file
@@ -0,0 +1,76 @@
|
||||
From 21d7082c635433176aebcd9d6f0177edb059f41f Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sat, 17 Nov 2018 21:26:57 +0100
|
||||
Subject: [PATCH] v4l2-compliance needs fork
|
||||
|
||||
v4l2-compliance uses fork, since
|
||||
https://git.linuxtv.org/v4l-utils.git/commit/utils/v4l2-compliance/?id=79d98edd1a27233667a6bc38d3d7f8958c2ec02c
|
||||
|
||||
So don't build it if fork is not available
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/447d792ce21c0e33a36ca9384fee46e099435ed8
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
configure.ac | 5 ++++-
|
||||
utils/Makefile.am | 6 +++++-
|
||||
2 files changed, 9 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 5cc34c24..52ea5c6d 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -478,7 +478,8 @@ AM_CONDITIONAL([WITH_QTGL], [test x${qt_pkgconfig_gl} = xtrue])
|
||||
AM_CONDITIONAL([WITH_GCONV], [test x$enable_gconv = xyes -a x$enable_shared == xyes -a x$with_gconvdir != x -a -f $with_gconvdir/gconv-modules])
|
||||
AM_CONDITIONAL([WITH_V4L2_CTL_LIBV4L], [test x${enable_v4l2_ctl_libv4l} != xno])
|
||||
AM_CONDITIONAL([WITH_V4L2_CTL_STREAM_TO], [test x${enable_v4l2_ctl_stream_to} != xno])
|
||||
-AM_CONDITIONAL([WITH_V4L2_COMPLIANCE_LIBV4L], [test x${enable_v4l2_compliance_libv4l} != xno])
|
||||
+AM_CONDITIONAL([WITH_V4L2_COMPLIANCE], [test x$ac_cv_func_fork = xyes])
|
||||
+AM_CONDITIONAL([WITH_V4L2_COMPLIANCE_LIBV4L], [test x$ac_cv_func_fork = xyes -a x${enable_v4l2_compliance_libv4l} != xno])
|
||||
AM_CONDITIONAL([WITH_BPF], [test x$enable_bpf != xno -a x$libelf_pkgconfig = xyes -a x$CLANG = xclang])
|
||||
|
||||
# append -static to libtool compile and link command to enforce static libs
|
||||
@@ -509,6 +510,7 @@ AM_COND_IF([WITH_V4L_PLUGINS], [USE_V4L_PLUGINS="yes"
|
||||
AM_COND_IF([WITH_V4L_WRAPPERS], [USE_V4L_WRAPPERS="yes"], [USE_V4L_WRAPPERS="no"])
|
||||
AM_COND_IF([WITH_GCONV], [USE_GCONV="yes"], [USE_GCONV="no"])
|
||||
AM_COND_IF([WITH_V4L2_CTL_LIBV4L], [USE_V4L2_CTL_LIBV4L="yes"], [USE_V4L2_CTL_LIBV4L="no"])
|
||||
+AM_COND_IF([WITH_V4L2_COMPLIANCE], [USE_V4L2_COMPLIANCE="yes"], [USE_V4L2_COMPLIANCE="no"])
|
||||
AM_COND_IF([WITH_V4L2_COMPLIANCE_LIBV4L], [USE_V4L2_COMPLIANCE_LIBV4L="yes"], [USE_V4L2_COMPLIANCE_LIBV4L="no"])
|
||||
AM_COND_IF([WITH_BPF], [USE_BPF="yes"
|
||||
AC_DEFINE([HAVE_BPF], [1], [BPF IR decoder support enabled])],
|
||||
@@ -556,6 +558,7 @@ compile time options summary
|
||||
qv4l2 : $USE_QV4L2
|
||||
qvidcap : $USE_QVIDCAP
|
||||
v4l2-ctl uses libv4l : $USE_V4L2_CTL_LIBV4L
|
||||
+ v4l2-compliance : $USE_V4L2_COMPLIANCE
|
||||
v4l2-compliance uses libv4l: $USE_V4L2_COMPLIANCE_LIBV4L
|
||||
BPF IR Decoders: : $USE_BPF
|
||||
EOF
|
||||
diff --git a/utils/Makefile.am b/utils/Makefile.am
|
||||
index 2d507028..9c29926a 100644
|
||||
--- a/utils/Makefile.am
|
||||
+++ b/utils/Makefile.am
|
||||
@@ -6,7 +6,6 @@ SUBDIRS = \
|
||||
cx18-ctl \
|
||||
keytable \
|
||||
media-ctl \
|
||||
- v4l2-compliance \
|
||||
v4l2-ctl \
|
||||
v4l2-dbg \
|
||||
v4l2-sysfs-path \
|
||||
@@ -20,6 +19,11 @@ SUBDIRS += \
|
||||
dvb
|
||||
endif
|
||||
|
||||
+if WITH_V4L2_COMPLIANCE
|
||||
+SUBDIRS += \
|
||||
+ v4l2-compliance
|
||||
+endif
|
||||
+
|
||||
if WITH_QV4L2
|
||||
SUBDIRS += qv4l2
|
||||
endif
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
From 311e344039d58cfde09dd34f14804db8ac0513c9 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Fri, 2 Nov 2018 18:58:53 +0100
|
||||
Subject: [PATCH] Add missing linux/bpf_common.h
|
||||
|
||||
Copy from [1], needed by bpf.h.
|
||||
|
||||
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/include/uapi/linux/bpf_common.h?h=v4.19
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
include/linux/bpf_common.h | 57 ++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 57 insertions(+)
|
||||
create mode 100644 include/linux/bpf_common.h
|
||||
|
||||
diff --git a/include/linux/bpf_common.h b/include/linux/bpf_common.h
|
||||
new file mode 100644
|
||||
index 00000000..ee97668b
|
||||
--- /dev/null
|
||||
+++ b/include/linux/bpf_common.h
|
||||
@@ -0,0 +1,57 @@
|
||||
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
||||
+#ifndef _UAPI__LINUX_BPF_COMMON_H__
|
||||
+#define _UAPI__LINUX_BPF_COMMON_H__
|
||||
+
|
||||
+/* Instruction classes */
|
||||
+#define BPF_CLASS(code) ((code) & 0x07)
|
||||
+#define BPF_LD 0x00
|
||||
+#define BPF_LDX 0x01
|
||||
+#define BPF_ST 0x02
|
||||
+#define BPF_STX 0x03
|
||||
+#define BPF_ALU 0x04
|
||||
+#define BPF_JMP 0x05
|
||||
+#define BPF_RET 0x06
|
||||
+#define BPF_MISC 0x07
|
||||
+
|
||||
+/* ld/ldx fields */
|
||||
+#define BPF_SIZE(code) ((code) & 0x18)
|
||||
+#define BPF_W 0x00 /* 32-bit */
|
||||
+#define BPF_H 0x08 /* 16-bit */
|
||||
+#define BPF_B 0x10 /* 8-bit */
|
||||
+/* eBPF BPF_DW 0x18 64-bit */
|
||||
+#define BPF_MODE(code) ((code) & 0xe0)
|
||||
+#define BPF_IMM 0x00
|
||||
+#define BPF_ABS 0x20
|
||||
+#define BPF_IND 0x40
|
||||
+#define BPF_MEM 0x60
|
||||
+#define BPF_LEN 0x80
|
||||
+#define BPF_MSH 0xa0
|
||||
+
|
||||
+/* alu/jmp fields */
|
||||
+#define BPF_OP(code) ((code) & 0xf0)
|
||||
+#define BPF_ADD 0x00
|
||||
+#define BPF_SUB 0x10
|
||||
+#define BPF_MUL 0x20
|
||||
+#define BPF_DIV 0x30
|
||||
+#define BPF_OR 0x40
|
||||
+#define BPF_AND 0x50
|
||||
+#define BPF_LSH 0x60
|
||||
+#define BPF_RSH 0x70
|
||||
+#define BPF_NEG 0x80
|
||||
+#define BPF_MOD 0x90
|
||||
+#define BPF_XOR 0xa0
|
||||
+
|
||||
+#define BPF_JA 0x00
|
||||
+#define BPF_JEQ 0x10
|
||||
+#define BPF_JGT 0x20
|
||||
+#define BPF_JGE 0x30
|
||||
+#define BPF_JSET 0x40
|
||||
+#define BPF_SRC(code) ((code) & 0x08)
|
||||
+#define BPF_K 0x00
|
||||
+#define BPF_X 0x08
|
||||
+
|
||||
+#ifndef BPF_MAXINSNS
|
||||
+#define BPF_MAXINSNS 4096
|
||||
+#endif
|
||||
+
|
||||
+#endif /* _UAPI__LINUX_BPF_COMMON_H__ */
|
||||
--
|
||||
2.19.1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Locally calculated after checking signature
|
||||
# https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.16.1.tar.bz2.asc
|
||||
sha256 c7e4d6f4b4b7f278a6fa4bf56385526920d40fbd9e3e2827b75ddcd41da0504a v4l-utils-1.16.1.tar.bz2
|
||||
# https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.16.2.tar.bz2.asc
|
||||
sha256 6c3208c9a1c73455d30bae83096d161e57bec5008594f270a2a67df8c86d8e47 v4l-utils-1.16.2.tar.bz2
|
||||
# Locally calculated
|
||||
sha256 391e4da1c54a422a78d83be7bf84b2dfb8bacdd8ad256fa4374e128655584a8a COPYING
|
||||
sha256 5a7f623a50e384aaf6d2ced068339ddf93d0a50d3a0ecbe86f125b07804ecc78 COPYING.libv4l
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBV4L_VERSION = 1.16.1
|
||||
LIBV4L_VERSION = 1.16.2
|
||||
LIBV4L_SOURCE = v4l-utils-$(LIBV4L_VERSION).tar.bz2
|
||||
LIBV4L_SITE = https://linuxtv.org/downloads/v4l-utils
|
||||
LIBV4L_INSTALL_STAGING = YES
|
||||
@@ -56,8 +56,9 @@ ifeq ($(BR2_PACKAGE_LIBV4L_UTILS),y)
|
||||
LIBV4L_CONF_OPTS += --enable-v4l-utils
|
||||
LIBV4L_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
# Disable clang that is used to build BPF (in-kernel bytecode machine) protocols
|
||||
LIBV4L_CONF_ENV += ac_cv_prog_CLANG=""
|
||||
# IR BPF decoder support needs toolchain with linux-headers >= 3.18
|
||||
# libelf and clang support
|
||||
LIBV4L_CONF_OPTS += --disable-bpf
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE)$(BR2_PACKAGE_QT5BASE_GUI)$(BR2_PACKAGE_QT5BASE_WIDGETS),yyy)
|
||||
LIBV4L_CONF_OPTS += --enable-qv4l2
|
||||
|
||||
@@ -290,11 +290,11 @@ config BR2_DEFAULT_KERNEL_HEADERS
|
||||
string
|
||||
default "3.2.102" if BR2_KERNEL_HEADERS_3_2
|
||||
default "4.1.52" if BR2_KERNEL_HEADERS_4_1
|
||||
default "4.4.161" if BR2_KERNEL_HEADERS_4_4
|
||||
default "4.9.133" if BR2_KERNEL_HEADERS_4_9
|
||||
default "4.14.76" if BR2_KERNEL_HEADERS_4_14
|
||||
default "4.4.163" if BR2_KERNEL_HEADERS_4_4
|
||||
default "4.9.136" if BR2_KERNEL_HEADERS_4_9
|
||||
default "4.14.80" if BR2_KERNEL_HEADERS_4_14
|
||||
default "4.16.18" if BR2_KERNEL_HEADERS_4_16
|
||||
default "4.18.14" if BR2_KERNEL_HEADERS_4_18
|
||||
default "4.18.18" if BR2_KERNEL_HEADERS_4_18
|
||||
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||
default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
|
||||
default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
|
||||
|
||||
@@ -3,7 +3,7 @@ From: Erico Nunes <nunes.erico@gmail.com>
|
||||
Date: Fri, 30 Sep 2016 17:43:08 +0200
|
||||
Subject: [PATCH] rpc-tirpc: disable tirpc_auth_authdes_*create tests
|
||||
|
||||
Due to Buildroot patch 0007-Disable-DES-authentification-support.patch on
|
||||
Due to Buildroot patch 0005-Disable-DES-authentification-support.patch on
|
||||
libtirpc, this library is built without method authdes_create. Any code
|
||||
that uses this library, like the rpc-tirpc testsuite, thus fails to link.
|
||||
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
From 0b541b828142dab6c23b0f4415dd2fd052d69ff1 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
|
||||
Date: Wed, 31 Oct 2018 18:14:18 +0100
|
||||
Subject: [PATCH] Do not include compat-5.3.h in luv header file
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Do not include compat-5.3.h in luv header file
|
||||
|
||||
Exposing the compat-5.3.h header file directly in the luv.h header file
|
||||
is not a good idea, because it causes redefinition errors when building,
|
||||
for example latest luvi version 2.8.0, with a shared luv library and
|
||||
LuaJIT 2.0.5.
|
||||
|
||||
Therefore, include the compat header file in the luv.c source file.
|
||||
|
||||
Note, that luvi version 2.8.0 (and 2.7.6) still fails to build against the
|
||||
shared luv library using LuaJIT 2.0.5, as it does use `luaL_newlib` which is
|
||||
not available in Lua 5.1. However, this is unrelated to the luv library as
|
||||
luvi itself should define the macro for Lua 5.1.
|
||||
|
||||
Upstream status: https://github.com/luvit/luv/pull/310
|
||||
|
||||
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
---
|
||||
src/luv.c | 3 +++
|
||||
src/luv.h | 4 ----
|
||||
2 files changed, 3 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/luv.c b/src/luv.c
|
||||
index c4c7cb7..4af7582 100644
|
||||
--- a/src/luv.c
|
||||
+++ b/src/luv.c
|
||||
@@ -15,6 +15,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
+#if (LUA_VERSION_NUM != 503)
|
||||
+#include "c-api/compat-5.3.h"
|
||||
+#endif
|
||||
#include "luv.h"
|
||||
#include "util.c"
|
||||
#include "lhandle.c"
|
||||
diff --git a/src/luv.h b/src/luv.h
|
||||
index 27c8c94..4fedd3f 100644
|
||||
--- a/src/luv.h
|
||||
+++ b/src/luv.h
|
||||
@@ -50,10 +50,6 @@
|
||||
#define MAX_TITLE_LENGTH (8192)
|
||||
#endif
|
||||
|
||||
-#if (LUA_VERSION_NUM != 503)
|
||||
-#include "c-api/compat-5.3.h"
|
||||
-#endif
|
||||
-
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wunused-function"
|
||||
--
|
||||
2.19.1
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
From 7f9fcbd827295df72b15466fd3c47589d52117b9 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
|
||||
Date: Wed, 31 Oct 2018 18:22:31 +0100
|
||||
Subject: [PATCH] Add missing define for luaL_newlib for Lua 5.1
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Since commit c286f3b741d0968fd1c49c28da83bc723468ecba, which bumped the
|
||||
library luv to version 1.22.0-1, building luvi fails.
|
||||
|
||||
The reason for this error is, that instead of defining Lua 5.3 API itself,
|
||||
luv now [1] uses lua-compat-5.3 [1,2] for providing a Lua 5.3 API.
|
||||
|
||||
Unfortunately, upstreams "luv.h" now exposes "compat-5.3.h" directly, causing
|
||||
redefinition errors when building luvi 2.7.6 (as well as latest release 2.8.0)
|
||||
with luv 1.22.0-1. Instead, "compat-5.3.h" should only be included in "luv.c",
|
||||
which is addressed in patching luv (Patch: "Do not include compat-5.3.h in luv
|
||||
header file").
|
||||
|
||||
Patching luv reveals an issue in luvi itself, as it is using the Lua 5.3 API,
|
||||
without defining the Lua 5.3 itself, nor using lua-compat-5.3. Instead, it was
|
||||
using the definition provided by the "luv.h" file in luv versions before 1.22.0.
|
||||
|
||||
Correctly, luvi should define the necessary Lua 5.3 itself, which is done by
|
||||
this patch, by providing a definition for `luaL_newlib`.
|
||||
|
||||
Note, that this patch is not upstreamable, as upstream already switched to
|
||||
using lua-compat-5.3 [3,4]. However, backporting this patch set is to much of a
|
||||
burden, so we keep it simple, by just defining `luaL_newlib`.
|
||||
|
||||
[1] https://github.com/luvit/luv/commit/34ada3e1d75796d2295ec54f3f20b3e2abf93406
|
||||
[2] https://github.com/keplerproject/lua-compat-5.3
|
||||
[3] https://github.com/luvit/luvi/commit/3a444d183d2fde91b6c2f3798b37881cdaa29691
|
||||
[4] https://github.com/luvit/luvi/commit/0376894bae7c1c3bee42ddad65e824da9cccdada
|
||||
|
||||
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
---
|
||||
src/luvi.h | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/src/luvi.h b/src/luvi.h
|
||||
index e7558b3..ceca2b9 100644
|
||||
--- a/src/luvi.h
|
||||
+++ b/src/luvi.h
|
||||
@@ -52,6 +52,12 @@ int luaopen_lpeg(lua_State* L);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#if LUA_VERSION_NUM < 502
|
||||
+#ifndef luaL_newlib
|
||||
+# define luaL_newlib(L,l) (lua_newtable(L), luaL_register(L,NULL,l))
|
||||
+#endif
|
||||
+#endif
|
||||
+
|
||||
#if (LUA_VERSION_NUM >= 502)
|
||||
# undef luaL_register
|
||||
# define luaL_register(L,n,f) \
|
||||
--
|
||||
2.19.1
|
||||
|
||||
@@ -23,15 +23,9 @@ endif
|
||||
HOST_MAKE_DEPENDENCIES = host-pkgconf
|
||||
HOST_MAKE_CONF_OPTS = --without-guile
|
||||
|
||||
# Some packages, like glibc, are looking for gnumake or gmake before
|
||||
# make program.
|
||||
# Create these symlink to use make binary generated by Buildroot for
|
||||
# the host.
|
||||
define HOST_MAKE_INSTALL_GNUMAKE
|
||||
ln -fs make $(HOST_DIR)/bin/gnumake
|
||||
ln -fs make $(HOST_DIR)/bin/gmake
|
||||
endef
|
||||
HOST_MAKE_POST_INSTALL_HOOKS += HOST_MAKE_INSTALL_GNUMAKE
|
||||
# Configure host-make binary to be 'host-make' to ensure it isn't
|
||||
# accidently used by packages when they invoke recursive / sub-make.
|
||||
HOST_MAKE_CONF_OPTS += --program-prefix=host-
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
@@ -12,7 +12,9 @@ NCMPC_DEPENDENCIES = host-pkgconf libglib2 libmpdclient ncurses
|
||||
NCMPC_LICENSE = GPL-2.0+
|
||||
NCMPC_LICENSE_FILES = COPYING
|
||||
|
||||
NCMPC_CONF_OPTS = -Dcurses=ncurses
|
||||
NCMPC_CONF_OPTS = \
|
||||
-Dcurses=ncurses \
|
||||
-Ddocumentation=false
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y)
|
||||
NCMPC_DEPENDENCIES += lirc-tools
|
||||
|
||||
@@ -26,7 +26,7 @@ if [ -f /etc/default/network ]; then
|
||||
. /etc/default/network
|
||||
|
||||
# Check that networking is up.
|
||||
[ ${NETWORKING} = "no" ] && exit 0
|
||||
[ "${NETWORKING}" = "no" ] && exit 0
|
||||
elif [ ! -f /etc/network/interfaces ]; then
|
||||
# No network support
|
||||
exit 0
|
||||
|
||||
@@ -31,6 +31,7 @@ OPENOCD_CONF_OPTS = \
|
||||
# the dependencies they need.
|
||||
|
||||
OPENOCD_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
$(if $(BR2_PACKAGE_LIBFTDI1),libftdi1) \
|
||||
$(if $(BR2_PACKAGE_LIBUSB),libusb) \
|
||||
$(if $(BR2_PACKAGE_LIBUSB_COMPAT),libusb-compat) \
|
||||
|
||||
@@ -32,8 +32,8 @@ else
|
||||
BR2_DL_DIR = $(DL_DIR)
|
||||
endif
|
||||
|
||||
# ensure it exists and a absolute path
|
||||
DL_DIR := $(shell mkdir -p $(DL_DIR) && cd $(DL_DIR) >/dev/null && pwd)
|
||||
# ensure it exists and a absolute path, derefrecing symlinks
|
||||
DL_DIR := $(shell mkdir -p $(DL_DIR) && cd $(DL_DIR) >/dev/null && pwd -P)
|
||||
|
||||
#
|
||||
# URI scheme helper functions
|
||||
|
||||
@@ -818,6 +818,7 @@ $(1)-show-recursive-rdepends:
|
||||
$$(TOPDIR)/support/scripts/graph-depends -p $(1) --reverse -f -q
|
||||
|
||||
$(1)-show-build-order: $$(patsubst %,%-show-build-order,$$($(2)_FINAL_ALL_DEPENDENCIES))
|
||||
@:
|
||||
$$(info $(1))
|
||||
|
||||
$(1)-graph-depends: graph-depends-requirements
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Hashes from: https://prosody.im/downloads/source/{MD5,SHA1,SHA256,SHA512}SUMS
|
||||
md5 0eebf7a18ce1fc7dd9954c94ebd85f54 prosody-0.10.0.tar.gz
|
||||
sha1 57c1c5a665e6453bdde06727ef398cd69accd9d7 prosody-0.10.0.tar.gz
|
||||
sha256 7414e447256c60b2645578c4a5913113cd74b419ca5a032b54db90d98a978498 prosody-0.10.0.tar.gz
|
||||
sha512 ee66e240afba6a8cb286623da48d9b535798153fb65e32070cec93aafe360e91f7087eeb49dec0f7d145e24f04339ed0878e50835b52f682130b204e22990ce9 prosody-0.10.0.tar.gz
|
||||
# Locally computed:
|
||||
md5 4cb1ac0db2b739b933ded5038551d7c2 prosody-0.10.2.tar.gz
|
||||
sha1 1d51e542475c3f3e712eace29537b042c941d6ab prosody-0.10.2.tar.gz
|
||||
sha256 75b5f035e7a74d5f208eeeaf8419b94a85d09b40252d444cff8033fde3c9768e prosody-0.10.2.tar.gz
|
||||
sha512 9fc05e34b45b0c16835ba94a73532fb3b4ee335f27d56bb9260e1b3e22614f89f44eb5d04b4e90d016db0b5bee6f5c7e7d099e1defb027e6823ee7667c1fe28f prosody-0.10.2.tar.gz
|
||||
|
||||
# Hash for license file:
|
||||
sha256 bbbdc1c5426e5944cf869fc0faeaf19d88a220cd2b39ea98b7b8e86b0e88a2ef COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PROSODY_VERSION = 0.10.0
|
||||
PROSODY_VERSION = 0.10.2
|
||||
PROSODY_SITE = https://prosody.im/downloads/source
|
||||
PROSODY_LICENSE = MIT
|
||||
PROSODY_LICENSE_FILES = COPYING
|
||||
|
||||
@@ -133,6 +133,7 @@ define QEMU_CONFIGURE_CMDS
|
||||
--disable-libxml2 \
|
||||
--disable-capstone \
|
||||
--disable-git-update \
|
||||
--disable-opengl \
|
||||
$(QEMU_OPTS) \
|
||||
)
|
||||
endef
|
||||
|
||||
@@ -8,10 +8,10 @@ RPM_VERSION_MAJOR = 4.13
|
||||
RPM_VERSION = $(RPM_VERSION_MAJOR).0.1
|
||||
RPM_SOURCE = rpm-$(RPM_VERSION).tar.bz2
|
||||
RPM_SITE = http://ftp.rpm.org/releases/rpm-$(RPM_VERSION_MAJOR).x
|
||||
RPM_DEPENDENCIES = host-pkgconf berkeleydb file popt zlib
|
||||
RPM_DEPENDENCIES = host-pkgconf berkeleydb file popt zlib \
|
||||
$(TARGET_NLS_DEPENDENCIES)
|
||||
RPM_LICENSE = GPL-2.0 or LGPL-2.0 (library only)
|
||||
RPM_LICENSE_FILES = COPYING
|
||||
RPM_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
# 0001-configure-ac-use-link-instead-of-compile-for-gcc-flags-test.patch
|
||||
# 0002-configure-ac-correct-stack-protector-check.patch
|
||||
|
||||
@@ -4,6 +4,7 @@ menuconfig BR2_PACKAGE_SCONESERVER
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on !BR2_STATIC_LIBS # dlopen()
|
||||
select BR2_PACKAGE_PCRE
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
Sconeserver is a modular, object-orientated and extremely
|
||||
versatile network server framework for GNU/Linux and
|
||||
|
||||
@@ -10,7 +10,7 @@ SCONESERVER_LICENSE = GPL-2.0+
|
||||
SCONESERVER_LICENSE_FILES = COPYING
|
||||
# fetching from Git, we need to generate the configure script
|
||||
SCONESERVER_AUTORECONF = YES
|
||||
SCONESERVER_DEPENDENCIES = host-pkgconf pcre
|
||||
SCONESERVER_DEPENDENCIES = host-pkgconf pcre zlib
|
||||
# disable markdown module because its git submodule cmark
|
||||
# https://github.com/sconemad/sconeserver/tree/master/markdown
|
||||
# has no cross-compile support provided by the sconeserver build system
|
||||
|
||||
@@ -14,4 +14,11 @@ SHADOWSOCKS_LIBEV_CONF_OPTS = \
|
||||
--with-pcre=$(STAGING_DIR)/usr \
|
||||
--disable-ssp
|
||||
|
||||
# gcc on riscv doesn't define _REENTRANT when -pthread is passed while
|
||||
# it should. Compensate this deficiency here otherwise shadowsocks-libev
|
||||
# configure script doesn't find that thread support is enabled.
|
||||
ifeq ($(BR2_riscv),y)
|
||||
SHADOWSOCKS_LIBEV_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_REENTRANT"
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
59
package/supertuxkart/0001-Fix-3091.patch
Normal file
59
package/supertuxkart/0001-Fix-3091.patch
Normal file
@@ -0,0 +1,59 @@
|
||||
From 813b08bc73e4e93714b972ee56c64b4771735e01 Mon Sep 17 00:00:00 2001
|
||||
From: Benau <Benau@users.noreply.github.com>
|
||||
Date: Sun, 14 Jan 2018 10:19:37 +0800
|
||||
Subject: [PATCH] Fix #3091
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com
|
||||
[Retrieved from:
|
||||
https://github.com/supertuxkart/stk-code/commit/813b08bc73e4e93714b972ee56c64b4771735e01]
|
||||
---
|
||||
lib/graphics_utils/mipmap/cpusimd.h | 14 +++++++-------
|
||||
1 file changed, 7 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/lib/graphics_utils/mipmap/cpusimd.h b/lib/graphics_utils/mipmap/cpusimd.h
|
||||
index 1dc2c730b2..5e2cf30e5f 100644
|
||||
--- a/lib/graphics_utils/mipmap/cpusimd.h
|
||||
+++ b/lib/graphics_utils/mipmap/cpusimd.h
|
||||
@@ -38,11 +38,11 @@
|
||||
#include <mmintrin.h>
|
||||
#define CPU_MMX_SUPPORT (1)
|
||||
#endif
|
||||
-#if __SSE__ || _M_X64 || _M_IX86_FP >= 1 || CPU_ENABLE_SSE
|
||||
+#if __SSE__ || defined(_M_X64) || ( defined(_M_IX86_FP) && ( _M_IX86_FP >= 1 ) ) || CPU_ENABLE_SSE
|
||||
#include <xmmintrin.h>
|
||||
#define CPU_SSE_SUPPORT (1)
|
||||
#endif
|
||||
-#if __SSE2__ || _M_X64 || _M_IX86_FP >= 2 || CPU_ENABLE_SSE2
|
||||
+#if __SSE2__ || defined(_M_X64) || ( defined(_M_IX86_FP) && ( _M_IX86_FP >= 2 ) ) || CPU_ENABLE_SSE2
|
||||
#include <emmintrin.h>
|
||||
#define CPU_SSE2_SUPPORT (1)
|
||||
#endif
|
||||
@@ -95,23 +95,23 @@
|
||||
#define CPU_POPCNT_SUPPORT (1)
|
||||
#endif
|
||||
#if __LZCNT__ || CPU_ENABLE_LZCNT
|
||||
- #include <lzcntintrin.h>
|
||||
+ #include <x86intrin.h>
|
||||
#define CPU_LZCNT_SUPPORT (1)
|
||||
#endif
|
||||
#if __F16C__ || CPU_ENABLE_F16C
|
||||
- #include <f16cintrin.h>
|
||||
+ #include <x86intrin.h>
|
||||
#define CPU_F16C_SUPPORT (1)
|
||||
#endif
|
||||
#if __BMI__ || CPU_ENABLE_BMI
|
||||
- #include <bmiintrin.h>
|
||||
+ #include <x86intrin.h>
|
||||
#define CPU_BMI_SUPPORT (1)
|
||||
#endif
|
||||
#if __BMI2__ || CPU_ENABLE_BMI2
|
||||
- #include <bmi2intrin.h>
|
||||
+ #include <x86intrin.h>
|
||||
#define CPU_BMI2_SUPPORT (1)
|
||||
#endif
|
||||
#if __TBM__ || CPU_ENABLE_TBM
|
||||
- #include <tbmintrin.h>
|
||||
+ #include <x86intrin.h>
|
||||
#define CPU_TBM_SUPPORT (1)
|
||||
#endif
|
||||
|
||||
@@ -29,6 +29,8 @@ SYSTEMD_CONF_OPTS += \
|
||||
-Dldconfig=false \
|
||||
-Ddefault-dnssec=no \
|
||||
-Dtests=false \
|
||||
-Dsplit-bin=true \
|
||||
-Dsplit-usr=false \
|
||||
-Dsystem-uid-max=999 \
|
||||
-Dsystem-gid-max=999 \
|
||||
-Dtelinit-path=$(TARGET_DIR)/sbin/telinit \
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
TRACE_CMD_VERSION = trace-cmd-v2.6.1
|
||||
TRACE_CMD_SITE = $(BR2_KERNEL_MIRROR)/scm/linux/kernel/git/rostedt/trace-cmd.git
|
||||
TRACE_CMD_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
|
||||
TRACE_CMD_SITE_METHOD = git
|
||||
TRACE_CMD_INSTALL_STAGING = YES
|
||||
TRACE_CMD_LICENSE = GPL-2.0, LGPL-2.1
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
From 164b1b5592ef6ad9fceba06bdfa31787e9c0329d Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Wed, 14 Nov 2018 21:26:54 +0100
|
||||
Subject: [PATCH] Add NO_CRYPT to fix build with glibc 2.28
|
||||
|
||||
Since glibc 2.28
|
||||
(https://savannah.gnu.org/forum/forum.php?forum_id=9205), the obsolete
|
||||
functions encrypt, encrypt_r, setkey, setkey_r, cbc_crypt, ecb_crypt,
|
||||
and des_setparity are no longer available to newly linked binaries, and
|
||||
the headers <rpc/des_crypt.h> and <rpc/rpc_des.h> are no longer
|
||||
installed. These functions encrypted and decrypted data with the DES
|
||||
block cipher, which is no longer considered secure. Software that still
|
||||
uses these functions should switch to a modern cryptography library,
|
||||
such as libgcrypt.
|
||||
|
||||
So add a NO_CRYPT variable to disable test/crypt
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/158438debb0ce313b012b871e199bed42ba38294
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
test/Makefile | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/test/Makefile b/test/Makefile
|
||||
index 5a136ea..6690d25 100644
|
||||
--- a/test/Makefile
|
||||
+++ b/test/Makefile
|
||||
@@ -39,6 +39,10 @@ ifeq ($(NO_MATH),1)
|
||||
DIRS := $(filter-out math,$(DIRS))
|
||||
endif
|
||||
|
||||
+ifeq ($(NO_CRYPT),1)
|
||||
+DIRS := $(filter-out crypt,$(DIRS))
|
||||
+endif
|
||||
+
|
||||
test check all: run
|
||||
|
||||
run: subdirs_run
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -13,6 +13,11 @@ UCLIBC_NG_TEST_LICENSE_FILES = COPYING.LIB
|
||||
# regular testing is possible
|
||||
UCLIBC_NG_TEST_MAKE_ENV += NO_MATH=1
|
||||
|
||||
# obsolete encrypt and setkey functions are not available since glibc 2.28
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
|
||||
UCLIBC_NG_TEST_MAKE_ENV += NO_CRYPT=1
|
||||
endif
|
||||
|
||||
# locale tests are not compatible with musl, yet
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
||||
UCLIBC_NG_TEST_MAKE_ENV += NO_LOCALE=1
|
||||
|
||||
@@ -425,7 +425,6 @@ define UCLIBC_INSTALL_TARGET_CMDS
|
||||
RUNTIME_PREFIX=/ \
|
||||
install_runtime
|
||||
$(UCLIBC_INSTALL_UTILS_TARGET)
|
||||
$(UCLIBC_INSTALL_LDSO_SYMLINKS)
|
||||
endef
|
||||
|
||||
# STATIC has no ld* tools, only getconf
|
||||
|
||||
@@ -10,7 +10,4 @@ config BR2_PACKAGE_VTUN
|
||||
|
||||
It supports IP, PPP, SLIP, Ethernet and other tunnel types.
|
||||
|
||||
NOTE: It uses start-stop-daemon in init script, so be sure
|
||||
to enable that within busybox
|
||||
|
||||
http://vtun.sourceforge.net/
|
||||
|
||||
@@ -22,10 +22,10 @@ WEBKITGTK_CONF_OPTS = \
|
||||
-DENABLE_INTROSPECTION=OFF \
|
||||
-DENABLE_MINIBROWSER=ON \
|
||||
-DENABLE_SPELLCHECK=ON \
|
||||
-DENABLE_WOFF2=ON \
|
||||
-DPORT=GTK \
|
||||
-DUSE_LIBNOTIFY=OFF \
|
||||
-DUSE_LIBHYPHEN=OFF
|
||||
-DUSE_LIBHYPHEN=OFF \
|
||||
-DUSE_WOFF2=ON
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS_JIT),y)
|
||||
WEBKITGTK_CONF_OPTS += -DENABLE_JIT=ON
|
||||
|
||||
@@ -50,9 +50,9 @@ else
|
||||
WESTON_CONF_OPTS += --disable-weston-launch
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_LIBEGL_WAYLAND),y)
|
||||
ifeq ($(BR2_PACKAGE_HAS_LIBEGL_WAYLAND)$(BR2_PACKAGE_HAS_LIBGLES),yy)
|
||||
WESTON_CONF_OPTS += --enable-egl
|
||||
WESTON_DEPENDENCIES += libegl
|
||||
WESTON_DEPENDENCIES += libegl libgles
|
||||
else
|
||||
WESTON_CONF_OPTS += \
|
||||
--disable-egl \
|
||||
|
||||
@@ -18,7 +18,7 @@ WIRESHARK_CONF_OPTS = \
|
||||
--disable-guides \
|
||||
--enable-static=no \
|
||||
--with-libsmi=no \
|
||||
--with-pcap=$(STAGING_DIR)/usr
|
||||
--with-pcap=yes
|
||||
|
||||
# wireshark GUI options
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
|
||||
@@ -138,6 +138,9 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_SNAPPY),y)
|
||||
WIRESHARK_CONF_OPTS += --with-snappy=$(STAGING_DIR)/usr
|
||||
WIRESHARK_DEPENDENCIES += snappy
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
WIRESHARK_CONF_ENV += LIBS=-lstdc++
|
||||
endif
|
||||
else
|
||||
WIRESHARK_CONF_OPTS += --without-snappy
|
||||
endif
|
||||
|
||||
@@ -10,8 +10,8 @@ XLIB_LIBFONTENC_SITE = http://xorg.freedesktop.org/releases/individual/lib
|
||||
XLIB_LIBFONTENC_LICENSE = MIT
|
||||
XLIB_LIBFONTENC_LICENSE_FILES = COPYING
|
||||
XLIB_LIBFONTENC_INSTALL_STAGING = YES
|
||||
XLIB_LIBFONTENC_DEPENDENCIES = zlib xorgproto
|
||||
HOST_XLIB_LIBFONTENC_DEPENDENCIES = host-zlib host-xorgproto
|
||||
XLIB_LIBFONTENC_DEPENDENCIES = zlib xorgproto host-pkgconf
|
||||
HOST_XLIB_LIBFONTENC_DEPENDENCIES = host-zlib host-xorgproto host-pkgconf
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
From c8993743d611ed23ebded3168ac3ac6ff3e5d2fa Mon Sep 17 00:00:00 2001
|
||||
From: Christopher Clark <christopher.w.clark@gmail.com>
|
||||
Date: Thu, 16 Aug 2018 13:22:41 -0700
|
||||
Subject: [PATCH] libxl/arm: Fix build on arm64 + acpi w/ gcc 8.2
|
||||
|
||||
Add zero-padding to #defined ACPI table strings that are copied.
|
||||
Provides sufficient characters to satisfy the length required to
|
||||
fully populate the destination and prevent array-bounds warnings.
|
||||
Add BUILD_BUG_ON sizeof checks for compile-time length checking.
|
||||
|
||||
Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
|
||||
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
|
||||
Acked-by: Wei Liu <wei.liu2@citrix.com>
|
||||
---
|
||||
tools/libxl/libxl_arm_acpi.c | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/tools/libxl/libxl_arm_acpi.c b/tools/libxl/libxl_arm_acpi.c
|
||||
index 636f724039..eeca1def06 100644
|
||||
--- a/tools/libxl/libxl_arm_acpi.c
|
||||
+++ b/tools/libxl/libxl_arm_acpi.c
|
||||
@@ -48,9 +48,9 @@ extern const unsigned char dsdt_anycpu_arm[];
|
||||
_hidden
|
||||
extern const int dsdt_anycpu_arm_len;
|
||||
|
||||
-#define ACPI_OEM_ID "Xen"
|
||||
-#define ACPI_OEM_TABLE_ID "ARM"
|
||||
-#define ACPI_ASL_COMPILER_ID "XL"
|
||||
+#define ACPI_OEM_ID "Xen\0\0"
|
||||
+#define ACPI_OEM_TABLE_ID "ARM\0\0\0\0"
|
||||
+#define ACPI_ASL_COMPILER_ID "XL\0"
|
||||
|
||||
enum {
|
||||
RSDP,
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 d5a944a34e47e9d52b2837f616821eb4a9514c8fd0955dcc723111dba499acd4 xen-4.10.2.tar.gz
|
||||
sha256 826e3a9f6d0eac94a825d272cc2c1294e22640ae75af906eb13920f9ad667643 xen-4.11.0.tar.gz
|
||||
sha256 dba0d79260259c013c52e5d4daeaea564a2fbb9ff7fc6778c377a401ec3898de COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XEN_VERSION = 4.10.2
|
||||
XEN_VERSION = 4.11.0
|
||||
XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION)
|
||||
XEN_LICENSE = GPL-2.0
|
||||
XEN_LICENSE_FILES = COPYING
|
||||
|
||||
@@ -12,8 +12,8 @@ BR2_MAKE ?= $(call suitable-host-package,make,\
|
||||
$(BR2_MAKE_VERSION_MIN) $(MAKE))
|
||||
|
||||
ifeq ($(BR2_MAKE),)
|
||||
BR2_MAKE = $(HOST_DIR)/bin/make -j$(PARALLEL_JOBS)
|
||||
BR2_MAKE1 = $(HOST_DIR)/bin/make -j1
|
||||
BR2_MAKE = $(HOST_DIR)/bin/host-make -j$(PARALLEL_JOBS)
|
||||
BR2_MAKE1 = $(HOST_DIR)/bin/host-make -j1
|
||||
BR2_MAKE_HOST_DEPENDENCY = host-make
|
||||
else
|
||||
BR2_MAKE = $(MAKE)
|
||||
|
||||
@@ -41,8 +41,8 @@ class TestPostScripts(infra.basetest.BRTest):
|
||||
os.path.join(self.builddir, "target"),
|
||||
os.path.join(self.builddir, "target"))
|
||||
self.check_post_log_file("post-fakeroot.log",
|
||||
os.path.join(self.builddir, "build/buildroot-fs/target"),
|
||||
os.path.join(self.builddir, "build/buildroot-fs/target"))
|
||||
os.path.join(self.builddir, "build/buildroot-fs/tar/target"),
|
||||
os.path.join(self.builddir, "build/buildroot-fs/tar/target"))
|
||||
self.check_post_log_file("post-image.log",
|
||||
os.path.join(self.builddir, "images"),
|
||||
os.path.join(self.builddir, "target"))
|
||||
|
||||
@@ -351,7 +351,7 @@ def gen_config(args):
|
||||
configlines += minimalf.readlines()
|
||||
|
||||
# Allow hosts with old certificates to download over https
|
||||
configlines.append("BR2_WGET=\"wget --passive-ftp -nd -t 3 --no-check-certificate\"")
|
||||
configlines.append("BR2_WGET=\"wget --passive-ftp -nd -t 3 --no-check-certificate\"\n")
|
||||
|
||||
# Amend the configuration with a few things.
|
||||
if randint(0, 20) == 0:
|
||||
|
||||
Reference in New Issue
Block a user