lxc: cleanup Makefile and outdated configure options
Added PKG_NO_MIPS16 as MIPS16 is no longer supported. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
50f17d3cf5
commit
4b9c819b02
1 changed files with 12 additions and 16 deletions
|
@ -16,13 +16,13 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://linuxcontainers.org/downloads/lxc/
|
PKG_SOURCE_URL:=https://linuxcontainers.org/downloads/lxc/
|
||||||
PKG_HASH:=ca336dcdf303fea5ff231d89a9b6278b061c4cffb14f0db0a71a15bdd95a5cb0
|
PKG_HASH:=ca336dcdf303fea5ff231d89a9b6278b061c4cffb14f0db0a71a15bdd95a5cb0
|
||||||
|
|
||||||
PKG_LICENSE:=LGPL-2.1-or-later BSD-2-Clause GPL-2.0
|
|
||||||
PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
|
PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
|
||||||
|
PKG_LICENSE:=LGPL-2.1-or-later BSD-2-Clause GPL-2.0
|
||||||
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
|
||||||
|
|
||||||
PKG_INSTALL:=1
|
|
||||||
PKG_FIXUP:=autoreconf
|
PKG_FIXUP:=autoreconf
|
||||||
|
PKG_INSTALL:=1
|
||||||
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
PKG_USE_MIPS16:=0
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
@ -134,23 +134,19 @@ define Package/lxc-init
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--disable-apparmor \
|
--disable-werror \
|
||||||
--disable-cgmanager \
|
--disable-rpath \
|
||||||
--disable-doc \
|
--disable-doc \
|
||||||
--disable-examples \
|
--disable-api-docs \
|
||||||
--disable-gnutls \
|
--disable-apparmor \
|
||||||
--disable-selinux \
|
--disable-selinux \
|
||||||
--disable-python
|
--$(if $(CONFIG_LXC_SECCOMP),en,dis)able-seccomp \
|
||||||
|
--enable-capabilities \
|
||||||
|
--disable-examples
|
||||||
|
|
||||||
TARGET_CFLAGS += -Wno-format-nonliteral
|
TARGET_CFLAGS += -minterlink-mips16
|
||||||
TARGET_LDFLAGS += -lgcc_eh
|
TARGET_LDFLAGS += -lgcc_eh
|
||||||
|
|
||||||
ifeq ($(CONFIG_LXC_SECCOMP),y)
|
|
||||||
CONFIGURE_ARGS += --enable-seccomp
|
|
||||||
else
|
|
||||||
CONFIGURE_ARGS += --disable-seccomp
|
|
||||||
endif
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include/lxc/
|
$(INSTALL_DIR) $(1)/usr/include/lxc/
|
||||||
$(CP) \
|
$(CP) \
|
||||||
|
|
Loading…
Reference in a new issue