update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
Do not force static link, it breaks build with
|
||||
# BR2_STATIC_LIBS is not set
|
||||
BR2_SHARED_LIBS=y
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
|
||||
diff -uNr libseccomp-2.2.0.org/tests/Makefile.am libseccomp-2.2.0/tests/Makefile.am
|
||||
--- libseccomp-2.2.0.org/tests/Makefile.am 2015-02-11 21:57:11.000000000 +0100
|
||||
+++ libseccomp-2.2.0/tests/Makefile.am 2015-03-29 16:03:49.668946652 +0200
|
||||
@@ -16,7 +16,6 @@
|
||||
# along with this library; if not, see <http://www.gnu.org/licenses>.
|
||||
#
|
||||
|
||||
-AM_LDFLAGS = -static
|
||||
LDADD = util.la ../src/libseccomp.la
|
||||
|
||||
check_LTLIBRARIES = util.la
|
||||
diff -uNr libseccomp-2.2.0.org/tools/Makefile.am libseccomp-2.2.0/tools/Makefile.am
|
||||
--- libseccomp-2.2.0.org/tools/Makefile.am 2015-02-11 21:57:11.000000000 +0100
|
||||
+++ libseccomp-2.2.0/tools/Makefile.am 2015-03-29 16:03:46.164992302 +0200
|
||||
@@ -33,8 +33,6 @@
|
||||
scmp_bpf_sim_SOURCES = scmp_bpf_sim.c bpf.h util.h
|
||||
|
||||
scmp_sys_resolver_LDADD = ../src/libseccomp.la
|
||||
-scmp_sys_resolver_LDFLAGS = -static
|
||||
scmp_arch_detect_LDADD = ../src/libseccomp.la
|
||||
-scmp_arch_detect_LDFLAGS = -static
|
||||
scmp_bpf_disasm_LDADD = util.la
|
||||
scmp_bpf_sim_LDADD = util.la
|
||||
22
bsp/buildroot-2017.02.11/package/libseccomp/Config.in
Normal file
22
bsp/buildroot-2017.02.11/package/libseccomp/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_LIBSECCOMP
|
||||
bool "libseccomp"
|
||||
depends on BR2_aarch64 || BR2_mips || BR2_mipsel || BR2_mips64 || \
|
||||
BR2_mips64el || BR2_i386 || BR2_x86_64 || BR2_powerpc64 || \
|
||||
BR2_powerpc
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
|
||||
help
|
||||
High level interface to the Linux Kernel's seccomp filter
|
||||
|
||||
The libseccomp library provides an easy to use, platform independent,
|
||||
interface to the Linux Kernel's syscall filtering mechanism: seccomp.
|
||||
The libseccomp API is designed to abstract away the underlying BPF
|
||||
based syscall filter language and present a more conventional
|
||||
function-call based filtering interface that should be familiar to,
|
||||
and easily adopted by application developers.
|
||||
|
||||
https://github.com/seccomp/libseccomp
|
||||
|
||||
comment "libseccomp needs a toolchain w/ headers >= 3.12"
|
||||
depends on BR2_aarch64 || BR2_mips || BR2_mipsel || BR2_mips64 || \
|
||||
BR2_mips64el || BR2_i386 || BR2_x86_64
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 09864282ae579c34bd5ef75ef3487200adfecaa51f5cffc7c7ad1ed2f89f5d6c libseccomp-v2.3.1.tar.gz
|
||||
20
bsp/buildroot-2017.02.11/package/libseccomp/libseccomp.mk
Normal file
20
bsp/buildroot-2017.02.11/package/libseccomp/libseccomp.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# libseccomp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBSECCOMP_VERSION = v2.3.1
|
||||
LIBSECCOMP_SITE = $(call github,seccomp,libseccomp,$(LIBSECCOMP_VERSION))
|
||||
LIBSECCOMP_LICENSE = LGPLv2.1
|
||||
LIBSECCOMP_LICENSE_FILES = LICENSE
|
||||
LIBSECCOMP_INSTALL_STAGING = YES
|
||||
LIBSECCOMP_AUTORECONF = YES
|
||||
|
||||
# Needed for autoreconf to work properly, see ./autogen.sh
|
||||
define LIBSECCOMP_FIXUP_M4_DIR
|
||||
mkdir $(@D)/m4
|
||||
endef
|
||||
LIBSECCOMP_POST_EXTRACT_HOOKS += LIBSECCOMP_FIXUP_M4_DIR
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user