update buildroot to 2017.02.11
This commit is contained in:
20
bsp/buildroot-2017.02.11/package/lxc/Config.in
Normal file
20
bsp/buildroot-2017.02.11/package/lxc/Config.in
Normal file
@@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_LXC
|
||||
bool "lxc"
|
||||
select BR2_PACKAGE_LIBCAP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
# build system forcefully builds a shared library
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # setns() system call
|
||||
help
|
||||
Linux Containers (LXC), provides the ability to group and isolate
|
||||
of a set of processes in a jail by virtualizing and accounting the
|
||||
kernel resources. It is similar to Linux-Vserver or Openvz.
|
||||
|
||||
https://linuxcontainers.org/
|
||||
|
||||
comment "lxc needs a toolchain w/ threads, headers >= 3.0, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
|
||||
|| BR2_STATIC_LIBS
|
||||
2
bsp/buildroot-2017.02.11/package/lxc/lxc.hash
Normal file
2
bsp/buildroot-2017.02.11/package/lxc/lxc.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 1c09c075f06ec029f86fa6370c7d379494ff4c66a129eda17af7b7b41e055f5d lxc-2.0.7.tar.gz
|
||||
43
bsp/buildroot-2017.02.11/package/lxc/lxc.mk
Normal file
43
bsp/buildroot-2017.02.11/package/lxc/lxc.mk
Normal file
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
#
|
||||
# lxc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LXC_VERSION = 2.0.7
|
||||
LXC_SITE = https://linuxcontainers.org/downloads/lxc
|
||||
LXC_LICENSE = LGPLv2.1+
|
||||
LXC_LICENSE_FILES = COPYING
|
||||
LXC_DEPENDENCIES = libcap host-pkgconf
|
||||
LXC_INSTALL_STAGING = YES
|
||||
|
||||
LXC_CONF_OPTS = --disable-apparmor --with-distro=buildroot \
|
||||
--disable-python --disable-werror \
|
||||
$(if $(BR2_PACKAGE_BASH),,--disable-bash)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||
LXC_CONF_OPTS += --enable-gnutls
|
||||
LXC_DEPENDENCIES += gnutls
|
||||
else
|
||||
LXC_CONF_OPTS += --disable-gnutls
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
LXC_CONF_OPTS += --enable-seccomp
|
||||
LXC_DEPENDENCIES += libseccomp
|
||||
else
|
||||
LXC_CONF_OPTS += --disable-seccomp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_LUAINTERPRETER),y)
|
||||
LXC_CONF_OPTS += --enable-lua
|
||||
LXC_DEPENDENCIES += luainterpreter
|
||||
ifeq ($(BR2_PACKAGE_LUAJIT),y)
|
||||
# By default, lxc will only search for lua.pc
|
||||
LXC_CONF_OPTS += --with-lua-pc=luajit
|
||||
endif
|
||||
else
|
||||
LXC_CONF_OPTS += --disable-lua
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user