Initial Commit
- initial default booting image
This commit is contained in:
22
package/libcgroup/Config.in
Normal file
22
package/libcgroup/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_LIBCGROUP
|
||||
bool "libcgroup"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
|
||||
help
|
||||
libcgroup is a library that abstracts the control
|
||||
group file system in Linux.
|
||||
|
||||
http://libcg.sourceforge.net/
|
||||
|
||||
if BR2_PACKAGE_LIBCGROUP
|
||||
|
||||
config BR2_PACKAGE_LIBCGROUP_TOOLS
|
||||
bool "install tools"
|
||||
help
|
||||
Include a set of command-line tools for managing cgroups.
|
||||
|
||||
endif
|
||||
|
||||
comment "libcgroup needs a toolchain w/ C++, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
5
package/libcgroup/libcgroup.hash
Normal file
5
package/libcgroup/libcgroup.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From https://github.com/libcgroup/libcgroup/releases/download/v2.0.3/libcgroup-2.0.3.tar.gz.sha256
|
||||
sha256 b29b5704de3d0fadf199fe4e17eeeaecba7f0dd1b85569c96eec37c7672e3026 libcgroup-2.0.3.tar.gz
|
||||
|
||||
# Hash for license file
|
||||
sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING
|
||||
36
package/libcgroup/libcgroup.mk
Normal file
36
package/libcgroup/libcgroup.mk
Normal file
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# libcgroup
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBCGROUP_VERSION = 2.0.3
|
||||
LIBCGROUP_SITE = https://github.com/libcgroup/libcgroup/releases/download/v$(LIBCGROUP_VERSION)
|
||||
LIBCGROUP_LICENSE = LGPL-2.1
|
||||
LIBCGROUP_LICENSE_FILES = COPYING
|
||||
LIBCGROUP_CPE_ID_VALID = YES
|
||||
LIBCGROUP_DEPENDENCIES = host-bison host-flex
|
||||
LIBCGROUP_INSTALL_STAGING = YES
|
||||
|
||||
LIBCGROUP_CONF_OPTS = \
|
||||
--disable-daemon \
|
||||
--disable-initscript-install
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCGROUP_TOOLS),y)
|
||||
LIBCGROUP_CONF_OPTS += --enable-tools
|
||||
else
|
||||
LIBCGROUP_CONF_OPTS += --disable-tools
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
||||
LIBCGROUP_DEPENDENCIES += linux-pam
|
||||
LIBCGROUP_CONF_OPTS += --enable-pam
|
||||
else
|
||||
LIBCGROUP_CONF_OPTS += --disable-pam
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),)
|
||||
LIBCGROUP_DEPENDENCIES += musl-fts
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user